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.001238/0.001238, allocations: 111.7 kB / 17.06 MB, free: 6.016 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.001335/0.001335, allocations: 195.9 kB / 18 MB, free: 5.098 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.574/1.574, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3179/0.3179, allocations: 48.84 MB / 320.1 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.001554/0.001554, allocations: 75.89 kB / 450.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 59.16 MB / 0.4978 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3074/0.411, allocations: 107.3 MB / 0.6026 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.425, allocations: 11.57 MB / 0.6138 GB, free: 2.262 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009182/0.426, allocations: 22.53 kB / 0.6139 GB, free: 2.254 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.4276, allocations: 0.5563 MB / 0.6144 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.429, allocations: 0.6239 MB / 0.615 GB, free: 1.242 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01517/0.4441, allocations: 5.671 MB / 0.6206 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002539/0.4467, allocations: 1.654 MB / 0.6222 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.4478, allocations: 0.6345 MB / 0.6228 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.449, allocations: 0.6539 MB / 0.6234 GB, free: 9.273 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007223/0.4497, allocations: 0.6224 MB / 0.624 GB, free: 8.648 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.584e-05/0.4498, allocations: 64 kB / 0.6241 GB, free: 8.586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01274/0.4626, allocations: 6.433 MB / 0.6304 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.4629, allocations: 163.4 kB / 0.6305 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005895/0.4635, allocations: 426 kB / 0.6309 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009715/0.4732, allocations: 4.307 MB / 0.6352 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4732, allocations: 0 / 0.6352 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4733, allocations: 4 kB / 0.6352 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.4733, allocations: 0 / 0.6352 GB, free: 13.25 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.003883/0.4772, allocations: 1.536 MB / 0.6367 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4772, allocations: 15.89 kB / 0.6367 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.4775, allocations: 108 kB / 0.6368 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.4782, allocations: 497.3 kB / 0.6372 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.4783, allocations: 45.69 kB / 0.6373 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.4783, allocations: 68.55 kB / 0.6374 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.48, allocations: 0.8179 MB / 0.6382 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.48, allocations: 0 / 0.6382 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.4801, allocations: 28 kB / 0.6382 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.4801, allocations: 18.06 kB / 0.6382 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.4816, allocations: 0.5865 MB / 0.6388 GB, free: 9.406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.4854, allocations: 4.393 MB / 0.6431 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.4868, allocations: 492.8 kB / 0.6435 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.4872, allocations: 177.6 kB / 0.6437 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06409/0.5513, allocations: 32.12 MB / 0.6751 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5514, allocations: 42.56 kB / 0.6751 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.514e-06/0.5514, allocations: 0 / 0.6751 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002334/0.5538, allocations: 0.7012 MB / 0.6758 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.5538, allocations: 81.11 kB / 0.6759 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.5544, allocations: 471 kB / 0.6763 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5544, allocations: 33.7 kB / 0.6764 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.5546, allocations: 335.6 kB / 0.6767 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.747e-05/0.5547, allocations: 118.3 kB / 0.6768 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.5549, allocations: 73.91 kB / 0.6769 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.555, allocations: 362.8 kB / 0.6772 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.5553, allocations: 138.1 kB / 0.6773 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.5557, allocations: 201.7 kB / 0.6775 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.5564, allocations: 334 kB / 0.6778 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5564, allocations: 0 / 0.6778 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008989/0.5573, allocations: 424.8 kB / 0.6783 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5574, allocations: 15.94 kB / 0.6783 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5574, allocations: 0 / 0.6783 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5574, allocations: 7.938 kB / 0.6783 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.5578, allocations: 87.88 kB / 0.6784 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.5578, allocations: 7.938 kB / 0.6784 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.5582, allocations: 43.58 kB / 0.6784 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.5582, allocations: 19.98 kB / 0.6784 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003531/0.5586, allocations: 222 kB / 0.6786 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002541/0.5588, allocations: 183.4 kB / 0.6788 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005086/0.5593, allocations: 310.9 kB / 0.6791 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.5594, allocations: 3.938 kB / 0.6791 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006769/0.56, allocations: 376.8 kB / 0.6795 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.5601, allocations: 4 kB / 0.6795 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5601, allocations: 4 kB / 0.6795 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.5601, allocations: 7.984 kB / 0.6795 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.5604, allocations: 100.1 kB / 0.6796 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.5604, allocations: 4 kB / 0.6796 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.5607, allocations: 31.73 kB / 0.6796 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.5607, allocations: 16 kB / 0.6796 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.0001572/0.5608, allocations: 200.1 kB / 0.6798 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.561, allocations: 59.34 kB / 0.6799 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.5629, allocations: 1.566 MB / 0.6814 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.5629, allocations: 19.97 kB / 0.6814 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5629, allocations: 0.875 kB / 0.6814 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.5629, allocations: 7.984 kB / 0.6814 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.564, allocations: 0.9752 MB / 0.6824 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.564, allocations: 0 / 0.6824 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.5643, allocations: 63.89 kB / 0.6825 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5643, allocations: 4 kB / 0.6825 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.5644, allocations: 18.38 kB / 0.6825 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5644, allocations: 4 kB / 0.6825 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5644, allocations: 0 / 0.6825 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.5657, allocations: 0.9922 MB / 0.6834 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.5659, allocations: 195.8 kB / 0.6836 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.566, allocations: 19.88 kB / 0.6837 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.5663, allocations: 11.98 kB / 0.6837 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.5664, allocations: 47.89 kB / 0.6837 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.5665, allocations: 12 kB / 0.6837 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003232/0.5668, allocations: 326.9 kB / 0.684 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5668, allocations: 0 / 0.684 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00289/0.5697, allocations: 1.065 MB / 0.6851 GB, free: 5.352 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.003394/0.5731, allocations: 0.9771 MB / 0.686 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.5744, allocations: 0.6488 MB / 0.6867 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5745, allocations: 4 kB / 0.6867 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.575, allocations: 420.9 kB / 0.6871 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.5767, allocations: 305.9 kB / 0.6874 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.5795, allocations: 1.581 MB / 0.6889 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.58, allocations: 0.979 MB / 0.6899 GB, free: 392 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006404/0.5807, allocations: 383.8 kB / 0.6902 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.5809, allocations: 59.41 kB / 0.6903 GB, free: 15.95 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5809, allocations: 0 / 0.6903 GB, free: 15.95 MB / 0.545 GB Notification: Performance of Templates: time 0.05004/0.6309, allocations: 38.74 MB / 0.7281 GB, free: 9.133 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)