Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 110.3 kB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 185.4 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2923/0.2923, allocations: 48.85 MB / 320.8 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001604, allocations: 67.91 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1144, allocations: 59.17 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.3002/0.4147, allocations: 44.06 MB / 0.5415 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01979/0.4345, allocations: 15.47 MB / 0.5566 GB, free: 72 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.435, allocations: 5.531 kB / 0.5566 GB, free: 72 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.4358, allocations: 197.4 kB / 0.5568 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005902/0.4365, allocations: 257.5 kB / 0.557 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02677/0.4632, allocations: 6.615 MB / 0.5635 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.4648, allocations: 0.6557 MB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.4653, allocations: 253.4 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.4657, allocations: 250.5 kB / 0.5646 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.4661, allocations: 254.2 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.4662, allocations: 27.94 kB / 0.5649 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02232/0.4885, allocations: 8.996 MB / 0.5737 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.4887, allocations: 70.7 kB / 0.5737 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004996/0.4892, allocations: 208.1 kB / 0.5739 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0189/0.5081, allocations: 5.258 MB / 0.5791 GB, free: 4.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5082, allocations: 0 / 0.5791 GB, free: 4.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5082, allocations: 4 kB / 0.5791 GB, free: 4.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.5082, allocations: 2.125 kB / 0.5791 GB, free: 4.434 MB / 430.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.005612/0.5139, allocations: 1.324 MB / 0.5804 GB, free: 3.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.5139, allocations: 13.52 kB / 0.5804 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.5142, allocations: 69.62 kB / 0.5804 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.5148, allocations: 341.9 kB / 0.5808 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.5148, allocations: 24.22 kB / 0.5808 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.5149, allocations: 30.72 kB / 0.5808 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.5157, allocations: 386.6 kB / 0.5812 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.5157, allocations: 4.094 kB / 0.5812 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.5157, allocations: 10.41 kB / 0.5812 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.5158, allocations: 11 kB / 0.5812 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.5164, allocations: 253.5 kB / 0.5814 GB, free: 2.695 MB / 430.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.001871/0.5182, allocations: 1.619 MB / 0.583 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.519, allocations: 217.7 kB / 0.5832 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.5191, allocations: 68.36 kB / 0.5833 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1277/0.6468, allocations: 64.26 MB / 0.646 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/0.6469, allocations: 46.5 kB / 0.6461 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 5.24e-06/0.647, allocations: 0 / 0.6461 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17): time 0.001624/0.6486, allocations: 462.9 kB / 0.6465 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.6486, allocations: 51.41 kB / 0.6466 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.6491, allocations: 357.7 kB / 0.6469 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.6492, allocations: 29.7 kB / 0.647 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.6493, allocations: 212.2 kB / 0.6472 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/0.6494, allocations: 67.44 kB / 0.6472 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.6495, allocations: 49.7 kB / 0.6473 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6496, allocations: 346.8 kB / 0.6476 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.6498, allocations: 68.7 kB / 0.6477 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.65, allocations: 110 kB / 0.6478 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.6503, allocations: 181.6 kB / 0.6479 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6503, allocations: 3.938 kB / 0.6479 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006848/0.651, allocations: 298.9 kB / 0.6482 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.651, allocations: 12.03 kB / 0.6482 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.651, allocations: 0 / 0.6482 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.6515, allocations: 81.59 kB / 0.6483 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.6517, allocations: 44.84 kB / 0.6484 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.6533, allocations: 2.002 MB / 0.6503 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.6535, allocations: 27.78 kB / 0.6503 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.6536, allocations: 12 kB / 0.6504 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002266/0.6538, allocations: 164.1 kB / 0.6505 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001589/0.654, allocations: 110 kB / 0.6506 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002763/0.6543, allocations: 169.9 kB / 0.6508 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.6543, allocations: 0 / 0.6508 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005993/0.6549, allocations: 306.8 kB / 0.6511 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.6549, allocations: 8 kB / 0.6511 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.6549, allocations: 2.812 kB / 0.6511 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.6552, allocations: 81.84 kB / 0.6512 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.6554, allocations: 47.86 kB / 0.6512 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.657, allocations: 1.999 MB / 0.6532 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.6572, allocations: 15.89 kB / 0.6532 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.6572, allocations: 8 kB / 0.6532 GB, free: 3.27 MB / 0.4981 GB 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.0001457/0.6574, allocations: 204.2 kB / 0.6534 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.6575, allocations: 39.77 kB / 0.6534 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.6585, allocations: 0.8185 MB / 0.6542 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.6586, allocations: 3.984 kB / 0.6542 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6586, allocations: 0 / 0.6542 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.6587, allocations: 136.6 kB / 0.6543 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.6588, allocations: 8 kB / 0.6544 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.659, allocations: 4 kB / 0.6544 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.659, allocations: 15.92 kB / 0.6544 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008712/0.6599, allocations: 0.5019 MB / 0.6549 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000831/0.6607, allocations: 0.7546 MB / 0.6556 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002246/0.661, allocations: 180.5 kB / 0.6558 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003177/0.6613, allocations: 251.2 kB / 0.656 GB, free: 312 kB / 0.4981 GB Notification: Performance of Backend: time 9.82e-07/0.6613, allocations: 0 / 0.656 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01021/0.6715, allocations: 2.088 MB / 0.658 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002071/0.6736, allocations: 1.551 MB / 0.6596 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.07217/0.7458, allocations: 54.43 MB / 0.7127 GB, free: 6.082 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)