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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 97.16 kB / 16.61 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 189.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2868/0.2868, allocations: 48.84 MB / 319.6 MB, free: 11.27 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 69.19 kB / 389.6 MB, free: 48.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1007, allocations: 59.16 MB / 448.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.304/0.4047, allocations: 110 MB / 0.5456 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.4189, allocations: 11.89 MB / 0.5572 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.4203, allocations: 27.5 kB / 0.5572 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.4218, allocations: 0.5015 MB / 0.5577 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.4232, allocations: 0.6131 MB / 0.5583 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01595/0.4391, allocations: 5.078 MB / 0.5633 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.442, allocations: 1.869 MB / 0.5651 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.4433, allocations: 0.6928 MB / 0.5658 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.4446, allocations: 0.7097 MB / 0.5665 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.4454, allocations: 0.728 MB / 0.5672 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.4455, allocations: 77.97 kB / 0.5673 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01083/0.4563, allocations: 6.367 MB / 0.5735 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.4567, allocations: 190.5 kB / 0.5737 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008562/0.4575, allocations: 496.9 kB / 0.5741 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009452/0.467, allocations: 4.439 MB / 0.5785 GB, free: 2.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.467, allocations: 3.938 kB / 0.5785 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.467, allocations: 0 / 0.5785 GB, free: 2.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.4671, allocations: 0 / 0.5785 GB, free: 2.09 MB / 414.1 MB 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.004474/0.4715, allocations: 1.858 MB / 0.5803 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4716, allocations: 11.67 kB / 0.5803 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.4719, allocations: 133 kB / 0.5804 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.4725, allocations: 0.5146 MB / 0.5809 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.4725, allocations: 55.33 kB / 0.581 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/0.4726, allocations: 71.53 kB / 0.5811 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.4747, allocations: 0.9695 MB / 0.582 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.4747, allocations: 6.812 kB / 0.582 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.4748, allocations: 27.69 kB / 0.582 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.4748, allocations: 22.56 kB / 0.5821 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.4779, allocations: 0.8137 MB / 0.5829 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/0.4837, allocations: 4.673 MB / 0.5874 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/0.4862, allocations: 0.7108 MB / 0.5881 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008169/0.487, allocations: 294.1 kB / 0.5884 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05931/0.5463, allocations: 31.99 MB / 0.6196 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/0.548, allocations: 0.5031 MB / 0.6201 GB, free: 11.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.548, allocations: 0 / 0.6201 GB, free: 11.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=42): time 0.003746/0.5517, allocations: 1.07 MB / 0.6212 GB, free: 9.969 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.5518, allocations: 97.05 kB / 0.6213 GB, free: 9.855 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.5526, allocations: 0.5627 MB / 0.6218 GB, free: 9.285 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/0.5526, allocations: 37.7 kB / 0.6218 GB, free: 9.242 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.553, allocations: 368.4 kB / 0.6222 GB, free: 8.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.5531, allocations: 148 kB / 0.6223 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.5533, allocations: 94.23 kB / 0.6224 GB, free: 8.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5535, allocations: 378.7 kB / 0.6228 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008845/0.5544, allocations: 274.9 kB / 0.623 GB, free: 7.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.5553, allocations: 362.5 kB / 0.6234 GB, free: 7.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.557, allocations: 0.6698 MB / 0.624 GB, free: 6.867 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.5571, allocations: 8 kB / 0.6241 GB, free: 6.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002237/0.5593, allocations: 0.8451 MB / 0.6249 GB, free: 5.984 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.012e-05/0.5594, allocations: 123 kB / 0.625 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5594, allocations: 4 kB / 0.625 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5594, allocations: 4 kB / 0.625 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.5601, allocations: 135.8 kB / 0.6251 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.5601, allocations: 14.38 kB / 0.6252 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008588/0.561, allocations: 151.2 kB / 0.6253 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.561, allocations: 20 kB / 0.6253 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009634/0.562, allocations: 381 kB / 0.6257 GB, free: 5.141 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000825/0.5628, allocations: 345.4 kB / 0.626 GB, free: 4.762 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001608/0.5645, allocations: 0.6546 MB / 0.6266 GB, free: 4.039 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.5645, allocations: 4 kB / 0.6266 GB, free: 4.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.002113/0.5666, allocations: 0.8112 MB / 0.6274 GB, free: 3.191 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/0.5667, allocations: 114.8 kB / 0.6276 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.5667, allocations: 4 kB / 0.6276 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.5667, allocations: 4.344 kB / 0.6276 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.5673, allocations: 139.8 kB / 0.6277 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5673, allocations: 8 kB / 0.6277 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009091/0.5682, allocations: 135.5 kB / 0.6278 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.5683, allocations: 23.98 kB / 0.6279 GB, free: 2.746 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 (Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition3,$whenCondition4,Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.5686, allocations: 234.1 kB / 0.6281 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5687, allocations: 63.25 kB / 0.6281 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.5717, allocations: 1.84 MB / 0.6299 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.5717, allocations: 27.97 kB / 0.63 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5718, allocations: 0 / 0.63 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.5718, allocations: 3.984 kB / 0.63 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.5746, allocations: 1.986 MB / 0.6319 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.5746, allocations: 7.969 kB / 0.6319 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.5752, allocations: 111.8 kB / 0.632 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.5752, allocations: 0 / 0.632 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.5753, allocations: 10.25 kB / 0.632 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.5753, allocations: 4 kB / 0.632 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5753, allocations: 3.984 kB / 0.632 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.5776, allocations: 1.184 MB / 0.6332 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.578, allocations: 219.5 kB / 0.6334 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5781, allocations: 15.94 kB / 0.6334 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/0.5788, allocations: 107.9 kB / 0.6335 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.5791, allocations: 83.84 kB / 0.6336 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.5791, allocations: 19.98 kB / 0.6336 GB, free: 12.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00043/0.5796, allocations: 391.1 kB / 0.634 GB, free: 12.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5796, allocations: 0 / 0.634 GB, free: 12.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003218/0.5828, allocations: 1.131 MB / 0.6351 GB, free: 11.23 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count) * Number of discrete states: 4 (Sine3.count,Sine4.count,Sine2.count,Sine1.count) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003999/0.5868, allocations: 0.9965 MB / 0.6361 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003517/0.5903, allocations: 1.566 MB / 0.6376 GB, free: 8.645 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.5904, allocations: 0 / 0.6376 GB, free: 8.645 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.5916, allocations: 0.5672 MB / 0.6382 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.5934, allocations: 367.4 kB / 0.6385 GB, free: 7.719 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.5964, allocations: 2.118 MB / 0.6406 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.5969, allocations: 1.011 MB / 0.6416 GB, free: 4.531 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008255/0.5978, allocations: 384.5 kB / 0.6419 GB, free: 4.152 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.598, allocations: 67.42 kB / 0.642 GB, free: 4.086 MB / 478.1 MB Notification: Performance of SimCode: time 4.7e-07/0.598, allocations: 4 kB / 0.642 GB, free: 4.082 MB / 478.1 MB Notification: Performance of Templates: time 0.05523/0.6532, allocations: 41.68 MB / 0.6827 GB, free: 10.38 MB / 0.5137 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)