Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 181.4 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.208/2.208, 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.0008872/0.0008874, allocations: 83.62 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.6622/0.6622, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.722e-05, allocations: 4 kB / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1714, allocations: 60.26 MB / 485.5 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.363/9.534, allocations: 2.85 GB / 3.324 GB, free: 135.9 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/9.535, allocations: 79.62 kB / 3.324 GB, free: 135.9 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.687/12.22, allocations: 0.6387 GB / 3.963 GB, free: 49.16 MB / 0.5265 GB Notification: Performance of FrontEnd: time 3.256e-06/12.22, allocations: 2.219 kB / 3.963 GB, free: 49.16 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 7.128e-05/12.22, allocations: 19.06 kB / 3.963 GB, free: 49.16 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.008018/12.23, allocations: 1.711 MB / 3.965 GB, free: 48.32 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/12.23, allocations: 11.28 kB / 3.965 GB, free: 48.32 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/12.23, allocations: 121.8 kB / 3.965 GB, free: 48.28 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/12.23, allocations: 0.5898 MB / 3.965 GB, free: 48 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/12.23, allocations: 24.78 kB / 3.966 GB, free: 48 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.571e-05/12.23, allocations: 42.7 kB / 3.966 GB, free: 48 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000872/12.23, allocations: 444.8 kB / 3.966 GB, free: 48 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/12.23, allocations: 0.7585 MB / 3.967 GB, free: 47.68 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/12.23, allocations: 11.58 kB / 3.967 GB, free: 47.68 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/12.23, allocations: 7.703 kB / 3.967 GB, free: 47.68 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/12.23, allocations: 14.53 kB / 3.967 GB, free: 47.68 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/12.24, allocations: 4.263 MB / 3.971 GB, free: 44.51 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007171/12.24, allocations: 428.8 kB / 3.971 GB, free: 44.45 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/12.24, allocations: 177 kB / 3.972 GB, free: 44.44 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06583/12.31, allocations: 31.98 MB / 4.003 GB, free: 25.02 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009657/12.31, allocations: 314 kB / 4.003 GB, free: 24.96 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=42): time 4.198e-06/12.31, allocations: 4 kB / 4.003 GB, free: 24.95 MB / 0.5265 GB Notification: Performance of matching and sorting (n=42): time 0.001858/12.31, allocations: 0.5332 MB / 4.004 GB, free: 24.88 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/12.31, allocations: 87.83 kB / 4.004 GB, free: 24.79 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/12.31, allocations: 359.2 kB / 4.004 GB, free: 24.68 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 8.668e-05/12.31, allocations: 32.45 kB / 4.004 GB, free: 24.64 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/12.31, allocations: 373.1 kB / 4.004 GB, free: 24.46 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/12.31, allocations: 120.3 kB / 4.004 GB, free: 24.38 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/12.31, allocations: 3.406 kB / 4.004 GB, free: 24.38 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001867/12.31, allocations: 366.8 kB / 4.005 GB, free: 24.06 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/12.31, allocations: 145.4 kB / 4.005 GB, free: 24.06 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/12.31, allocations: 213.7 kB / 4.005 GB, free: 24 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/12.31, allocations: 147.2 kB / 4.005 GB, free: 24 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/12.31, allocations: 0 / 4.005 GB, free: 24 MB / 0.5265 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009206/12.31, allocations: 486.6 kB / 4.006 GB, free: 23.93 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002558/12.31, allocations: 0.8152 MB / 4.007 GB, free: 23.06 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/12.31, allocations: 0 / 4.007 GB, free: 23.06 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/12.31, allocations: 6.938 kB / 4.007 GB, free: 23.06 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/12.31, allocations: 159.3 kB / 4.007 GB, free: 23.06 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/12.31, allocations: 5.438 kB / 4.007 GB, free: 23.06 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009956/12.31, allocations: 158.5 kB / 4.007 GB, free: 23.03 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/12.31, allocations: 21.88 kB / 4.007 GB, free: 23.03 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 8.637e-06/12.31, allocations: 3.75 kB / 4.007 GB, free: 23.03 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000714/12.31, allocations: 374.3 kB / 4.007 GB, free: 23.02 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/12.31, allocations: 3.062 kB / 4.007 GB, free: 23.02 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/12.31, allocations: 6.797 kB / 4.007 GB, free: 23.02 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/12.32, allocations: 164.4 kB / 4.007 GB, free: 23.01 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/12.32, allocations: 10.36 kB / 4.007 GB, free: 23.01 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/12.32, allocations: 148.5 kB / 4.008 GB, free: 22.98 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/12.32, allocations: 17.97 kB / 4.008 GB, free: 22.98 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$PRE.Sine1.T_start,Sine1.T_start,$PRE.Sine1.count,Sine1.count,$PRE.Sine2.T_start,Sine2.T_start,$PRE.Sine2.count,Sine2.count,$whenCondition2,$whenCondition1,$PRE.Sine3.T_start,Sine3.T_start,$PRE.Sine3.count,Sine3.count,$PRE.Sine4.T_start,Sine4.T_start,$PRE.Sine4.count,Sine4.count,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 (54): * Single equations (assignments): 50 * 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.0001789/12.32, allocations: 126.9 kB / 4.008 GB, free: 22.88 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/12.32, allocations: 67.06 kB / 4.008 GB, free: 22.84 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/12.32, allocations: 1.569 MB / 4.009 GB, free: 22.65 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/12.32, allocations: 26.78 kB / 4.009 GB, free: 22.64 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/12.32, allocations: 0 / 4.009 GB, free: 22.64 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/12.32, allocations: 3.891 kB / 4.009 GB, free: 22.64 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/12.32, allocations: 0.9108 MB / 4.01 GB, free: 22.44 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/12.32, allocations: 4 kB / 4.01 GB, free: 22.43 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/12.32, allocations: 138.7 kB / 4.01 GB, free: 22.43 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/12.32, allocations: 2.438 kB / 4.01 GB, free: 22.43 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/12.32, allocations: 9.203 kB / 4.01 GB, free: 22.43 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/12.32, allocations: 3.75 kB / 4.01 GB, free: 22.43 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/12.32, allocations: 0 / 4.01 GB, free: 22.43 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/12.32, allocations: 0.8629 MB / 4.011 GB, free: 22.25 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/12.32, allocations: 205.6 kB / 4.011 GB, free: 22.1 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/12.32, allocations: 5.5 kB / 4.011 GB, free: 22.1 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/12.32, allocations: 142.3 kB / 4.012 GB, free: 22.08 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/12.32, allocations: 75.64 kB / 4.012 GB, free: 22.07 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/12.32, allocations: 22.67 kB / 4.012 GB, free: 22.07 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0002591/12.32, allocations: 269.9 kB / 4.012 GB, free: 21.98 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.4e-07/12.32, allocations: 4 kB / 4.012 GB, free: 21.98 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.00573/12.33, allocations: 1.133 MB / 4.013 GB, free: 21.8 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,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count) * Number of discrete states: 4 (Sine3.count,Sine4.count,Sine1.count,Sine2.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 34 * 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.009785/12.34, allocations: 2.067 MB / 4.015 GB, free: 21.41 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002876/12.34, allocations: 1.184 MB / 4.016 GB, free: 20.89 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/12.34, allocations: 0 / 4.016 GB, free: 20.89 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0009594/12.34, allocations: 434.1 kB / 4.017 GB, free: 20.89 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/12.34, allocations: 237.7 kB / 4.017 GB, free: 20.87 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/12.35, allocations: 1.29 MB / 4.018 GB, free: 20.51 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/12.35, allocations: 1.027 MB / 4.019 GB, free: 19.79 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.00138/12.35, allocations: 422.6 kB / 4.02 GB, free: 19.76 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/12.35, allocations: 46.89 kB / 4.02 GB, free: 19.76 MB / 0.5265 GB Notification: Performance of SimCode: time 8.41e-07/12.35, allocations: 0 / 4.02 GB, free: 19.76 MB / 0.5265 GB Notification: Performance of Templates: time 0.05294/12.4, allocations: 33.89 MB / 4.053 GB, free: 17.27 MB / 0.5265 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1)