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.00113/0.00113, allocations: 110.3 kB / 17.74 MB, free: 5.34 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.001007/0.001007, allocations: 189.4 kB / 18.67 MB, free: 4.418 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.357/1.357, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2788/0.2788, allocations: 48.84 MB / 320.7 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.001436/0.001436, allocations: 72.27 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 59.16 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.2729/0.3881, allocations: 44.07 MB / 0.5415 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.405, allocations: 15.48 MB / 0.5566 GB, free: 56 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.4055, allocations: 10.09 kB / 0.5566 GB, free: 52 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.4063, allocations: 195.3 kB / 0.5568 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006833/0.407, allocations: 258.5 kB / 0.557 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02122/0.4283, allocations: 6.604 MB / 0.5635 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.4295, allocations: 0.6652 MB / 0.5641 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.43, allocations: 243.1 kB / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.4305, allocations: 246.4 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.4308, allocations: 254.1 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.4309, allocations: 29.09 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02156/0.4524, allocations: 8.987 MB / 0.5736 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.4526, allocations: 86.61 kB / 0.5737 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.4531, allocations: 205.5 kB / 0.5739 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.4687, allocations: 5.238 MB / 0.579 GB, free: 4.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4688, allocations: 0 / 0.579 GB, free: 4.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4688, allocations: 2.75 kB / 0.579 GB, free: 4.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.4688, allocations: 0 / 0.579 GB, free: 4.43 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.005132/0.474, allocations: 1.288 MB / 0.5803 GB, free: 3.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.474, allocations: 15.33 kB / 0.5803 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.4743, allocations: 68.2 kB / 0.5804 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.4749, allocations: 334.2 kB / 0.5807 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.4749, allocations: 21.84 kB / 0.5807 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/0.475, allocations: 36.42 kB / 0.5807 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.4757, allocations: 388.1 kB / 0.5811 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.4757, allocations: 7 kB / 0.5811 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.4758, allocations: 14.53 kB / 0.5811 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4758, allocations: 7.219 kB / 0.5811 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.4764, allocations: 257 kB / 0.5814 GB, free: 2.73 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.001879/0.4783, allocations: 1.619 MB / 0.583 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.4789, allocations: 203.9 kB / 0.5832 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.4791, allocations: 66.48 kB / 0.5832 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1249/0.604, allocations: 64.26 MB / 0.646 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.6041, allocations: 34.56 kB / 0.646 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 3.957e-06/0.6041, allocations: 1.875 kB / 0.646 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17): time 0.001441/0.6055, allocations: 470.7 kB / 0.6465 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.6056, allocations: 55.41 kB / 0.6465 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.606, allocations: 361.6 kB / 0.6468 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.606, allocations: 29.7 kB / 0.6469 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.6062, allocations: 204 kB / 0.6471 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.6063, allocations: 63.09 kB / 0.6471 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.6064, allocations: 57.61 kB / 0.6472 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6065, allocations: 342.8 kB / 0.6475 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.6067, allocations: 64.83 kB / 0.6476 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.6069, allocations: 106.8 kB / 0.6477 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.6072, allocations: 185.6 kB / 0.6479 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6072, allocations: 0 / 0.6479 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000583/0.6078, allocations: 306.6 kB / 0.6481 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6078, allocations: 11.94 kB / 0.6482 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.6078, allocations: 0 / 0.6482 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/0.6082, allocations: 77.66 kB / 0.6482 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.6084, allocations: 44.8 kB / 0.6483 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.6101, allocations: 2 MB / 0.6502 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.6103, allocations: 31.67 kB / 0.6503 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.6103, allocations: 12 kB / 0.6503 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002187/0.6105, allocations: 164.1 kB / 0.6504 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001444/0.6107, allocations: 110 kB / 0.6505 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002679/0.611, allocations: 173.7 kB / 0.6507 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.611, allocations: 4 kB / 0.6507 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005482/0.6115, allocations: 294.7 kB / 0.651 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.6115, allocations: 8 kB / 0.651 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.6116, allocations: 6.609 kB / 0.651 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.6119, allocations: 73.86 kB / 0.6511 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.612, allocations: 51.84 kB / 0.6511 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.6135, allocations: 1.99 MB / 0.6531 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.6137, allocations: 15.84 kB / 0.6531 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.6137, allocations: 16.12 kB / 0.6531 GB, free: 3.34 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.0001577/0.6139, allocations: 200.1 kB / 0.6533 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.6139, allocations: 31.62 kB / 0.6533 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.615, allocations: 0.8262 MB / 0.6541 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.615, allocations: 4 kB / 0.6541 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.615, allocations: 4 kB / 0.6541 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.6151, allocations: 124.4 kB / 0.6542 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6151, allocations: 4 kB / 0.6542 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.6153, allocations: 11.98 kB / 0.6543 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.6154, allocations: 13.86 kB / 0.6543 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008026/0.6162, allocations: 0.5056 MB / 0.6548 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007924/0.617, allocations: 0.7486 MB / 0.6555 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002194/0.6172, allocations: 176.5 kB / 0.6557 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002661/0.6175, allocations: 255.2 kB / 0.6559 GB, free: 400 kB / 0.4981 GB Notification: Performance of Backend: time 6.31e-07/0.6175, allocations: 0 / 0.6559 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.011/0.6285, allocations: 2.088 MB / 0.6579 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002119/0.6307, allocations: 1.515 MB / 0.6594 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.07013/0.7008, allocations: 54.68 MB / 0.7128 GB, free: 5.949 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)