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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 97.47 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5837/0.5837, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005709/0.0005714, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1565, allocations: 60.25 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.344/7.5, allocations: 2.902 GB / 3.39 GB, free: 119 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/7.501, allocations: 84.2 kB / 3.39 GB, free: 119 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.268/9.768, allocations: 0.6605 GB / 4.051 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.106e-06/9.768, allocations: 3.562 kB / 4.051 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.016e-05/9.768, allocations: 21.58 kB / 4.051 GB, free: 17.74 MB / 0.5105 GB 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.007119/9.776, allocations: 1.451 MB / 4.052 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/9.776, allocations: 11.12 kB / 4.052 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006821/9.776, allocations: 117.2 kB / 4.052 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/9.778, allocations: 0.5606 MB / 4.053 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/9.778, allocations: 46.34 kB / 4.053 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/9.778, allocations: 62.5 kB / 4.053 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/9.78, allocations: 0.9511 MB / 4.054 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/9.78, allocations: 3.875 kB / 4.054 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/9.78, allocations: 31.16 kB / 4.054 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/9.78, allocations: 18.22 kB / 4.054 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/9.781, allocations: 0.6008 MB / 4.055 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/9.785, allocations: 4.404 MB / 4.059 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/9.786, allocations: 497.8 kB / 4.059 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/9.787, allocations: 189.2 kB / 4.06 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06192/9.849, allocations: 31.87 MB / 4.091 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/9.849, allocations: 34.56 kB / 4.091 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 2.785e-06/9.849, allocations: 0 / 4.091 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.00242/9.851, allocations: 0.7255 MB / 4.091 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/9.851, allocations: 85.05 kB / 4.092 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/9.852, allocations: 467 kB / 4.092 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/9.852, allocations: 37.62 kB / 4.092 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/9.852, allocations: 333.4 kB / 4.092 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/9.852, allocations: 116.2 kB / 4.092 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/9.852, allocations: 8 kB / 4.092 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001458/9.853, allocations: 362.8 kB / 4.093 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/9.853, allocations: 136.6 kB / 4.093 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/9.853, allocations: 213.8 kB / 4.093 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007333/9.854, allocations: 359.6 kB / 4.093 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/9.854, allocations: 0 / 4.093 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000969/9.855, allocations: 456.1 kB / 4.094 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/9.855, allocations: 156.9 kB / 4.094 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/9.855, allocations: 4 kB / 4.094 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/9.855, allocations: 4 kB / 4.094 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/9.856, allocations: 99.81 kB / 4.094 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/9.856, allocations: 4 kB / 4.094 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/9.856, allocations: 91.38 kB / 4.094 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/9.856, allocations: 16 kB / 4.094 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/9.856, allocations: 5.875 kB / 4.094 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005714/9.857, allocations: 303.7 kB / 4.095 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/9.857, allocations: 4.062 kB / 4.095 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/9.857, allocations: 4 kB / 4.095 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/9.857, allocations: 83.89 kB / 4.095 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/9.857, allocations: 11.97 kB / 4.095 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/9.858, allocations: 87.55 kB / 4.095 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/9.858, allocations: 12 kB / 4.095 GB, free: 10.3 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003609/9.858, allocations: 257 kB / 4.095 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/9.858, allocations: 59.33 kB / 4.095 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/9.861, allocations: 1.586 MB / 4.097 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/9.861, allocations: 19.97 kB / 4.097 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/9.861, allocations: 4 kB / 4.097 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/9.861, allocations: 7.922 kB / 4.097 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/9.862, allocations: 0.977 MB / 4.098 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/9.862, allocations: 0 / 4.098 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/9.863, allocations: 67.89 kB / 4.098 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/9.863, allocations: 4 kB / 4.098 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/9.863, allocations: 8 kB / 4.098 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/9.863, allocations: 4 kB / 4.098 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/9.863, allocations: 7.922 kB / 4.098 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/9.864, allocations: 1.008 MB / 4.099 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/9.864, allocations: 191.7 kB / 4.099 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/9.865, allocations: 8 kB / 4.099 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/9.865, allocations: 75.72 kB / 4.099 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/9.865, allocations: 39.88 kB / 4.099 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/9.865, allocations: 8 kB / 4.099 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003782/9.866, allocations: 322.9 kB / 4.099 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/9.866, allocations: 0 / 4.099 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005672/9.871, allocations: 1.131 MB / 4.1 GB, free: 4.441 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009981/9.881, allocations: 1.787 MB / 4.102 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001734/9.883, allocations: 0.6811 MB / 4.103 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/9.883, allocations: 0 / 4.103 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008247/9.884, allocations: 437.3 kB / 4.103 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/9.886, allocations: 306.1 kB / 4.104 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3322/10.22, allocations: 1.939 MB / 4.105 GB, free: 61.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/10.22, allocations: 0.978 MB / 4.106 GB, free: 61.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001143/10.22, allocations: 385.7 kB / 4.107 GB, free: 61.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/10.22, allocations: 44.61 kB / 4.107 GB, free: 61.01 MB / 0.5417 GB Notification: Performance of SimCode: time 8.01e-07/10.22, allocations: 0 / 4.107 GB, free: 61.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.06925/10.29, allocations: 43.82 MB / 4.15 GB, free: 60.36 MB / 0.5417 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)