Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 207.6 MB / 234.5 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2927/0.2927, allocations: 49.57 MB / 336.3 MB, free: 4.223 MB / 270.1 MB
"
[Timeout remaining time 179]
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.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic")
translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") [Timeout 660]
"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.002279/0.002279, allocations: 71.89 kB / 476.8 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1221, allocations: 62.42 MB / 0.5266 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4309/0.553, allocations: 161.6 MB / 0.6843 GB, free: 3.766 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.01349/0.5665, allocations: 10 MB / 0.6941 GB, free: 9.742 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.567, allocations: 7.938 kB / 0.6941 GB, free: 9.734 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.5675, allocations: 107.2 kB / 0.6942 GB, free: 9.629 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.005633/0.5731, allocations: 2.108 MB / 0.6963 GB, free: 7.523 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.007598/0.5807, allocations: 2.601 MB / 0.6988 GB, free: 4.922 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.002681/0.5834, allocations: 2.02 MB / 0.7008 GB, free: 2.898 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006836/0.5841, allocations: 0.5078 MB / 0.7013 GB, free: 2.391 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007908/0.5849, allocations: 0.5965 MB / 0.7019 GB, free: 1.793 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.5881, allocations: 1.488 MB / 0.7033 GB, free: 300 kB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.5883, allocations: 104 kB / 0.7034 GB, free: 196 kB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.6002, allocations: 5.955 MB / 0.7092 GB, free: 10.23 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007154/0.6009, allocations: 0.565 MB / 0.7098 GB, free: 9.664 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0008722/0.6018, allocations: 0.6458 MB / 0.7104 GB, free: 9.016 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.008717/0.6105, allocations: 4.378 MB / 0.7147 GB, free: 4.629 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6105, allocations: 0 / 0.7147 GB, free: 4.629 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.874e-06/0.6105, allocations: 4 kB / 0.7147 GB, free: 4.625 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.827e-05/0.6106, allocations: 0 / 0.7147 GB, free: 4.625 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 243
 * Number of variables: 243
