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.001138/0.001138, allocations: 111.8 kB / 17.06 MB, free: 5.992 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.00123/0.00123, allocations: 196 kB / 18 MB, free: 5.074 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.463/1.463, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2758/0.2758, allocations: 48.85 MB / 320.1 MB, free: 11 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.001615/0.001615, allocations: 71.89 kB / 450.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1067, allocations: 59.16 MB / 0.4978 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3162/0.4229, allocations: 107.3 MB / 0.6026 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.4372, allocations: 11.56 MB / 0.6139 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000928/0.4382, allocations: 19.25 kB / 0.6139 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.4397, allocations: 0.5591 MB / 0.6144 GB, free: 1.797 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.441, allocations: 0.6211 MB / 0.615 GB, free: 1.273 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01576/0.4568, allocations: 5.654 MB / 0.6205 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002736/0.4595, allocations: 1.65 MB / 0.6222 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.4605, allocations: 0.6295 MB / 0.6228 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.4617, allocations: 0.646 MB / 0.6234 GB, free: 9.359 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/0.4624, allocations: 0.6224 MB / 0.624 GB, free: 8.734 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.4625, allocations: 64 kB / 0.6241 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.4743, allocations: 6.447 MB / 0.6304 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.4746, allocations: 155.5 kB / 0.6305 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004929/0.4751, allocations: 426 kB / 0.6309 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006938/0.482, allocations: 4.314 MB / 0.6351 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.482, allocations: 4 kB / 0.6351 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.482, allocations: 0 / 0.6351 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.4821, allocations: 0 / 0.6351 GB, free: 13.32 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.003337/0.4854, allocations: 1.583 MB / 0.6367 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4855, allocations: 15.88 kB / 0.6367 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.4858, allocations: 117.5 kB / 0.6368 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.4864, allocations: 497.8 kB / 0.6373 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.4865, allocations: 45.69 kB / 0.6373 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.4866, allocations: 64.56 kB / 0.6374 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.4882, allocations: 0.8101 MB / 0.6382 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.4882, allocations: 3.938 kB / 0.6382 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.4882, allocations: 32 kB / 0.6382 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.4883, allocations: 16 kB / 0.6382 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.4897, allocations: 0.5827 MB / 0.6388 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.4934, allocations: 4.406 MB / 0.6431 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.4948, allocations: 496.7 kB / 0.6436 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.4952, allocations: 177.6 kB / 0.6437 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06458/0.5598, allocations: 32.12 MB / 0.6751 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.5599, allocations: 42.56 kB / 0.6752 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.5599, allocations: 0 / 0.6752 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002358/0.5623, allocations: 0.6979 MB / 0.6758 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.5623, allocations: 81.11 kB / 0.6759 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.5629, allocations: 478.9 kB / 0.6764 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.5629, allocations: 37.7 kB / 0.6764 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.5632, allocations: 336.2 kB / 0.6767 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.5633, allocations: 119 kB / 0.6768 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.5634, allocations: 66.02 kB / 0.6769 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5636, allocations: 362.8 kB / 0.6772 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.5639, allocations: 131.3 kB / 0.6774 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.5643, allocations: 209.7 kB / 0.6776 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.565, allocations: 334 kB / 0.6779 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5651, allocations: 0 / 0.6779 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009439/0.566, allocations: 424.8 kB / 0.6783 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.566, allocations: 11.91 kB / 0.6783 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.566, allocations: 4.188 kB / 0.6783 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5661, allocations: 11.94 kB / 0.6783 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.5665, allocations: 87.88 kB / 0.6784 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5665, allocations: 7.984 kB / 0.6784 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.5669, allocations: 52.53 kB / 0.6785 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.5669, allocations: 19.94 kB / 0.6785 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003534/0.5673, allocations: 220.7 kB / 0.6787 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002825/0.5676, allocations: 187.3 kB / 0.6789 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004976/0.5681, allocations: 306.9 kB / 0.6792 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.5681, allocations: 0 / 0.6792 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006669/0.5688, allocations: 382.8 kB / 0.6795 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.5688, allocations: 4 kB / 0.6795 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5688, allocations: 4 kB / 0.6795 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.5688, allocations: 4 kB / 0.6795 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.5691, allocations: 87.83 kB / 0.6796 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5691, allocations: 7.938 kB / 0.6796 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.5694, allocations: 37.08 kB / 0.6797 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.5694, allocations: 16 kB / 0.6797 GB, free: 11.02 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.0001802/0.5696, allocations: 208.5 kB / 0.6799 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.5697, allocations: 59.62 kB / 0.6799 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.5718, allocations: 1.566 MB / 0.6815 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.5719, allocations: 23.97 kB / 0.6815 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5719, allocations: 0 / 0.6815 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5719, allocations: 7.969 kB / 0.6815 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.573, allocations: 0.9871 MB / 0.6825 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.573, allocations: 2.938 kB / 0.6825 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.5733, allocations: 63.89 kB / 0.6825 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.5734, allocations: 7.984 kB / 0.6825 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.5734, allocations: 11.94 kB / 0.6825 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.5734, allocations: 7.938 kB / 0.6826 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5734, allocations: 4 kB / 0.6826 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.5747, allocations: 0.985 MB / 0.6835 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.5748, allocations: 196.2 kB / 0.6837 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.5749, allocations: 11.88 kB / 0.6837 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.5752, allocations: 23.97 kB / 0.6837 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.5754, allocations: 39.95 kB / 0.6838 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.5754, allocations: 12 kB / 0.6838 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003117/0.5757, allocations: 322.9 kB / 0.6841 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5757, allocations: 0 / 0.6841 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002483/0.5782, allocations: 1.076 MB / 0.6852 GB, free: 5.328 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003217/0.5814, allocations: 0.9873 MB / 0.6861 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.5827, allocations: 0.6531 MB / 0.6868 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5827, allocations: 0 / 0.6868 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.5833, allocations: 424.9 kB / 0.6872 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.5849, allocations: 312.5 kB / 0.6875 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.5876, allocations: 1.604 MB / 0.689 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.5881, allocations: 0.979 MB / 0.69 GB, free: 320 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000609/0.5888, allocations: 379.8 kB / 0.6903 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.5889, allocations: 51.36 kB / 0.6904 GB, free: 15.89 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.5889, allocations: 4 kB / 0.6904 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Templates: time 0.04945/0.6384, allocations: 38.75 MB / 0.7282 GB, free: 9.066 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)