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.001305/0.001305, allocations: 112.5 kB / 17.69 MB, free: 5.438 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.001271/0.001271, allocations: 191 kB / 18.63 MB, free: 4.504 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.322/1.322, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2596/0.2596, allocations: 48.83 MB / 320.7 MB, free: 11.04 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.001412/0.001412, allocations: 68.97 kB / 391.5 MB, free: 48.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08157/0.08299, allocations: 59.16 MB / 450.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2688/0.3519, allocations: 107.3 MB / 0.5449 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.3625, allocations: 11.57 MB / 0.5562 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006791/0.3632, allocations: 22.62 kB / 0.5562 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.3645, allocations: 0.554 MB / 0.5568 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009097/0.3654, allocations: 0.624 MB / 0.5574 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.013/0.3785, allocations: 5.646 MB / 0.5629 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.3805, allocations: 1.652 MB / 0.5645 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008707/0.3814, allocations: 0.6339 MB / 0.5651 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008319/0.3823, allocations: 0.6517 MB / 0.5658 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.3829, allocations: 0.6248 MB / 0.5664 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-05/0.383, allocations: 65.31 kB / 0.5664 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.3941, allocations: 6.44 MB / 0.5727 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.3944, allocations: 153.7 kB / 0.5729 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006565/0.395, allocations: 428.3 kB / 0.5733 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007544/0.4026, allocations: 4.309 MB / 0.5775 GB, free: 3.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4026, allocations: 0 / 0.5775 GB, free: 3.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4026, allocations: 0 / 0.5775 GB, free: 3.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.4026, allocations: 0 / 0.5775 GB, free: 3.109 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.003087/0.4057, allocations: 1.537 MB / 0.579 GB, free: 2.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.4058, allocations: 18.2 kB / 0.579 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.4061, allocations: 107.3 kB / 0.5791 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.4066, allocations: 493.8 kB / 0.5796 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.4067, allocations: 52.62 kB / 0.5796 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.4067, allocations: 59.47 kB / 0.5797 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.4081, allocations: 0.8107 MB / 0.5805 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.4081, allocations: 8.062 kB / 0.5805 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.4082, allocations: 25.95 kB / 0.5805 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.4082, allocations: 16.22 kB / 0.5805 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.4095, allocations: 0.5926 MB / 0.5811 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.4129, allocations: 4.407 MB / 0.5854 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4142, allocations: 487.1 kB / 0.5859 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.4146, allocations: 181.2 kB / 0.586 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05983/0.4744, allocations: 32.11 MB / 0.6174 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.4745, allocations: 34.25 kB / 0.6174 GB, free: 14.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 4.849e-06/0.4745, allocations: 0 / 0.6174 GB, free: 14.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.002243/0.4767, allocations: 0.7081 MB / 0.6181 GB, free: 13.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.4768, allocations: 81.11 kB / 0.6182 GB, free: 13.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.4773, allocations: 480.1 kB / 0.6187 GB, free: 13.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.4773, allocations: 29.7 kB / 0.6187 GB, free: 13.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.4775, allocations: 327.8 kB / 0.619 GB, free: 13.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.4776, allocations: 118.2 kB / 0.6191 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.4777, allocations: 77.92 kB / 0.6192 GB, free: 12.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4779, allocations: 362.8 kB / 0.6195 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.4782, allocations: 130.1 kB / 0.6197 GB, free: 12.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.4786, allocations: 201.8 kB / 0.6199 GB, free: 12.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.4793, allocations: 332.6 kB / 0.6202 GB, free: 11.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4793, allocations: 0 / 0.6202 GB, free: 11.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000899/0.4802, allocations: 436.6 kB / 0.6206 GB, free: 11.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4803, allocations: 4 kB / 0.6206 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4803, allocations: 4 kB / 0.6206 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4803, allocations: 11.56 kB / 0.6206 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.4808, allocations: 87.88 kB / 0.6207 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4808, allocations: 4.25 kB / 0.6207 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.4811, allocations: 55.5 kB / 0.6208 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.4812, allocations: 18.2 kB / 0.6208 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003378/0.4815, allocations: 220.7 kB / 0.621 GB, free: 10.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002572/0.4818, allocations: 191.3 kB / 0.6212 GB, free: 10.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004895/0.4823, allocations: 302.9 kB / 0.6215 GB, free: 10.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/0.4823, allocations: 4 kB / 0.6215 GB, free: 10.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006275/0.4829, allocations: 364.9 kB / 0.6218 GB, free: 10.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.4829, allocations: 16.05 kB / 0.6218 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.483, allocations: 4 kB / 0.6218 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.91e-06/0.483, allocations: 4 kB / 0.6218 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.4833, allocations: 83.83 kB / 0.6219 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4833, allocations: 7.938 kB / 0.6219 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.4836, allocations: 31.73 kB / 0.6219 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.4836, allocations: 16 kB / 0.622 GB, free: 9.867 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.0001311/0.4837, allocations: 204.1 kB / 0.6222 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4838, allocations: 63.33 kB / 0.6222 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.4857, allocations: 1.568 MB / 0.6237 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.4857, allocations: 23.95 kB / 0.6238 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4857, allocations: 3.938 kB / 0.6238 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4857, allocations: 0 / 0.6238 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.4867, allocations: 0.9792 MB / 0.6247 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4867, allocations: 4 kB / 0.6247 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.4871, allocations: 63.89 kB / 0.6248 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4871, allocations: 0 / 0.6248 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.4871, allocations: 19.92 kB / 0.6248 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4871, allocations: 0 / 0.6248 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4871, allocations: 4 kB / 0.6248 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.4884, allocations: 0.99 MB / 0.6258 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.4886, allocations: 187.8 kB / 0.626 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.4886, allocations: 15.88 kB / 0.626 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.489, allocations: 15.98 kB / 0.626 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4891, allocations: 45.12 kB / 0.626 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.4891, allocations: 12 kB / 0.626 GB, free: 5.594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.4894, allocations: 330.9 kB / 0.6264 GB, free: 5.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4895, allocations: 0 / 0.6264 GB, free: 5.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00256/0.492, allocations: 1.061 MB / 0.6274 GB, free: 4.207 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.003047/0.4951, allocations: 0.9678 MB / 0.6283 GB, free: 3.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.4963, allocations: 0.6539 MB / 0.629 GB, free: 2.672 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4963, allocations: 9.125 kB / 0.629 GB, free: 2.664 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.4969, allocations: 426 kB / 0.6294 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.4985, allocations: 316.9 kB / 0.6297 GB, free: 1.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.5012, allocations: 1.58 MB / 0.6312 GB, free: 344 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.5017, allocations: 0.979 MB / 0.6322 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006207/0.5023, allocations: 381.2 kB / 0.6326 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.5025, allocations: 51.42 kB / 0.6326 GB, free: 14.91 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5025, allocations: 0 / 0.6326 GB, free: 14.91 MB / 478.1 MB Notification: Performance of Templates: time 0.04937/0.5519, allocations: 38.64 MB / 0.6703 GB, free: 8.258 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1)