Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.0165/0.0165, allocations: 1.348 MB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 77.28 kB / 24.02 MB, free: 2.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 156 kB / 27.71 MB, free: 3.859 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 177.2 MB / 208.4 MB, free: 7.672 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.051/1.051, allocations: 102.5 MB / 367.7 MB, free: 4.574 MB / 334.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.5365 GB, free: 7.105 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.793e-05/4.01e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.102 MB / 446.1 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump): time 0.2351/0.2352, allocations: 58.46 MB / 0.5936 GB, free: 15.14 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03629/0.2714, allocations: 17.24 MB / 0.6104 GB, free: 13.84 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003099/0.2745, allocations: 55.62 kB / 0.6104 GB, free: 13.78 MB / 0.5138 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.005082/0.2796, allocations: 1.301 MB / 0.6117 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.2861, allocations: 1.537 MB / 0.6132 GB, free: 10.93 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0076/0.2937, allocations: 2.107 MB / 0.6153 GB, free: 8.812 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.008019/0.3017, allocations: 3.533 MB / 0.6187 GB, free: 5.27 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/0.3053, allocations: 1.164 MB / 0.6199 GB, free: 4.074 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007122/0.3124, allocations: 1.913 MB / 0.6217 GB, free: 2.156 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.3165, allocations: 1.372 MB / 0.6231 GB, free: 0.7852 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.318, allocations: 252 kB / 0.6233 GB, free: 0.5391 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006617/0.3246, allocations: 1.699 MB / 0.625 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.3264, allocations: 0.8173 MB / 0.6258 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002988/0.3294, allocations: 0.8646 MB / 0.6266 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.3421, allocations: 4.918 MB / 0.6314 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3421, allocations: 0 / 0.6314 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3421, allocations: 0 / 0.6314 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001992/0.3423, allocations: 4 kB / 0.6314 GB, free: 8.211 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.01355/0.3558, allocations: 3.895 MB / 0.6352 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.3559, allocations: 8.031 kB / 0.6352 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.3579, allocations: 410.6 kB / 0.6356 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007837/0.3657, allocations: 2.86 MB / 0.6384 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.3659, allocations: 115.3 kB / 0.6385 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006275/0.3666, allocations: 148.3 kB / 0.6387 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008056/0.3746, allocations: 2.87 MB / 0.6415 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-05/0.3747, allocations: 15.81 kB / 0.6415 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/0.375, allocations: 72 kB / 0.6416 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/0.3751, allocations: 44 kB / 0.6416 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006521/0.3816, allocations: 1.967 MB / 0.6435 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.3991, allocations: 10.67 MB / 0.6539 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/0.4052, allocations: 1.785 MB / 0.6557 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/0.4072, allocations: 0.7208 MB / 0.6564 GB, free: 13.59 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003829/0.4076, allocations: 80.89 kB / 0.6565 GB, free: 13.51 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004699/0.4123, allocations: 1.535 MB / 0.658 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=225): time 9.007e-06/0.4123, allocations: 4 kB / 0.658 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=229): time 0.03197/0.4443, allocations: 13.31 MB / 0.671 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004873/0.4447, allocations: 0.6424 MB / 0.6716 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004953/0.4497, allocations: 2.355 MB / 0.6739 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0005083/0.4502, allocations: 57.69 kB / 0.674 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.4516, allocations: 1.124 MB / 0.675 GB, free: 10.03 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.4529, allocations: 0.7706 MB / 0.6758 GB, free: 9.254 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.4544, allocations: 0.493 MB / 0.6763 GB, free: 8.754 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4546, allocations: 305.1 kB / 0.6766 GB, free: 8.453 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/0.4567, allocations: 0.8494 MB / 0.6774 GB, free: 7.59 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.4597, allocations: 1.617 MB / 0.679 GB, free: 5.633 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1225/0.5822, allocations: 15.03 MB / 0.6937 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-05/0.5822, allocations: 4 kB / 0.6937 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008869/0.5911, allocations: 3.14 MB / 0.6967 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.614e-05/0.5912, allocations: 79.39 kB / 0.6968 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006172/0.5973, allocations: 2.297 MB / 0.699 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.5987, allocations: 282.2 kB / 0.6993 GB, free: 352 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3487/0.9473, allocations: 0.5482 MB / 0.6998 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.9605, allocations: 6.088 MB / 0.7058 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.9632, allocations: 112.2 kB / 0.7059 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004976/0.9637, allocations: 144.5 kB / 0.706 GB, free: 128.6 MB / 0.5919 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003475/0.9672, allocations: 1.322 MB / 0.7073 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002433/0.9696, allocations: 1.61 MB / 0.7089 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1156/1.085, allocations: 14.98 MB / 0.7235 GB, free: 122.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.509e-05/1.085, allocations: 6.062 kB / 0.7235 GB, free: 122.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.0079/1.093, allocations: 3.061 MB / 0.7265 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/1.093, allocations: 85.8 kB / 0.7266 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004779/1.098, allocations: 2.21 MB / 0.7288 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/1.099, allocations: 260.8 kB / 0.729 GB, free: 119.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/1.101, allocations: 0.5499 MB / 0.7296 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/1.111, allocations: 5.916 MB / 0.7353 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/1.114, allocations: 108.9 kB / 0.7354 GB, free: 112.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000606/1.114, allocations: 143.9 kB / 0.7356 GB, free: 112.3 MB / 0.5919 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.PID.time_lag_I_activation.entryTime,$PRE.PID.switch_OnOff.u2,PID.I_activation.y,PID.time_lag_I_activation.entryTime,PID.switch_OnOff.u2,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,ramp.nextEventScaled,ramp.nextEvent,$PRE.ramp.nextEvent,ramp.last,ramp.b,ramp.a,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001273/1.116, allocations: 417 kB / 0.736 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009926/1.117, allocations: 297.1 kB / 0.7362 GB, free: 111.8 MB / 0.5919 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 254 equation(s) and 246 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump.summary.inlet.steamQuality, pump.fluidIn.cp, pump.fluidIn.cv, pump.fluidIn.beta, pump.fluidIn.kappa, pump.fluidIn.drhodp_hxi, pump.fluidIn.drhodh_pxi, _, pump.fluidIn.w, pump.fluidIn.gamma) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) has size 9 but 7 variables ($whenCondition1, ramp.a, ramp.b, ramp.last, ramp.nextEvent, ramp.nextEventScaled, ramp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/1.121, allocations: 2.246 MB / 0.7384 GB, free: 109.7 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.982170280069113] Failed to read output from testmodel.py, exit status != 0: 1.2853466495871544 1.294998314 0.950272111 Calling exit ...