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.001176/0.001176, allocations: 175.6 kB / 13.63 MB, free: 1.684 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.008/2.008, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.001031/0.001031, allocations: 86.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3833/0.3833, allocations: 48.78 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.103e-05/5.162e-05, allocations: 0 / 432.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 60.26 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.145/9.318, allocations: 2.851 GB / 3.332 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/9.319, allocations: 75.64 kB / 3.332 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.205/11.52, allocations: 0.6755 GB / 4.008 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.322e-06/11.52, allocations: 0 / 4.008 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.148e-05/11.52, allocations: 18.53 kB / 4.008 GB, free: 46.54 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.005928/11.53, allocations: 1.725 MB / 4.009 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/11.53, allocations: 10.38 kB / 4.009 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/11.53, allocations: 123.8 kB / 4.009 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/11.53, allocations: 0.5894 MB / 4.01 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/11.53, allocations: 53.97 kB / 4.01 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/11.53, allocations: 68.19 kB / 4.01 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/11.53, allocations: 1.005 MB / 4.011 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/11.53, allocations: 3.703 kB / 4.011 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/11.53, allocations: 30.44 kB / 4.011 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/11.53, allocations: 17.81 kB / 4.011 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/11.53, allocations: 0.585 MB / 4.012 GB, free: 44.24 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/11.54, allocations: 4.737 MB / 4.016 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/11.54, allocations: 0.515 MB / 4.017 GB, free: 40.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/11.54, allocations: 176.2 kB / 4.017 GB, free: 40 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05372/11.59, allocations: 31.97 MB / 4.048 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/11.59, allocations: 435.9 kB / 4.049 GB, free: 19.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 3.847e-06/11.59, allocations: 0 / 4.049 GB, free: 19.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.001645/11.6, allocations: 0.6414 MB / 4.049 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/11.6, allocations: 87.88 kB / 4.049 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/11.6, allocations: 0.4957 MB / 4.05 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/11.6, allocations: 37.27 kB / 4.05 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/11.6, allocations: 378.7 kB / 4.05 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/11.6, allocations: 133.5 kB / 4.05 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/11.6, allocations: 4 kB / 4.05 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001021/11.6, allocations: 378.2 kB / 4.051 GB, free: 18.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/11.6, allocations: 144.4 kB / 4.051 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/11.6, allocations: 239.2 kB / 4.051 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/11.6, allocations: 257.3 kB / 4.051 GB, free: 17.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/11.6, allocations: 0 / 4.051 GB, free: 17.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008066/11.6, allocations: 0.611 MB / 4.052 GB, free: 17.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002274/11.6, allocations: 1.156 MB / 4.053 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/11.6, allocations: 2.344 kB / 4.053 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/11.6, allocations: 5.688 kB / 4.053 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/11.6, allocations: 172.4 kB / 4.053 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/11.6, allocations: 6.562 kB / 4.053 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/11.6, allocations: 179 kB / 4.053 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/11.6, allocations: 25.42 kB / 4.053 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/11.6, allocations: 3.938 kB / 4.053 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006596/11.6, allocations: 0.5196 MB / 4.054 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/11.6, allocations: 3.438 kB / 4.054 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/11.6, allocations: 11.78 kB / 4.054 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/11.6, allocations: 166.8 kB / 4.054 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/11.6, allocations: 7.062 kB / 4.054 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/11.6, allocations: 170.2 kB / 4.054 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/11.6, allocations: 23.94 kB / 4.054 GB, free: 15.84 MB / 0.5261 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 () * 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.0001284/11.6, allocations: 143.6 kB / 4.054 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/11.6, allocations: 73.17 kB / 4.055 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/11.6, allocations: 1.599 MB / 4.056 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/11.6, allocations: 24.14 kB / 4.056 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/11.6, allocations: 0 / 4.056 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/11.6, allocations: 4 kB / 4.056 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009971/11.61, allocations: 1.038 MB / 4.057 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/11.61, allocations: 0 / 4.057 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/11.61, allocations: 136.5 kB / 4.057 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/11.61, allocations: 3.562 kB / 4.057 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/11.61, allocations: 18.42 kB / 4.057 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/11.61, allocations: 0 / 4.057 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/11.61, allocations: 3.875 kB / 4.057 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/11.61, allocations: 0.8852 MB / 4.058 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/11.61, allocations: 222.5 kB / 4.058 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/11.61, allocations: 11.69 kB / 4.058 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/11.61, allocations: 139.4 kB / 4.059 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/11.61, allocations: 72.98 kB / 4.059 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/11.61, allocations: 23.2 kB / 4.059 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003513/11.61, allocations: 390.4 kB / 4.059 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/11.61, allocations: 0 / 4.059 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004921/11.61, allocations: 1.204 MB / 4.06 GB, free: 13.19 MB / 0.5261 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) * 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.007553/11.62, allocations: 1.814 MB / 4.062 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001896/11.62, allocations: 1.21 MB / 4.063 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/11.62, allocations: 1.25 kB / 4.063 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004841/11.62, allocations: 438.6 kB / 4.064 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/11.63, allocations: 348.7 kB / 4.064 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/11.63, allocations: 1.295 MB / 4.065 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/11.63, allocations: 1.039 MB / 4.066 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009288/11.63, allocations: 414.6 kB / 4.067 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/11.63, allocations: 51.92 kB / 4.067 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/11.63, allocations: 0 / 4.067 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.3778/12.01, allocations: 50.72 MB / 4.116 GB, free: 65.15 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)