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.001161/0.001161, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001094/0.001094, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.303/1.303, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2792/0.2792, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.001477/0.001478, allocations: 72.55 kB / 390.1 MB, free: 48.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.09966, allocations: 59.16 MB / 449.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3186/0.4183, allocations: 107.3 MB / 0.5435 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.4321, allocations: 11.57 MB / 0.5548 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009928/0.4332, allocations: 23.28 kB / 0.5548 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.4347, allocations: 0.5524 MB / 0.5554 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.4358, allocations: 0.6184 MB / 0.556 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01558/0.4514, allocations: 5.649 MB / 0.5615 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002477/0.4539, allocations: 1.648 MB / 0.5631 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.4549, allocations: 0.6376 MB / 0.5637 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.4562, allocations: 0.6388 MB / 0.5643 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000778/0.457, allocations: 0.6323 MB / 0.565 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.4572, allocations: 66.19 kB / 0.565 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01226/0.4695, allocations: 6.293 MB / 0.5712 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.4698, allocations: 161.8 kB / 0.5713 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008616/0.4707, allocations: 428.4 kB / 0.5717 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.4813, allocations: 4.299 MB / 0.5759 GB, free: 2.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.4814, allocations: 0 / 0.5759 GB, free: 2.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4814, allocations: 5.781 kB / 0.5759 GB, free: 2.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.4814, allocations: 0 / 0.5759 GB, free: 2.969 MB / 414.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.004241/0.4857, allocations: 1.537 MB / 0.5774 GB, free: 2.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4857, allocations: 14.11 kB / 0.5774 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.486, allocations: 104.4 kB / 0.5775 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.4865, allocations: 482.8 kB / 0.578 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.4866, allocations: 45.81 kB / 0.578 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.4866, allocations: 64.97 kB / 0.5781 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.488, allocations: 0.8108 MB / 0.5789 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.4881, allocations: 4.75 kB / 0.5789 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.4881, allocations: 25.84 kB / 0.5789 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.4881, allocations: 16.22 kB / 0.5789 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.4895, allocations: 0.5918 MB / 0.5795 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.4932, allocations: 4.426 MB / 0.5838 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.4946, allocations: 486.1 kB / 0.5843 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.4949, allocations: 183.7 kB / 0.5845 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06629/0.5612, allocations: 31.98 MB / 0.6157 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.5613, allocations: 37.94 kB / 0.6158 GB, free: 14.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 2.926e-06/0.5614, allocations: 0 / 0.6158 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.002365/0.5637, allocations: 0.7089 MB / 0.6164 GB, free: 13.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.5638, allocations: 81.11 kB / 0.6165 GB, free: 13.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.5644, allocations: 465.2 kB / 0.617 GB, free: 13.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.5644, allocations: 33.83 kB / 0.617 GB, free: 13.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.5646, allocations: 335.2 kB / 0.6173 GB, free: 13.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.5648, allocations: 114.1 kB / 0.6174 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.5649, allocations: 79.66 kB / 0.6175 GB, free: 13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.565, allocations: 362 kB / 0.6178 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.5654, allocations: 134.1 kB / 0.618 GB, free: 12.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.5658, allocations: 209.7 kB / 0.6182 GB, free: 12.28 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.5665, allocations: 328.6 kB / 0.6185 GB, free: 11.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5665, allocations: 0 / 0.6185 GB, free: 11.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009912/0.5675, allocations: 428.7 kB / 0.6189 GB, free: 11.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.5676, allocations: 8 kB / 0.6189 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5676, allocations: 0 / 0.6189 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.5676, allocations: 7.938 kB / 0.6189 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.568, allocations: 91.81 kB / 0.619 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.5681, allocations: 4.25 kB / 0.619 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.5685, allocations: 50.08 kB / 0.6191 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.5685, allocations: 19.98 kB / 0.6191 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003849/0.5689, allocations: 220.8 kB / 0.6193 GB, free: 11.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00028/0.5692, allocations: 183 kB / 0.6195 GB, free: 10.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004924/0.5697, allocations: 315 kB / 0.6198 GB, free: 10.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.5697, allocations: 0 / 0.6198 GB, free: 10.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006909/0.5704, allocations: 372.9 kB / 0.6201 GB, free: 10.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.5704, allocations: 8.031 kB / 0.6201 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5704, allocations: 4 kB / 0.6201 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.5705, allocations: 7.938 kB / 0.6201 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.5708, allocations: 91.81 kB / 0.6202 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5708, allocations: 4 kB / 0.6202 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.5711, allocations: 31.73 kB / 0.6203 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.5711, allocations: 16 kB / 0.6203 GB, free: 10.01 MB / 462.1 MB 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.0001602/0.5713, allocations: 212.1 kB / 0.6205 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.5714, allocations: 55.34 kB / 0.6205 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.5733, allocations: 1.568 MB / 0.6221 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.5733, allocations: 27.91 kB / 0.6221 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5733, allocations: 0 / 0.6221 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.5733, allocations: 3.984 kB / 0.6221 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.5744, allocations: 0.983 MB / 0.623 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.5744, allocations: 0 / 0.623 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.5748, allocations: 63.95 kB / 0.6231 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5748, allocations: 4 kB / 0.6231 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.5748, allocations: 7.938 kB / 0.6231 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.5748, allocations: 13.44 kB / 0.6231 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5748, allocations: 0 / 0.6231 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.5761, allocations: 0.9826 MB / 0.6241 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.5763, allocations: 195.8 kB / 0.6243 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.5764, allocations: 11.94 kB / 0.6243 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.5767, allocations: 19.98 kB / 0.6243 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.5768, allocations: 43.94 kB / 0.6244 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.5768, allocations: 8 kB / 0.6244 GB, free: 5.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003203/0.5772, allocations: 330.8 kB / 0.6247 GB, free: 5.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5772, allocations: 0 / 0.6247 GB, free: 5.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003696/0.5809, allocations: 1.057 MB / 0.6257 GB, free: 4.352 MB / 462.1 MB 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.003873/0.5848, allocations: 0.9905 MB / 0.6267 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.5863, allocations: 0.6654 MB / 0.6273 GB, free: 2.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5863, allocations: 0 / 0.6273 GB, free: 2.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.5869, allocations: 426.2 kB / 0.6277 GB, free: 2.352 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.5887, allocations: 313.9 kB / 0.628 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.5919, allocations: 1.616 MB / 0.6296 GB, free: 420 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.5925, allocations: 0.979 MB / 0.6306 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008538/0.5934, allocations: 391.7 kB / 0.6309 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.5936, allocations: 51.42 kB / 0.631 GB, free: 14.97 MB / 478.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5936, allocations: 0 / 0.631 GB, free: 14.97 MB / 478.1 MB Notification: Performance of Templates: time 0.05195/0.6456, allocations: 38.76 MB / 0.6688 GB, free: 8.199 MB / 0.4981 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)