Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001671/0.001671, allocations: 181 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009876/0.0009877, allocations: 93.89 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.7049/0.7049, allocations: 48.78 MB / 367.9 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003974, allocations: 12 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2014, allocations: 60.25 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.775/8.977, allocations: 2.851 GB / 3.338 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/8.977, allocations: 79.53 kB / 3.338 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.507/11.48, allocations: 0.6785 GB / 4.017 GB, free: 35.26 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.804e-06/11.48, allocations: 7.875 kB / 4.017 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.243e-05/11.48, allocations: 22.53 kB / 4.017 GB, free: 35.25 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.007205/11.49, allocations: 1.804 MB / 4.019 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/11.49, allocations: 9.219 kB / 4.019 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004371/11.49, allocations: 139.6 kB / 4.019 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/11.49, allocations: 0.5801 MB / 4.019 GB, free: 33.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/11.49, allocations: 61.8 kB / 4.019 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/11.49, allocations: 70.92 kB / 4.019 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/11.5, allocations: 1.138 MB / 4.02 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/11.5, allocations: 0 / 4.02 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/11.5, allocations: 34.12 kB / 4.021 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/11.5, allocations: 18.56 kB / 4.021 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/11.5, allocations: 0.8931 MB / 4.021 GB, free: 32.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/11.5, allocations: 4.73 MB / 4.026 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/11.5, allocations: 0.8117 MB / 4.027 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.055/11.56, allocations: 31.86 MB / 4.058 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/11.56, allocations: 0.5522 MB / 4.058 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=41): time 2.735e-06/11.56, allocations: 0 / 4.058 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=41): time 0.004079/11.57, allocations: 1.22 MB / 4.06 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/11.57, allocations: 85.11 kB / 4.06 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/11.57, allocations: 0.4955 MB / 4.06 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.916e-05/11.57, allocations: 37.7 kB / 4.06 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/11.57, allocations: 375.3 kB / 4.061 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/11.57, allocations: 129.3 kB / 4.061 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/11.57, allocations: 8 kB / 4.061 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002003/11.57, allocations: 374.8 kB / 4.061 GB, free: 12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009558/11.57, allocations: 312.9 kB / 4.061 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/11.57, allocations: 413 kB / 4.062 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/11.57, allocations: 420.8 kB / 4.062 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/11.57, allocations: 0 / 4.062 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002439/11.57, allocations: 0.9478 MB / 4.063 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006539/11.57, allocations: 1.156 MB / 4.064 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/11.57, allocations: 7.953 kB / 4.064 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/11.57, allocations: 4 kB / 4.064 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/11.57, allocations: 167.8 kB / 4.064 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/11.57, allocations: 7.938 kB / 4.064 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/11.58, allocations: 191.1 kB / 4.065 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/11.58, allocations: 20 kB / 4.065 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/11.58, allocations: 4 kB / 4.065 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002072/11.58, allocations: 0.8534 MB / 4.065 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/11.58, allocations: 4 kB / 4.065 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/11.58, allocations: 4 kB / 4.065 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/11.58, allocations: 160 kB / 4.066 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/11.58, allocations: 7.984 kB / 4.066 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/11.58, allocations: 179.4 kB / 4.066 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/11.58, allocations: 20 kB / 4.066 GB, free: 6.945 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition2,$whenCondition1,$PRE.Sine1.T_start,Sine1.T_start,$PRE.Sine1.count,Sine1.count,$PRE.Sine2.T_start,Sine2.T_start,$PRE.Sine2.count,Sine2.count,$whenCondition4,$whenCondition3,$PRE.Sine3.T_start,Sine3.T_start,$PRE.Sine3.count,Sine3.count,$PRE.Sine4.T_start,Sine4.T_start,$PRE.Sine4.count,Sine4.count,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 4 * 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.0006606/11.58, allocations: 279 kB / 4.066 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/11.58, allocations: 71.16 kB / 4.066 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/11.58, allocations: 1.926 MB / 4.068 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/11.58, allocations: 19.97 kB / 4.068 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/11.58, allocations: 0 / 4.068 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/11.58, allocations: 0 / 4.068 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/11.59, allocations: 1.049 MB / 4.069 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/11.59, allocations: 4 kB / 4.069 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006775/11.59, allocations: 131.9 kB / 4.069 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/11.59, allocations: 7.938 kB / 4.069 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/11.59, allocations: 12 kB / 4.069 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/11.59, allocations: 0 / 4.069 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/11.59, allocations: 0 / 4.069 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/11.59, allocations: 1.215 MB / 4.07 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/11.59, allocations: 219.5 kB / 4.071 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.23e-05/11.59, allocations: 12 kB / 4.071 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008172/11.59, allocations: 139.8 kB / 4.071 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/11.59, allocations: 71.89 kB / 4.071 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/11.59, allocations: 19.98 kB / 4.071 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000512/11.59, allocations: 391.1 kB / 4.071 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.31e-07/11.59, allocations: 0 / 4.071 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007751/11.6, allocations: 1.202 MB / 4.072 GB, free: 96 kB / 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: 24 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count) * Number of discrete states: 4 (Sine2.count,Sine1.count,Sine4.count,Sine3.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * 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.4148/12.01, allocations: 1.815 MB / 4.074 GB, free: 61.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004516/12.02, allocations: 1.677 MB / 4.076 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/12.02, allocations: 3.281 kB / 4.076 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/12.02, allocations: 0.5915 MB / 4.076 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/12.02, allocations: 342.2 kB / 4.077 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/12.03, allocations: 2.077 MB / 4.079 GB, free: 60.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/12.03, allocations: 1.035 MB / 4.08 GB, free: 59.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001219/12.03, allocations: 386 kB / 4.08 GB, free: 59.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/12.03, allocations: 57.02 kB / 4.08 GB, free: 59.32 MB / 0.5417 GB Notification: Performance of SimCode: time 1.203e-06/12.03, allocations: 0 / 4.08 GB, free: 59.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.07354/12.1, allocations: 45.01 MB / 4.124 GB, free: 57.84 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1)