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.001101/0.001101, allocations: 111 kB / 17.75 MB, free: 5.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.001187/0.001187, allocations: 186.5 kB / 18.68 MB, free: 4.41 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.398/1.398, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2852/0.2852, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001695/0.001695, allocations: 67.89 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1218, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3479/0.4698, allocations: 107.3 MB / 0.6032 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.4848, allocations: 11.56 MB / 0.6145 GB, free: 2.266 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.486, allocations: 29.5 kB / 0.6145 GB, free: 2.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.488, allocations: 0.5554 MB / 0.6151 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.49, allocations: 0.6203 MB / 0.6157 GB, free: 1.242 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01621/0.5062, allocations: 5.654 MB / 0.6212 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.5091, allocations: 1.65 MB / 0.6228 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.5104, allocations: 0.6404 MB / 0.6234 GB, free: 9.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.5117, allocations: 0.6422 MB / 0.6241 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.5128, allocations: 0.6224 MB / 0.6247 GB, free: 8.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.513, allocations: 68 kB / 0.6247 GB, free: 8.613 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.5278, allocations: 6.427 MB / 0.631 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.5282, allocations: 163.4 kB / 0.6312 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007853/0.529, allocations: 422 kB / 0.6316 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.5392, allocations: 4.316 MB / 0.6358 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5393, allocations: 0 / 0.6358 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5393, allocations: 0 / 0.6358 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.5393, allocations: 0 / 0.6358 GB, free: 13.28 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.004307/0.5436, allocations: 1.536 MB / 0.6373 GB, free: 11.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.5437, allocations: 11.89 kB / 0.6373 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.5441, allocations: 108 kB / 0.6374 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.5449, allocations: 0.4935 MB / 0.6379 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.545, allocations: 45.69 kB / 0.6379 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/0.5451, allocations: 64.56 kB / 0.638 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.5468, allocations: 0.8185 MB / 0.6388 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.5468, allocations: 0 / 0.6388 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/0.5469, allocations: 28 kB / 0.6388 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.5469, allocations: 16 kB / 0.6388 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.5485, allocations: 0.5827 MB / 0.6394 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/0.5528, allocations: 4.393 MB / 0.6437 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.5542, allocations: 496.8 kB / 0.6442 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.5546, allocations: 177.6 kB / 0.6443 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06447/0.6191, allocations: 32.12 MB / 0.6757 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.6192, allocations: 43.3 kB / 0.6757 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.655e-06/0.6192, allocations: 0 / 0.6757 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002328/0.6215, allocations: 0.6944 MB / 0.6764 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.6216, allocations: 93.03 kB / 0.6765 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.6221, allocations: 467 kB / 0.677 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.6222, allocations: 29.7 kB / 0.677 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.6224, allocations: 335.7 kB / 0.6773 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.6225, allocations: 114.3 kB / 0.6774 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.6226, allocations: 73.92 kB / 0.6775 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6228, allocations: 370.7 kB / 0.6778 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.6232, allocations: 138.1 kB / 0.678 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.6235, allocations: 197.8 kB / 0.6782 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.6242, allocations: 334.1 kB / 0.6785 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6242, allocations: 0 / 0.6785 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008912/0.6251, allocations: 432.6 kB / 0.6789 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.6252, allocations: 8 kB / 0.6789 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6252, allocations: 0.625 kB / 0.6789 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6252, allocations: 7.938 kB / 0.6789 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.6257, allocations: 87.88 kB / 0.679 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.6257, allocations: 5.641 kB / 0.679 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.626, allocations: 43.58 kB / 0.679 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.6261, allocations: 20.86 kB / 0.6791 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003578/0.6265, allocations: 220.9 kB / 0.6793 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002629/0.6267, allocations: 187.3 kB / 0.6794 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004795/0.6272, allocations: 314.8 kB / 0.6797 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.045e-06/0.6272, allocations: 0 / 0.6797 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006407/0.6279, allocations: 372.9 kB / 0.6801 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.6279, allocations: 7.906 kB / 0.6801 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.6279, allocations: 4 kB / 0.6801 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.6279, allocations: 4.344 kB / 0.6801 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.6282, allocations: 87.89 kB / 0.6802 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.6282, allocations: 15.86 kB / 0.6802 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.6285, allocations: 28.44 kB / 0.6802 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.6285, allocations: 19.98 kB / 0.6803 GB, free: 11.06 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.0001387/0.6286, allocations: 204.2 kB / 0.6805 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.6288, allocations: 63.33 kB / 0.6805 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.6307, allocations: 1.562 MB / 0.682 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.6307, allocations: 3.938 kB / 0.682 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.6307, allocations: 4 kB / 0.6821 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.6309, allocations: 195.7 kB / 0.6822 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.631, allocations: 10.88 kB / 0.6822 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.6313, allocations: 19.98 kB / 0.6823 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.6314, allocations: 43.94 kB / 0.6823 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001393/0.6328, allocations: 0.9641 MB / 0.6833 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001319/0.6341, allocations: 1.058 MB / 0.6843 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005184/0.6346, allocations: 396.9 kB / 0.6847 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003094/0.635, allocations: 322.9 kB / 0.685 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of Backend: time 9.22e-07/0.635, allocations: 0 / 0.685 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005794/0.6408, allocations: 1.596 MB / 0.6865 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002457/0.6432, allocations: 1.774 MB / 0.6883 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of Templates: time 0.05889/0.7022, allocations: 42.41 MB / 0.7297 GB, free: 8.27 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)