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.001616/0.001616, allocations: 175.9 kB / 8.344 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.212/2.212, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 97.2 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6686/0.6686, allocations: 48.76 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.904e-05, allocations: 4 kB / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1711, allocations: 60.27 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.206/9.377, allocations: 2.901 GB / 3.375 GB, free: 148.8 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/9.377, allocations: 77.84 kB / 3.375 GB, free: 148.8 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.779/12.16, allocations: 0.653 GB / 4.028 GB, free: 45.89 MB / 0.5265 GB Notification: Performance of FrontEnd: time 1.593e-06/12.16, allocations: 2.531 kB / 4.028 GB, free: 45.89 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001606/12.16, allocations: 18.78 kB / 4.028 GB, free: 45.89 MB / 0.5265 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.009444/12.17, allocations: 1.391 MB / 4.03 GB, free: 45.28 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 8.378e-05/12.17, allocations: 8.656 kB / 4.03 GB, free: 45.28 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/12.17, allocations: 115.6 kB / 4.03 GB, free: 45.24 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/12.17, allocations: 0.5401 MB / 4.03 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.601e-05/12.17, allocations: 20.59 kB / 4.03 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/12.17, allocations: 46.3 kB / 4.03 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001492/12.17, allocations: 432.8 kB / 4.031 GB, free: 44.98 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/12.17, allocations: 0.7314 MB / 4.031 GB, free: 44.66 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/12.17, allocations: 2.594 kB / 4.031 GB, free: 44.66 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/12.17, allocations: 1.844 kB / 4.031 GB, free: 44.66 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/12.17, allocations: 17.03 kB / 4.031 GB, free: 44.66 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/12.18, allocations: 4.26 MB / 4.036 GB, free: 41.32 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/12.18, allocations: 386.5 kB / 4.036 GB, free: 41.27 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/12.18, allocations: 154.6 kB / 4.036 GB, free: 41.26 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09321/12.27, allocations: 31.99 MB / 4.067 GB, free: 21.89 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.097e-05/12.27, allocations: 34.25 kB / 4.067 GB, free: 21.86 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=32): time 4.048e-06/12.27, allocations: 0 / 4.067 GB, free: 21.86 MB / 0.5265 GB Notification: Performance of matching and sorting (n=32): time 0.002011/12.28, allocations: 465.1 kB / 4.068 GB, free: 21.79 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/12.28, allocations: 80.83 kB / 4.068 GB, free: 21.7 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005887/12.28, allocations: 293.4 kB / 4.068 GB, free: 21.59 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/12.28, allocations: 31.45 kB / 4.068 GB, free: 21.56 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/12.28, allocations: 348 kB / 4.068 GB, free: 21.38 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/12.28, allocations: 108.3 kB / 4.069 GB, free: 21.3 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/12.28, allocations: 0 / 4.069 GB, free: 21.3 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001788/12.28, allocations: 353.4 kB / 4.069 GB, free: 20.99 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/12.28, allocations: 106.5 kB / 4.069 GB, free: 20.99 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/12.28, allocations: 171.7 kB / 4.069 GB, free: 20.91 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/12.28, allocations: 132.1 kB / 4.069 GB, free: 20.91 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/12.28, allocations: 0 / 4.069 GB, free: 20.91 MB / 0.5265 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009023/12.28, allocations: 365.5 kB / 4.07 GB, free: 20.84 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003818/12.28, allocations: 0.8775 MB / 4.071 GB, free: 19.94 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/12.28, allocations: 3.953 kB / 4.071 GB, free: 19.94 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/12.28, allocations: 3.656 kB / 4.071 GB, free: 19.94 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/12.28, allocations: 91.8 kB / 4.071 GB, free: 19.94 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/12.28, allocations: 9.156 kB / 4.071 GB, free: 19.94 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/12.28, allocations: 65.39 kB / 4.071 GB, free: 19.93 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/12.28, allocations: 24.17 kB / 4.071 GB, free: 19.93 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/12.28, allocations: 3.469 kB / 4.071 GB, free: 19.93 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005055/12.28, allocations: 223.9 kB / 4.071 GB, free: 19.92 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/12.28, allocations: 6.016 kB / 4.071 GB, free: 19.92 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.567e-06/12.28, allocations: 3.719 kB / 4.071 GB, free: 19.92 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/12.28, allocations: 87.77 kB / 4.071 GB, free: 19.92 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/12.28, allocations: 3.281 kB / 4.071 GB, free: 19.92 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/12.28, allocations: 68.7 kB / 4.071 GB, free: 19.91 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/12.28, allocations: 17.44 kB / 4.071 GB, free: 19.91 MB / 0.5265 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 () * 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.0001566/12.28, allocations: 113.6 kB / 4.071 GB, free: 19.8 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/12.28, allocations: 51.95 kB / 4.071 GB, free: 19.77 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/12.28, allocations: 1.487 MB / 4.073 GB, free: 19.59 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/12.28, allocations: 25.78 kB / 4.073 GB, free: 19.59 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/12.28, allocations: 1.969 kB / 4.073 GB, free: 19.59 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/12.28, allocations: 7.125 kB / 4.073 GB, free: 19.59 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/12.29, allocations: 0.858 MB / 4.074 GB, free: 19.39 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/12.29, allocations: 0 / 4.074 GB, free: 19.39 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/12.29, allocations: 77.23 kB / 4.074 GB, free: 19.39 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/12.29, allocations: 7.844 kB / 4.074 GB, free: 19.39 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/12.29, allocations: 3.75 kB / 4.074 GB, free: 19.39 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/12.29, allocations: 3.375 kB / 4.074 GB, free: 19.39 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/12.29, allocations: 3.953 kB / 4.074 GB, free: 19.38 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/12.29, allocations: 0.9214 MB / 4.075 GB, free: 19.08 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/12.29, allocations: 190.1 kB / 4.075 GB, free: 18.93 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/12.29, allocations: 6.953 kB / 4.075 GB, free: 18.93 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/12.29, allocations: 57.22 kB / 4.075 GB, free: 18.92 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/12.29, allocations: 30.86 kB / 4.075 GB, free: 18.92 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/12.29, allocations: 13.53 kB / 4.075 GB, free: 18.92 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0002352/12.29, allocations: 227.6 kB / 4.075 GB, free: 18.83 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.4e-07/12.29, allocations: 0 / 4.075 GB, free: 18.83 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.006331/12.3, allocations: 1.082 MB / 4.076 GB, free: 18.66 MB / 0.5265 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 () * 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.01071/12.31, allocations: 2.083 MB / 4.078 GB, free: 18.36 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001489/12.31, allocations: 0.5777 MB / 4.079 GB, free: 18.35 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/12.31, allocations: 3.219 kB / 4.079 GB, free: 18.35 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/12.31, allocations: 389.9 kB / 4.079 GB, free: 18.35 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/12.31, allocations: 213.8 kB / 4.079 GB, free: 18.35 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/12.31, allocations: 1.194 MB / 4.08 GB, free: 18.02 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/12.32, allocations: 0.9975 MB / 4.081 GB, free: 33.32 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001009/12.32, allocations: 404.1 kB / 4.082 GB, free: 33.31 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/12.32, allocations: 41.11 kB / 4.082 GB, free: 33.3 MB / 0.5421 GB Notification: Performance of SimCode: time 1.232e-06/12.32, allocations: 0.5625 kB / 4.082 GB, free: 33.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.06182/12.38, allocations: 31.55 MB / 4.113 GB, free: 31.1 MB / 0.5421 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)