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.00138/0.00138, allocations: 108.3 kB / 17.74 MB, free: 5.316 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.001414/0.001414, allocations: 183 kB / 18.67 MB, free: 4.395 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.344/1.344, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3074/0.3074, allocations: 48.84 MB / 320.7 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.001763/0.001763, allocations: 71.91 kB / 451.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1281, allocations: 59.16 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3792/0.5074, allocations: 107.3 MB / 0.6032 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.5229, allocations: 11.57 MB / 0.6145 GB, free: 2.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.5243, allocations: 19.22 kB / 0.6145 GB, free: 2.262 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.5261, allocations: 0.5649 MB / 0.6151 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.5279, allocations: 0.6163 MB / 0.6157 GB, free: 1.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01715/0.5451, allocations: 5.659 MB / 0.6212 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.5481, allocations: 1.65 MB / 0.6228 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.5494, allocations: 0.6298 MB / 0.6234 GB, free: 9.953 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.5509, allocations: 0.6461 MB / 0.6241 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.5517, allocations: 0.6379 MB / 0.6247 GB, free: 8.664 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.655e-05/0.5518, allocations: 64 kB / 0.6247 GB, free: 8.602 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/0.5657, allocations: 6.435 MB / 0.631 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.566, allocations: 159.4 kB / 0.6312 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006997/0.5667, allocations: 426 kB / 0.6316 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.578, allocations: 4.303 MB / 0.6358 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5781, allocations: 0 / 0.6358 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.5781, allocations: 0 / 0.6358 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.5781, allocations: 0 / 0.6358 GB, free: 13.27 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.004222/0.5824, allocations: 1.552 MB / 0.6373 GB, free: 11.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5824, allocations: 11.89 kB / 0.6373 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.5827, allocations: 104.7 kB / 0.6374 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.5835, allocations: 0.4896 MB / 0.6379 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.5835, allocations: 49.69 kB / 0.6379 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.233e-05/0.5836, allocations: 60.56 kB / 0.638 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.5852, allocations: 0.8101 MB / 0.6388 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.5852, allocations: 3.938 kB / 0.6388 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.5853, allocations: 28 kB / 0.6388 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.5853, allocations: 20 kB / 0.6388 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.5867, allocations: 0.5827 MB / 0.6394 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.5907, allocations: 4.399 MB / 0.6437 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.5921, allocations: 488.8 kB / 0.6442 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.5925, allocations: 181.6 kB / 0.6443 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06575/0.6582, allocations: 32.12 MB / 0.6757 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.6583, allocations: 38.55 kB / 0.6757 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/0.6583, allocations: 4 kB / 0.6757 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002411/0.6607, allocations: 0.6944 MB / 0.6764 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.6608, allocations: 89.09 kB / 0.6765 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.6615, allocations: 467 kB / 0.677 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.6615, allocations: 33.64 kB / 0.677 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.6618, allocations: 347.7 kB / 0.6773 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.6619, allocations: 106.3 kB / 0.6774 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.6621, allocations: 73.92 kB / 0.6775 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6622, allocations: 366.8 kB / 0.6778 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.6626, allocations: 130.1 kB / 0.678 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.663, allocations: 205.8 kB / 0.6782 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.6637, allocations: 326.1 kB / 0.6785 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6637, allocations: 4 kB / 0.6785 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009597/0.6646, allocations: 432.5 kB / 0.6789 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6647, allocations: 4 kB / 0.6789 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6647, allocations: 7.938 kB / 0.6789 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.6647, allocations: 8.188 kB / 0.6789 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.6652, allocations: 91.88 kB / 0.679 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.6652, allocations: 4 kB / 0.679 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.6656, allocations: 47.52 kB / 0.679 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.6656, allocations: 19.98 kB / 0.6791 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000362/0.666, allocations: 220.8 kB / 0.6793 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002577/0.6662, allocations: 187.3 kB / 0.6795 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004875/0.6667, allocations: 299.6 kB / 0.6797 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.6667, allocations: 7.938 kB / 0.6797 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006825/0.6674, allocations: 372.9 kB / 0.6801 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.6675, allocations: 11.91 kB / 0.6801 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6675, allocations: 4 kB / 0.6801 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.6675, allocations: 4 kB / 0.6801 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.6678, allocations: 83.83 kB / 0.6802 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6678, allocations: 15.92 kB / 0.6802 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.6681, allocations: 32.91 kB / 0.6802 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.6681, allocations: 19.98 kB / 0.6803 GB, free: 11.04 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.000167/0.6683, allocations: 200.1 kB / 0.6805 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.6684, allocations: 55.34 kB / 0.6805 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.6704, allocations: 1.566 MB / 0.682 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.6704, allocations: 27.97 kB / 0.6821 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.6704, allocations: 0 / 0.6821 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6704, allocations: 3.984 kB / 0.6821 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.6716, allocations: 0.9752 MB / 0.683 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.6716, allocations: 6.875 kB / 0.683 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.6719, allocations: 71.88 kB / 0.6831 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.6719, allocations: 0 / 0.6831 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.672, allocations: 11.94 kB / 0.6831 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.672, allocations: 0 / 0.6831 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.672, allocations: 4 kB / 0.6831 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.6733, allocations: 0.9884 MB / 0.6841 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.6735, allocations: 195.8 kB / 0.6843 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.6736, allocations: 11.94 kB / 0.6843 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.6739, allocations: 15.98 kB / 0.6843 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.6741, allocations: 51.84 kB / 0.6843 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.6741, allocations: 11.98 kB / 0.6844 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003233/0.6744, allocations: 326.9 kB / 0.6847 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6744, allocations: 0 / 0.6847 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002866/0.6773, allocations: 1.061 MB / 0.6857 GB, free: 5.379 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.004101/0.6814, allocations: 0.9765 MB / 0.6867 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.6828, allocations: 0.6572 MB / 0.6873 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6828, allocations: 0 / 0.6873 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.6834, allocations: 416.9 kB / 0.6877 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.6849, allocations: 308.5 kB / 0.688 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.6879, allocations: 1.619 MB / 0.6896 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.6885, allocations: 0.979 MB / 0.6905 GB, free: 372 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.6887, allocations: 59.36 kB / 0.6906 GB, free: 316 kB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.6887, allocations: 0 / 0.6906 GB, free: 316 kB / 0.5294 GB Notification: Performance of Templates: time 0.03697/0.7257, allocations: 23.28 MB / 0.7133 GB, free: 8.984 MB / 0.5606 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)