Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.conf.json 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.001606/0.001606, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001461/0.001461, allocations: 209.2 kB / 24.48 MB, free: 3.863 MB / 14.72 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.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1507/0.1507, allocations: 26.84 MB / 341.5 MB, free: 7.977 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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) Running command: translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: ThermoPower 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: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 71.89 kB / 478 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3146, allocations: 60.48 MB / 0.5259 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04713/0.3617, allocations: 40.57 MB / 0.5655 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02082/0.3826, allocations: 13.64 MB / 0.5788 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.383, allocations: 11.94 kB / 0.5789 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.3839, allocations: 186.6 kB / 0.579 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008095/0.3847, allocations: 254.4 kB / 0.5793 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01945/0.4041, allocations: 6.606 MB / 0.5857 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.4052, allocations: 0.6648 MB / 0.5864 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.4057, allocations: 199.6 kB / 0.5866 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/0.4062, allocations: 258.9 kB / 0.5868 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.4066, allocations: 234.8 kB / 0.587 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.4066, allocations: 32 kB / 0.5871 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01685/0.4235, allocations: 8.626 MB / 0.5955 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.4236, allocations: 83.61 kB / 0.5956 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.4239, allocations: 171.2 kB / 0.5957 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.4354, allocations: 5.257 MB / 0.6009 GB, free: 7.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4354, allocations: 0 / 0.6009 GB, free: 7.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4354, allocations: 0 / 0.6009 GB, free: 7.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4354, allocations: 0 / 0.6009 GB, free: 7.883 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00355/0.439, allocations: 1.257 MB / 0.6021 GB, free: 6.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.439, allocations: 11.97 kB / 0.6021 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.4393, allocations: 76.56 kB / 0.6022 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.4399, allocations: 266.4 kB / 0.6024 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.4399, allocations: 25.03 kB / 0.6025 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.44, allocations: 40.02 kB / 0.6025 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.4408, allocations: 406.1 kB / 0.6029 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4408, allocations: 4 kB / 0.6029 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.4409, allocations: 12 kB / 0.6029 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.4409, allocations: 8 kB / 0.6029 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.4415, allocations: 258.3 kB / 0.6032 GB, free: 5.449 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.4433, allocations: 1.203 MB / 0.6043 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.4439, allocations: 198.3 kB / 0.6045 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.4441, allocations: 67.64 kB / 0.6046 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1265/0.5706, allocations: 35.1 MB / 0.6389 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.5706, allocations: 30.56 kB / 0.6389 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.355e-06/0.5706, allocations: 0 / 0.6389 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.001462/0.5721, allocations: 386.2 kB / 0.6393 GB, free: 356 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.5721, allocations: 55.39 kB / 0.6393 GB, free: 288 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.5726, allocations: 288.6 kB / 0.6396 GB, free: 15.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.5726, allocations: 29.7 kB / 0.6396 GB, free: 15.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.5728, allocations: 224.3 kB / 0.6398 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.5729, allocations: 67.42 kB / 0.6399 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.573, allocations: 45.7 kB / 0.6399 GB, free: 15.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.5731, allocations: 342.8 kB / 0.6403 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.5733, allocations: 64.83 kB / 0.6403 GB, free: 15.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.5735, allocations: 114.5 kB / 0.6404 GB, free: 15.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.5738, allocations: 176.7 kB / 0.6406 GB, free: 14.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5738, allocations: 0 / 0.6406 GB, free: 14.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006522/0.5745, allocations: 294.7 kB / 0.6409 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.5745, allocations: 8 kB / 0.6409 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.5745, allocations: 0 / 0.6409 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.5749, allocations: 81.84 kB / 0.641 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.5751, allocations: 47.92 kB / 0.641 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.5769, allocations: 1.864 MB / 0.6428 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.5771, allocations: 19.83 kB / 0.6429 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.5772, allocations: 12 kB / 0.6429 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002722/0.5774, allocations: 164.2 kB / 0.643 GB, free: 12.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001818/0.5776, allocations: 114 kB / 0.6431 GB, free: 12.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002873/0.5779, allocations: 168 kB / 0.6433 GB, free: 11.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.5779, allocations: 0 / 0.6433 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006112/0.5785, allocations: 302.7 kB / 0.6436 GB, free: 11.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.5785, allocations: 8 kB / 0.6436 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.5785, allocations: 0 / 0.6436 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/0.5788, allocations: 77.66 kB / 0.6437 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.579, allocations: 48.11 kB / 0.6437 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.5808, allocations: 1.884 MB / 0.6455 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.5809, allocations: 11.95 kB / 0.6456 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.581, allocations: 8 kB / 0.6456 GB, free: 9.457 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.5811, allocations: 207 kB / 0.6458 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.5812, allocations: 35.81 kB / 0.6458 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.5823, allocations: 0.8425 MB / 0.6466 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.5824, allocations: 15.92 kB / 0.6466 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5824, allocations: 0 / 0.6466 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5824, allocations: 0 / 0.6466 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.5829, allocations: 463.2 kB / 0.6471 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5829, allocations: 0 / 0.6471 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.5831, allocations: 35.98 kB / 0.6471 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.5832, allocations: 32.78 kB / 0.6471 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.5833, allocations: 4 kB / 0.6471 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.5844, allocations: 1.245 MB / 0.6484 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5844, allocations: 48 / 0.6484 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.5855, allocations: 0.8366 MB / 0.6492 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.5856, allocations: 47.59 kB / 0.6492 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.5857, allocations: 4 kB / 0.6492 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.5858, allocations: 12.03 kB / 0.6492 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.5859, allocations: 19.97 kB / 0.6493 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.5859, allocations: 7.938 kB / 0.6493 GB, free: 5.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.5861, allocations: 203.1 kB / 0.6495 GB, free: 5.297 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5861, allocations: 0 / 0.6495 GB, free: 5.297 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004144/0.5903, allocations: 1.38 MB / 0.6508 GB, free: 3.914 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006374/0.5966, allocations: 1.422 MB / 0.6522 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.598, allocations: 0.6027 MB / 0.6528 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.598, allocations: 0 / 0.6528 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.5984, allocations: 271.2 kB / 0.653 GB, free: 1.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008629/0.5993, allocations: 131.1 kB / 0.6532 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.6015, allocations: 1.198 MB / 0.6543 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.6017, allocations: 233.5 kB / 0.6546 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/0.6018, allocations: 31.42 kB / 0.6546 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.6018, allocations: 0 / 0.6546 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.0459/0.6477, allocations: 29.21 MB / 0.6831 GB, free: 2.691 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.246118206065148] Failed to read output from testmodel.py, exit status != 0: 0.6582424230873585 0.6730157560000001 0.23417268000000002 Calling exit ...