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.001109/0.001109, allocations: 94.02 kB / 16.65 MB, free: 6.602 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.001289/0.001289, allocations: 174.6 kB / 17.56 MB, free: 6.203 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.369/1.369, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.277/0.277, allocations: 48.79 MB / 320.8 MB, free: 11.1 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.0008461/0.0008458, allocations: 14.59 kB / 391.8 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1366, allocations: 60.26 MB / 452.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.3705/0.5071, allocations: 109.2 MB / 0.5482 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.5204, allocations: 12.4 MB / 0.5603 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007566/0.5212, allocations: 21.91 kB / 0.5603 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.5225, allocations: 490.3 kB / 0.5608 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.5238, allocations: 0.6403 MB / 0.5614 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01342/0.5373, allocations: 4.667 MB / 0.5659 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00363/0.5409, allocations: 2.781 MB / 0.5687 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009818/0.5419, allocations: 0.5845 MB / 0.5692 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.543, allocations: 0.6232 MB / 0.5698 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008001/0.5438, allocations: 0.7059 MB / 0.5705 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.661e-05/0.5439, allocations: 50.91 kB / 0.5706 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.5572, allocations: 6.365 MB / 0.5768 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.5577, allocations: 155.8 kB / 0.5769 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009386/0.5586, allocations: 489 kB / 0.5774 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009546/0.5682, allocations: 4.383 MB / 0.5817 GB, free: 1.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5682, allocations: 0 / 0.5817 GB, free: 1.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5682, allocations: 0 / 0.5817 GB, free: 1.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.5682, allocations: 0 / 0.5817 GB, free: 1.969 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.004094/0.5723, allocations: 1.752 MB / 0.5834 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5724, allocations: 6.781 kB / 0.5834 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.5727, allocations: 124.6 kB / 0.5835 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.5733, allocations: 0.5248 MB / 0.584 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.5733, allocations: 58.31 kB / 0.5841 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.353e-05/0.5734, allocations: 65.22 kB / 0.5841 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.5755, allocations: 1.034 MB / 0.5852 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5756, allocations: 6.688 kB / 0.5852 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.548e-05/0.5756, allocations: 28.09 kB / 0.5852 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.5756, allocations: 19.19 kB / 0.5852 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.5782, allocations: 0.8901 MB / 0.5861 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/0.5827, allocations: 4.715 MB / 0.5907 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.5852, allocations: 0.8099 MB / 0.5915 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009432/0.5862, allocations: 340.6 kB / 0.5918 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06429/0.6505, allocations: 32.3 MB / 0.6233 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.6522, allocations: 0.5611 MB / 0.6239 GB, free: 11.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.274e-06/0.6522, allocations: 0 / 0.6239 GB, free: 11.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=42): time 0.004093/0.6563, allocations: 1.208 MB / 0.6251 GB, free: 10.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.6564, allocations: 88.98 kB / 0.6252 GB, free: 10.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/0.657, allocations: 0.5576 MB / 0.6257 GB, free: 9.762 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.6571, allocations: 44.62 kB / 0.6257 GB, free: 9.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.6573, allocations: 371.4 kB / 0.6261 GB, free: 9.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.6575, allocations: 137.3 kB / 0.6262 GB, free: 9.371 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-05/0.6576, allocations: 49 kB / 0.6263 GB, free: 9.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6577, allocations: 377.5 kB / 0.6266 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.6587, allocations: 313.7 kB / 0.6269 GB, free: 8.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.6598, allocations: 413 kB / 0.6273 GB, free: 8.355 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.6618, allocations: 0.7786 MB / 0.6281 GB, free: 7.641 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6618, allocations: 0 / 0.6281 GB, free: 7.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002383/0.6642, allocations: 0.9521 MB / 0.629 GB, free: 6.699 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.6644, allocations: 281.4 kB / 0.6293 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6644, allocations: 0 / 0.6293 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6645, allocations: 8 kB / 0.6293 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/0.6652, allocations: 159.8 kB / 0.6294 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6652, allocations: 11.94 kB / 0.6295 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.6661, allocations: 171.3 kB / 0.6296 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.6662, allocations: 30.11 kB / 0.6296 GB, free: 5.988 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.6662, allocations: 4 kB / 0.6296 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002188/0.6684, allocations: 0.8536 MB / 0.6305 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6684, allocations: 4 kB / 0.6305 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/0.6684, allocations: 4 kB / 0.6305 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.669, allocations: 163.8 kB / 0.6306 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6691, allocations: 7.938 kB / 0.6307 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.6699, allocations: 175.2 kB / 0.6308 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.6699, allocations: 20 kB / 0.6308 GB, free: 4.738 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.000312/0.6702, allocations: 279.1 kB / 0.6311 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.6703, allocations: 75.09 kB / 0.6312 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00327/0.6736, allocations: 1.934 MB / 0.6331 GB, free: 2.434 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.6736, allocations: 23.95 kB / 0.6331 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.6737, allocations: 0 / 0.6331 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6737, allocations: 0 / 0.6331 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.6764, allocations: 2.036 MB / 0.6351 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6764, allocations: 0 / 0.6351 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.677, allocations: 139.8 kB / 0.6352 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6771, allocations: 4 kB / 0.6352 GB, free: 188 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.6771, allocations: 13 kB / 0.6352 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6771, allocations: 4 kB / 0.6352 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6771, allocations: 3.938 kB / 0.6352 GB, free: 168 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.6797, allocations: 1.279 MB / 0.6365 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.6799, allocations: 219.6 kB / 0.6367 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.838e-05/0.68, allocations: 12 kB / 0.6367 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008289/0.6809, allocations: 139.7 kB / 0.6368 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.6811, allocations: 83.83 kB / 0.6369 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.6811, allocations: 14.81 kB / 0.6369 GB, free: 14.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004089/0.6816, allocations: 399.1 kB / 0.6373 GB, free: 14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6816, allocations: 0 / 0.6373 GB, free: 14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00285/0.6844, allocations: 1.124 MB / 0.6384 GB, free: 12.88 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.003302/0.6877, allocations: 0.9903 MB / 0.6394 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003712/0.6915, allocations: 1.683 MB / 0.641 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6915, allocations: 0 / 0.641 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.6928, allocations: 0.6139 MB / 0.6416 GB, free: 9.562 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.6949, allocations: 358.9 kB / 0.642 GB, free: 9.215 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.6978, allocations: 2.151 MB / 0.6441 GB, free: 7.027 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.6984, allocations: 1.015 MB / 0.6451 GB, free: 5.984 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007229/0.6992, allocations: 384.5 kB / 0.6454 GB, free: 5.609 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.6994, allocations: 59.42 kB / 0.6455 GB, free: 5.551 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6994, allocations: 0 / 0.6455 GB, free: 5.551 MB / 478.1 MB Notification: Performance of Templates: time 0.0551/0.7545, allocations: 40.87 MB / 0.6854 GB, free: 12.64 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: