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.00225/0.002251, allocations: 181.3 kB / 8.346 MB, free: 0.7148 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.112/2.112, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0009675/0.0009673, allocations: 97 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.7181/0.7181, allocations: 48.77 MB / 358.8 MB, free: 53.19 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.055e-05, allocations: 4 kB / 425.3 MB, free: 8.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1965, allocations: 60.26 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.678/8.875, allocations: 2.85 GB / 3.324 GB, free: 21.28 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004061/8.876, allocations: 79.95 kB / 3.324 GB, free: 21.2 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 3.702/12.58, allocations: 0.6707 GB / 3.995 GB, free: 47.61 MB / 0.5265 GB Notification: Performance of FrontEnd: time 3.016e-06/12.58, allocations: 0 / 3.995 GB, free: 47.61 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001907/12.58, allocations: 22.39 kB / 3.995 GB, free: 47.61 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.01248/12.59, allocations: 1.732 MB / 3.997 GB, free: 46.91 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/12.59, allocations: 6.312 kB / 3.997 GB, free: 46.91 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009663/12.59, allocations: 134.5 kB / 3.997 GB, free: 46.86 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/12.59, allocations: 0.5889 MB / 3.998 GB, free: 46.61 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.04e-05/12.59, allocations: 23.09 kB / 3.998 GB, free: 46.61 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/12.59, allocations: 42.78 kB / 3.998 GB, free: 46.61 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001239/12.6, allocations: 448.9 kB / 3.998 GB, free: 46.61 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/12.6, allocations: 0.7893 MB / 3.999 GB, free: 46.27 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/12.6, allocations: 1.688 kB / 3.999 GB, free: 46.27 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/12.6, allocations: 3.875 kB / 3.999 GB, free: 46.27 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/12.6, allocations: 16 kB / 3.999 GB, free: 46.27 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007244/12.6, allocations: 4.569 MB / 4.003 GB, free: 42.93 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/12.61, allocations: 415.8 kB / 4.004 GB, free: 42.87 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/12.61, allocations: 163 kB / 4.004 GB, free: 42.86 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07445/12.68, allocations: 31.99 MB / 4.035 GB, free: 23.5 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/12.68, allocations: 311.4 kB / 4.035 GB, free: 23.43 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=41): time 4.789e-06/12.68, allocations: 0 / 4.035 GB, free: 23.43 MB / 0.5265 GB Notification: Performance of matching and sorting (n=41): time 0.002008/12.68, allocations: 0.5174 MB / 4.036 GB, free: 23.36 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/12.68, allocations: 83.23 kB / 4.036 GB, free: 23.27 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/12.68, allocations: 366.6 kB / 4.036 GB, free: 23.15 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/12.68, allocations: 32.89 kB / 4.036 GB, free: 23.12 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.000545/12.69, allocations: 386.2 kB / 4.037 GB, free: 22.93 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/12.69, allocations: 126.7 kB / 4.037 GB, free: 22.85 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/12.69, allocations: 0 / 4.037 GB, free: 22.85 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0002068/12.69, allocations: 372.2 kB / 4.037 GB, free: 22.53 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/12.69, allocations: 140.3 kB / 4.037 GB, free: 22.53 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/12.69, allocations: 229.1 kB / 4.038 GB, free: 22.43 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/12.69, allocations: 144.6 kB / 4.038 GB, free: 22.43 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/12.69, allocations: 0 / 4.038 GB, free: 22.43 MB / 0.5265 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001142/12.69, allocations: 488.6 kB / 4.038 GB, free: 22.36 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004109/12.69, allocations: 1.156 MB / 4.039 GB, free: 21.15 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/12.69, allocations: 7.469 kB / 4.039 GB, free: 21.15 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/12.69, allocations: 7 kB / 4.039 GB, free: 21.15 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/12.69, allocations: 163 kB / 4.04 GB, free: 21.15 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/12.69, allocations: 9.844 kB / 4.04 GB, free: 21.15 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/12.69, allocations: 154.7 kB / 4.04 GB, free: 21.14 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/12.69, allocations: 25.84 kB / 4.04 GB, free: 21.14 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/12.69, allocations: 9.906 kB / 4.04 GB, free: 21.14 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008494/12.69, allocations: 384.1 kB / 4.04 GB, free: 21.12 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/12.69, allocations: 3 kB / 4.04 GB, free: 21.12 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/12.69, allocations: 8.75 kB / 4.04 GB, free: 21.12 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/12.69, allocations: 159.8 kB / 4.04 GB, free: 21.12 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/12.69, allocations: 7.781 kB / 4.04 GB, free: 21.12 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/12.69, allocations: 145.9 kB / 4.04 GB, free: 21.11 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/12.69, allocations: 28.11 kB / 4.04 GB, free: 21.11 MB / 0.5265 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.0002266/12.69, allocations: 132.1 kB / 4.041 GB, free: 21 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/12.69, allocations: 63.66 kB / 4.041 GB, free: 20.97 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/12.7, allocations: 1.556 MB / 4.042 GB, free: 20.78 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/12.7, allocations: 26.23 kB / 4.042 GB, free: 20.78 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/12.7, allocations: 1.969 kB / 4.042 GB, free: 20.78 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/12.7, allocations: 4.922 kB / 4.042 GB, free: 20.78 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/12.7, allocations: 0.9058 MB / 4.043 GB, free: 20.58 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/12.7, allocations: 0 / 4.043 GB, free: 20.58 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/12.7, allocations: 135.2 kB / 4.043 GB, free: 20.58 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/12.7, allocations: 11.16 kB / 4.043 GB, free: 20.58 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/12.7, allocations: 0 / 4.043 GB, free: 20.58 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/12.7, allocations: 3.812 kB / 4.043 GB, free: 20.58 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/12.7, allocations: 7.891 kB / 4.043 GB, free: 20.57 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/12.7, allocations: 0.8437 MB / 4.044 GB, free: 20.4 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/12.7, allocations: 201.7 kB / 4.044 GB, free: 20.25 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/12.7, allocations: 10.59 kB / 4.044 GB, free: 20.25 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/12.7, allocations: 142.4 kB / 4.044 GB, free: 20.23 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/12.7, allocations: 76.22 kB / 4.044 GB, free: 20.23 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/12.7, allocations: 17.27 kB / 4.044 GB, free: 20.23 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.000371/12.7, allocations: 281.5 kB / 4.045 GB, free: 20.14 MB / 0.5265 GB Notification: Performance of sort global known variables: time 7.21e-07/12.7, allocations: 0 / 4.045 GB, free: 20.14 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.007851/12.71, allocations: 1.143 MB / 4.046 GB, free: 19.96 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: 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.01245/12.72, allocations: 2.132 MB / 4.048 GB, free: 19.66 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002606/12.73, allocations: 1.162 MB / 4.049 GB, free: 19.15 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/12.73, allocations: 0 / 4.049 GB, free: 19.15 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0009853/12.73, allocations: 430.1 kB / 4.049 GB, free: 19.15 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/12.73, allocations: 234.6 kB / 4.05 GB, free: 19.15 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/12.73, allocations: 1.27 MB / 4.051 GB, free: 18.79 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/12.73, allocations: 1.034 MB / 4.052 GB, free: 34.08 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.00125/12.74, allocations: 398.8 kB / 4.052 GB, free: 34.06 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/12.74, allocations: 47.59 kB / 4.052 GB, free: 34.05 MB / 0.5421 GB Notification: Performance of SimCode: time 1.412e-06/12.74, allocations: 0 / 4.052 GB, free: 34.05 MB / 0.5421 GB Notification: Performance of Templates: time 0.05986/12.8, allocations: 33.99 MB / 4.086 GB, free: 32 MB / 0.5421 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)