Notification: Performance of Generate backend data structure: time 0.005427/0.616, allocations: 1.805 MB / 0.7165 GB, free: 2.785 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.616, allocations: 12.03 kB / 0.7165 GB, free: 2.773 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.6186, allocations: 280.1 kB / 0.7167 GB, free: 2.5 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.6197, allocations: 0.5482 MB / 0.7173 GB, free: 1.926 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.6197, allocations: 74.31 kB / 0.7174 GB, free: 1.852 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.6199, allocations: 92.56 kB / 0.7174 GB, free: 1.762 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.6234, allocations: 1.659 MB / 0.7191 GB, free: 52 kB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.6234, allocations: 11.94 kB / 0.7191 GB, free: 40 kB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.6235, allocations: 40 kB / 0.7191 GB, free: 0 / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/0.6236, allocations: 24.05 kB / 0.7191 GB, free: 15.97 MB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.6274, allocations: 1.678 MB / 0.7208 GB, free: 14.3 MB / 0.5606 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00813/0.6355, allocations: 5.529 MB / 0.7262 GB, free: 8.426 MB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0042/0.6397, allocations: 1.909 MB / 0.728 GB, free: 6.512 MB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.6413, allocations: 0.8694 MB / 0.7289 GB, free: 5.641 MB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.04005/0.6813, allocations: 11.26 MB / 0.7399 GB, free: 10.37 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.974e-05/0.6814, allocations: 60.48 kB / 0.7399 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=180): time 3.717e-06/0.6814, allocations: 0 / 0.7399 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=180): time 0.0685/0.7499, allocations: 14.54 MB / 0.7541 GB, free: 11.73 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.75, allocations: 73.34 kB / 0.7542 GB, free: 11.65 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.7506, allocations: 449.8 kB / 0.7546 GB, free: 11.2 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.7507, allocations: 53.7 kB / 0.7547 GB, free: 11.14 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.751, allocations: 274.4 kB / 0.755 GB, free: 10.87 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006951/0.7517, allocations: 0.6389 MB / 0.7556 GB, free: 10.22 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005016/0.7522, allocations: 291.5 kB / 0.7559 GB, free: 9.934 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 0.0001877/0.7523, allocations: 334 kB / 0.7562 GB, free: 9.602 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.7538, allocations: 0.7417 MB / 0.7569 GB, free: 8.859 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.7554, allocations: 0.9509 MB / 0.7578 GB, free: 7.848 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.7587, allocations: 1.886 MB / 0.7597 GB, free: 5.906 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.7587, allocations: 0 / 0.7597 GB, free: 5.906 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=200) (initialization): time 0.005281/0.764, allocations: 2.692 MB / 0.7623 GB, free: 3.203 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.764, allocations: 8 kB / 0.7623 GB, free: 3.195 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.764, allocations: 4.625 kB / 0.7623 GB, free: 3.191 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.7751, allocations: 2.242 MB / 0.7645 GB, free: 0.9492 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/0.7759, allocations: 163.8 kB / 0.7647 GB, free: 0.7891 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.264/1.04, allocations: 3.529 MB / 0.7681 GB, free: 206.8 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/1.041, allocations: 142.8 kB / 0.7682 GB, free: 206.8 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.041, allocations: 72.34 kB / 0.7683 GB, free: 206.8 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 19
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (65):
 * Single equations (assignments): 64
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(36,100)}
Notification: Performance of prepare postOptimizeDAE: time 0.0005482/1.042, allocations: 333 kB / 0.7686 GB, free: 206.7 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/1.042, allocations: 107.2 kB / 0.7687 GB, free: 206.7 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.056, allocations: 9.289 MB / 0.7778 GB, free: 203 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001532/1.056, allocations: 114.6 kB / 0.7779 GB, free: 203 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.056, allocations: 2.125 kB / 0.7779 GB, free: 203 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-05/1.056, allocations: 13.75 kB / 0.7779 GB, free: 203 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.071, allocations: 10.74 MB / 0.7884 GB, free: 198.6 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.071, allocations: 0 / 0.7884 GB, free: 198.6 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/1.071, allocations: 118.4 kB / 0.7885 GB, free: 198.6 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01455/1.086, allocations: 4.952 MB / 0.7934 GB, free: 197.5 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004841/1.087, allocations: 51.5 kB / 0.7934 GB, free: 197.4 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009618/1.096, allocations: 8.165 MB / 0.8014 GB, free: 193.5 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.096, allocations: 2.938 kB / 0.8014 GB, free: 193.5 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007842/1.104, allocations: 7.439 MB / 0.8086 GB, free: 187.6 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.105, allocations: 0.5449 MB / 0.8092 GB, free: 187 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/1.105, allocations: 57.05 kB / 0.8092 GB, free: 187 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008003/1.106, allocations: 75.89 kB / 0.8093 GB, free: 186.9 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/1.106, allocations: 148.5 kB / 0.8094 GB, free: 186.8 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.106, allocations: 71.98 kB / 0.8095 GB, free: 186.7 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.0004291/1.107, allocations: 410.8 kB / 0.8099 GB, free: 186.3 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 9e-08/1.107, allocations: 0 / 0.8099 GB, free: 186.3 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.002627/1.11, allocations: 1.198 MB / 0.8111 GB, free: 185.1 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (73):
 * Single equations (assignments): 53
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 19
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(36,147)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.003364/1.113, allocations: 1.024 MB / 0.8121 GB, free: 184.2 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.005584/1.118, allocations: 3.406 MB / 0.8154 GB, free: 180.8 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.118, allocations: 0 / 0.8154 GB, free: 180.8 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.00385/1.122, allocations: 2.391 MB / 0.8177 GB, free: 178.4 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/1.125, allocations: 0.7537 MB / 0.8185 GB, free: 177.7 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/1.132, allocations: 5.362 MB / 0.8237 GB, free: 172.3 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008083/1.132, allocations: 1.591 MB / 0.8253 GB, free: 170.6 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.0007307/1.133, allocations: 388.8 kB / 0.8256 GB, free: 170.3 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/1.133, allocations: 73.27 kB / 0.8257 GB, free: 170.2 MB / 0.5919 GB
Notification: Performance of SimCode: time 1.362e-06/1.133, allocations: 0 / 0.8257 GB, free: 170.2 MB / 0.5919 GB
Notification: Performance of Templates: time 0.08711/1.22, allocations: 78.09 MB / 0.902 GB, free: 92.04 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile [Timeout 660]
(rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 20.87198399566114]
Failed to read output from testmodel.py, exit status != 0:
1.2295141043141484 1.238314416 0.625234905
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f23d77d97b0>