Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 105.2 kB / 17.74 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.001192/0.001192, allocations: 186.5 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.43/1.43, 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.3016/0.3016, allocations: 48.85 MB / 320.8 MB, free: 11.01 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.001453/0.001453, allocations: 67.91 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1238, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3533/0.4771, allocations: 107.3 MB / 0.6032 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.4914, allocations: 11.56 MB / 0.6145 GB, free: 2.492 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.4925, allocations: 25.09 kB / 0.6145 GB, free: 2.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.494, allocations: 0.5536 MB / 0.6151 GB, free: 1.996 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.4953, allocations: 0.627 MB / 0.6157 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01504/0.5104, allocations: 5.668 MB / 0.6212 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003072/0.5135, allocations: 1.654 MB / 0.6228 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009437/0.5144, allocations: 0.6299 MB / 0.6235 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009235/0.5154, allocations: 0.6578 MB / 0.6241 GB, free: 9.438 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/0.5162, allocations: 0.6224 MB / 0.6247 GB, free: 8.812 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.5163, allocations: 64 kB / 0.6248 GB, free: 8.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.5286, allocations: 6.431 MB / 0.6311 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.5289, allocations: 163.4 kB / 0.6312 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006027/0.5295, allocations: 426 kB / 0.6316 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.5415, allocations: 4.314 MB / 0.6358 GB, free: 13.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5416, allocations: 0 / 0.6358 GB, free: 13.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5416, allocations: 4 kB / 0.6358 GB, free: 13.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.5416, allocations: 4 kB / 0.6358 GB, free: 13.4 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.004088/0.5457, allocations: 1.583 MB / 0.6374 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5458, allocations: 11.89 kB / 0.6374 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.5461, allocations: 116.3 kB / 0.6375 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007634/0.5469, allocations: 0.4901 MB / 0.638 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.5469, allocations: 45.69 kB / 0.638 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.547, allocations: 60.56 kB / 0.6381 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.5486, allocations: 0.8217 MB / 0.6389 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.5486, allocations: 0 / 0.6389 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.5487, allocations: 31.98 kB / 0.6389 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.5487, allocations: 16 kB / 0.6389 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.5502, allocations: 0.5879 MB / 0.6395 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.554, allocations: 4.395 MB / 0.6438 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.5555, allocations: 496.8 kB / 0.6443 GB, free: 4.141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.5559, allocations: 177.6 kB / 0.6444 GB, free: 3.961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06623/0.6221, allocations: 32.13 MB / 0.6758 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.6222, allocations: 42.56 kB / 0.6759 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.755e-06/0.6222, allocations: 0 / 0.6759 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002294/0.6245, allocations: 0.6942 MB / 0.6765 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.6246, allocations: 81.11 kB / 0.6766 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.6252, allocations: 475 kB / 0.6771 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.6253, allocations: 29.7 kB / 0.6771 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.6255, allocations: 344.2 kB / 0.6774 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.6256, allocations: 118.9 kB / 0.6775 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.6258, allocations: 70.02 kB / 0.6776 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6259, allocations: 362.8 kB / 0.6779 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.6263, allocations: 134.1 kB / 0.6781 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.6267, allocations: 201.8 kB / 0.6783 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/0.6274, allocations: 338 kB / 0.6786 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6274, allocations: 0 / 0.6786 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009481/0.6284, allocations: 429.1 kB / 0.679 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6284, allocations: 8.031 kB / 0.679 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6284, allocations: 7.938 kB / 0.679 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.6285, allocations: 9.875 kB / 0.679 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.6289, allocations: 87.88 kB / 0.6791 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.6289, allocations: 11.92 kB / 0.6791 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.6293, allocations: 47.66 kB / 0.6792 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.6294, allocations: 19.98 kB / 0.6792 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003605/0.6297, allocations: 228.7 kB / 0.6794 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002533/0.63, allocations: 175.4 kB / 0.6796 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004855/0.6305, allocations: 310.9 kB / 0.6799 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.479e-05/0.6305, allocations: 7.938 kB / 0.6799 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006884/0.6312, allocations: 369.2 kB / 0.6802 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6312, allocations: 11.91 kB / 0.6802 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6313, allocations: 4 kB / 0.6802 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.6313, allocations: 4 kB / 0.6802 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.6316, allocations: 92.16 kB / 0.6803 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.6317, allocations: 11.94 kB / 0.6803 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.6319, allocations: 35.83 kB / 0.6804 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.632, allocations: 12 kB / 0.6804 GB, free: 11.09 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.6322, allocations: 204.3 kB / 0.6806 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.6324, allocations: 59.62 kB / 0.6806 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.6347, allocations: 1.574 MB / 0.6822 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.6347, allocations: 7.922 kB / 0.6822 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.6347, allocations: 0 / 0.6822 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.6349, allocations: 197.1 kB / 0.6824 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/0.635, allocations: 8 kB / 0.6824 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.6354, allocations: 15.97 kB / 0.6824 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.6355, allocations: 43.91 kB / 0.6824 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001564/0.6371, allocations: 0.9643 MB / 0.6834 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001309/0.6384, allocations: 1.062 MB / 0.6844 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005686/0.639, allocations: 397 kB / 0.6848 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003373/0.6393, allocations: 326.9 kB / 0.6851 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of Backend: time 5.51e-07/0.6393, allocations: 0 / 0.6851 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006462/0.6458, allocations: 1.613 MB / 0.6867 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002874/0.6487, allocations: 1.791 MB / 0.6884 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of Templates: time 0.06108/0.7098, allocations: 42.5 MB / 0.7299 GB, free: 8.172 MB / 0.5762 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1)