Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.02475/0.02475, allocations: 1.796 MB / 21.15 MB, free: 3.246 MB / 18.57 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.001798/0.001798, allocations: 79.88 kB / 24.89 MB, free: 6.297 MB / 18.57 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.00191/0.00191, allocations: 164.8 kB / 28.74 MB, free: 3.504 MB / 18.57 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.498/1.498, allocations: 177.2 MB / 209.6 MB, free: 2.402 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.12/1.12, allocations: 102.5 MB / 369.1 MB, free: 0.9023 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 469.1 MB, free: 13 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.431e-05, allocations: 6.25 kB / 469.2 MB, free: 12.99 MB / 442.8 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.1974/0.1974, allocations: 59.75 MB / 0.5165 GB, free: 1.188 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2756/0.473, allocations: 17.86 MB / 0.534 GB, free: 66.73 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.4759, allocations: 59.22 kB / 0.534 GB, free: 66.71 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.003976/0.4799, allocations: 1.3 MB / 0.5353 GB, free: 66.13 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004948/0.4848, allocations: 1.544 MB / 0.5368 GB, free: 65.24 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006251/0.4911, allocations: 2.105 MB / 0.5388 GB, free: 64.18 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.005769/0.4968, allocations: 3.52 MB / 0.5423 GB, free: 62.43 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002667/0.4995, allocations: 1.239 MB / 0.5435 GB, free: 61.63 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003634/0.5031, allocations: 1.908 MB / 0.5454 GB, free: 60.8 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.5062, allocations: 1.375 MB / 0.5467 GB, free: 60.37 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0007381/0.507, allocations: 249.1 kB / 0.5469 GB, free: 60.37 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005149/0.5121, allocations: 1.702 MB / 0.5486 GB, free: 59.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.5133, allocations: 0.8201 MB / 0.5494 GB, free: 59.41 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.515, allocations: 0.8633 MB / 0.5502 GB, free: 58.99 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.5273, allocations: 4.953 MB / 0.5551 GB, free: 57.17 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5273, allocations: 2.312 kB / 0.5551 GB, free: 57.17 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5273, allocations: 0 / 0.5551 GB, free: 57.17 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001629/0.5274, allocations: 0 / 0.5551 GB, free: 57.17 MB / 490.8 MB 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.01154/0.539, allocations: 4.549 MB / 0.5595 GB, free: 54.39 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.539, allocations: 8.562 kB / 0.5595 GB, free: 54.39 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.5407, allocations: 0.5147 MB / 0.56 GB, free: 54.16 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00665/0.5473, allocations: 2.592 MB / 0.5626 GB, free: 52.8 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.5475, allocations: 117.7 kB / 0.5627 GB, free: 52.74 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.5477, allocations: 160.5 kB / 0.5628 GB, free: 52.69 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005759/0.5535, allocations: 3.15 MB / 0.5659 GB, free: 50.14 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.298e-05/0.5535, allocations: 13.94 kB / 0.5659 GB, free: 50.13 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.5537, allocations: 69.62 kB / 0.566 GB, free: 50.09 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.5537, allocations: 44.94 kB / 0.566 GB, free: 50.09 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004869/0.5586, allocations: 1.866 MB / 0.5678 GB, free: 49.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.5716, allocations: 15.45 MB / 0.5829 GB, free: 35.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/0.5759, allocations: 1.837 MB / 0.5847 GB, free: 34.21 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.5771, allocations: 0.6902 MB / 0.5854 GB, free: 33.62 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.5774, allocations: 87.58 kB / 0.5855 GB, free: 33.54 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003153/0.5805, allocations: 1.639 MB / 0.5871 GB, free: 31.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 4.989e-06/0.5805, allocations: 0 / 0.5871 GB, free: 31.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.02152/0.6021, allocations: 13.08 MB / 0.5999 GB, free: 18.54 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.6022, allocations: 0.6462 MB / 0.6005 GB, free: 17.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/0.6054, allocations: 2.764 MB / 0.6032 GB, free: 14.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000401/0.6058, allocations: 57.69 kB / 0.6032 GB, free: 14.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008346/0.6067, allocations: 1.351 MB / 0.6046 GB, free: 13.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/0.6073, allocations: 0.8292 MB / 0.6054 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007206/0.608, allocations: 0.5965 MB / 0.606 GB, free: 12.11 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.6081, allocations: 480.8 kB / 0.6064 GB, free: 11.63 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.6094, allocations: 0.7711 MB / 0.6072 GB, free: 10.85 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.6113, allocations: 1.923 MB / 0.6091 GB, free: 8.461 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004316/0.6156, allocations: 3.387 MB / 0.6124 GB, free: 4.656 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.6156, allocations: 8 kB / 0.6124 GB, free: 4.648 MB / 490.8 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006017/0.6216, allocations: 3.069 MB / 0.6154 GB, free: 1.57 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/0.6217, allocations: 80.17 kB / 0.6154 GB, free: 1.48 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004796/0.6265, allocations: 2.103 MB / 0.6175 GB, free: 15.35 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.6282, allocations: 329.5 kB / 0.6178 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.6304, allocations: 0.5576 MB / 0.6184 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.645, allocations: 7.824 MB / 0.626 GB, free: 6.344 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.6474, allocations: 112.5 kB / 0.6261 GB, free: 6.234 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006015/0.648, allocations: 147.9 kB / 0.6262 GB, free: 6.09 MB / 0.4949 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.003737/0.6518, allocations: 1.103 MB / 0.6273 GB, free: 4.969 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003483/0.6552, allocations: 1.902 MB / 0.6292 GB, free: 2.609 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007353/0.6626, allocations: 3.367 MB / 0.6325 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.292e-05/0.6626, allocations: 6.656 kB / 0.6325 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.008564/0.6712, allocations: 3.016 MB / 0.6354 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.6713, allocations: 79.39 kB / 0.6355 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005381/0.6767, allocations: 2.053 MB / 0.6375 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.6781, allocations: 305.2 kB / 0.6378 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.6803, allocations: 0.546 MB / 0.6383 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.6948, allocations: 7.685 MB / 0.6458 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/0.6972, allocations: 103.8 kB / 0.6459 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005596/0.6978, allocations: 149.3 kB / 0.6461 GB, free: 0.543 MB / 0.5105 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.001184/0.6989, allocations: 0.4925 MB / 0.6465 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/0.7002, allocations: 346.1 kB / 0.6469 GB, free: 15.69 MB / 0.5262 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.005881/0.7061, allocations: 2.151 MB / 0.649 GB, free: 13.61 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.726567222038284]