Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.001907/0.001907, allocations: 112 kB / 20.43 MB, free: 1.457 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.002267/0.002267, allocations: 184.1 kB / 23.71 MB, free: 4.695 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.454/1.454, 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.3041/0.3041, allocations: 49.56 MB / 336.3 MB, free: 4.129 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.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources")
translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") [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.002327/0.002327, allocations: 71.89 kB / 476.8 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1306, allocations: 62.42 MB / 0.5266 GB, free: 13.83 MB / 414.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:297:5-297:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:297:5-297:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model
Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.3714/0.502, allocations: 108.4 MB / 0.6325 GB, free: 9.199 MB / 478.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003007/0.505, allocations: 0.9347 MB / 0.6334 GB, free: 8.262 MB / 478.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009027/0.5059, allocations: 35.56 kB / 0.6334 GB, free: 8.227 MB / 478.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001107/0.507, allocations: 305.5 kB / 0.6337 GB, free: 7.926 MB / 478.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001173/0.5082, allocations: 445 kB / 0.6341 GB, free: 7.488 MB / 478.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01595/0.5241, allocations: 4.582 MB / 0.6386 GB, free: 2.887 MB / 478.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003946/0.5281, allocations: 1.335 MB / 0.6399 GB, free: 1.547 MB / 478.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009309/0.529, allocations: 371.4 kB / 0.6403 GB, free: 1.168 MB / 478.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009262/0.5299, allocations: 474.1 kB / 0.6407 GB, free: 0.7031 MB / 478.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.5306, allocations: 437.8 kB / 0.6411 GB, free: 280 kB / 478.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.5307, allocations: 39.98 kB / 0.6412 GB, free: 240 kB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.5407, allocations: 4.463 MB / 0.6455 GB, free: 11.77 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.5409, allocations: 119.4 kB / 0.6457 GB, free: 11.65 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.5415, allocations: 358 kB / 0.646 GB, free: 11.3 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008763/0.5502, allocations: 3.101 MB / 0.649 GB, free: 8.188 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.5502, allocations: 0 / 0.649 GB, free: 8.188 MB / 494.1 MB
Notification: Performance of FrontEnd: time 2.575e-06/0.5502, allocations: 0 / 0.649 GB, free: 8.188 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 6.274e-05/0.5503, allocations: 0 / 0.649 GB, free: 8.188 MB / 494.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 124
 * Number of variables: 124
Notification: Performance of Generate backend data structure: time 0.00302/0.5533, allocations: 1.258 MB / 0.6503 GB, free: 6.895 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5534, allocations: 8.031 kB / 0.6503 GB, free: 6.887 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.5535, allocations: 96.38 kB / 0.6504 GB, free: 6.793 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007415/0.5543, allocations: 422 kB / 0.6508 GB, free: 6.348 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.5543, allocations: 37.38 kB / 0.6508 GB, free: 6.312 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.5544, allocations: 51.94 kB / 0.6508 GB, free: 6.262 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009127/0.5553, allocations: 0.612 MB / 0.6514 GB, free: 5.527 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.5553, allocations: 7.938 kB / 0.6514 GB, free: 5.52 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.5554, allocations: 24 kB / 0.6515 GB, free: 5.496 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.5554, allocations: 12 kB / 0.6515 GB, free: 5.484 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.5558, allocations: 255.4 kB / 0.6517 GB, free: 5.234 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.5607, allocations: 4.646 MB / 0.6563 GB, free: 408 kB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.5608, allocations: 173.1 kB / 0.6564 GB, free: 224 kB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.5608, allocations: 80.14 kB / 0.6565 GB, free: 140 kB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.5609, allocations: 79.28 kB / 0.6566 GB, free: 60 kB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.561, allocations: 105.8 kB / 0.6567 GB, free: 15.95 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.561, allocations: 0 / 0.6567 GB, free: 15.95 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=0): time 0.0001832/0.5612, allocations: 113.2 kB / 0.6568 GB, free: 15.83 MB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.5613, allocations: 130.6 kB / 0.6569 GB, free: 15.69 MB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.5623, allocations: 0.7764 MB / 0.6577 GB, free: 14.89 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.5623, allocations: 25.7 kB / 0.6577 GB, free: 14.86 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.5627, allocations: 399.4 kB / 0.6581 GB, free: 14.46 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.5627, allocations: 0 / 0.6581 GB, free: 14.46 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.5628, allocations: 41.69 kB / 0.6581 GB, free: 14.41 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0001663/0.5629, allocations: 313.9 kB / 0.6584 GB, free: 14.1 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/0.563, allocations: 16.11 kB / 0.6584 GB, free: 14.09 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.5631, allocations: 90.23 kB / 0.6585 GB, free: 13.96 MB / 0.4981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.5633, allocations: 118.1 kB / 0.6586 GB, free: 13.81 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5633, allocations: 0 / 0.6586 GB, free: 13.81 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003791/0.5636, allocations: 204.9 kB / 0.6588 GB, free: 13.6 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5637, allocations: 4 kB / 0.6588 GB, free: 13.6 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5637, allocations: 4 kB / 0.6588 GB, free: 13.59 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.5637, allocations: 4 kB / 0.6588 GB, free: 13.59 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5638, allocations: 28.3 kB / 0.6589 GB, free: 13.56 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5638, allocations: 8 kB / 0.6589 GB, free: 13.55 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.564, allocations: 47.52 kB / 0.6589 GB, free: 13.51 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.564, allocations: 12 kB / 0.6589 GB, free: 13.5 MB / 0.4981 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 12
 * 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 (12):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0002279/0.5643, allocations: 237 kB / 0.6592 GB, free: 13.25 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.5645, allocations: 192.4 kB / 0.6593 GB, free: 13.06 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.5647, allocations: 171.6 kB / 0.6595 GB, free: 12.88 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.911e-05/0.5648, allocations: 184.2 kB / 0.6597 GB, free: 12.7 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.646e-05/0.5649, allocations: 176.3 kB / 0.6598 GB, free: 12.52 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.038e-05/0.565, allocations: 180.2 kB / 0.66 GB, free: 12.33 MB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.5656, allocations: 0.6212 MB / 0.6606 GB, free: 11.66 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.359e-05/0.5657, allocations: 105 kB / 0.6607 GB, free: 11.55 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.5657, allocations: 108.9 kB / 0.6608 GB, free: 11.44 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.57e-05/0.5658, allocations: 180.3 kB / 0.661 GB, free: 11.25 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.5659, allocations: 184.2 kB / 0.6612 GB, free: 11.07 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.709e-05/0.566, allocations: 192.1 kB / 0.6614 GB, free: 10.87 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.804e-05/0.5661, allocations: 180.3 kB / 0.6615 GB, free: 10.69 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.5664, allocations: 395.2 kB / 0.6619 GB, free: 10.28 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.5665, allocations: 172.4 kB / 0.6621 GB, free: 10.1 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.5667, allocations: 180.3 kB / 0.6622 GB, free: 9.918 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.5669, allocations: 105 kB / 0.6623 GB, free: 9.809 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.567, allocations: 180.2 kB / 0.6625 GB, free: 9.625 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/0.567, allocations: 108.9 kB / 0.6626 GB, free: 9.512 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.0007126/0.5678, allocations: 0.5349 MB / 0.6631 GB, free: 8.965 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 6e-08/0.5678, allocations: 0 / 0.6631 GB, free: 8.965 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.002267/0.57, allocations: 0.7482 MB / 0.6639 GB, free: 8.215 MB / 0.4981 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.002759/0.5728, allocations: 1 MB / 0.6648 GB, free: 7.199 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.0001894/0.573, allocations: 40.55 kB / 0.6649 GB, free: 7.16 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.573, allocations: 4.062 kB / 0.6649 GB, free: 7.156 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 2.215e-06/0.573, allocations: 0 / 0.6649 GB, free: 7.156 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.5753, allocations: 0.8886 MB / 0.6658 GB, free: 6.262 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.577, allocations: 0.9601 MB / 0.6667 GB, free: 5.273 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.5776, allocations: 0.8821 MB / 0.6676 GB, free: 4.363 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 0.0003528/0.5779, allocations: 121.6 kB / 0.6677 GB, free: 4.242 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/0.578, allocations: 51.42 kB / 0.6677 GB, free: 4.191 MB / 0.4981 GB
Notification: Performance of SimCode: time 7.11e-07/0.578, allocations: 0 / 0.6677 GB, free: 4.191 MB / 0.4981 GB
Notification: Performance of Templates: time 0.04593/0.624, allocations: 26.58 MB / 0.6937 GB, free: 9.559 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660]
(rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.16380952578038]
Failed to read output from testmodel.py, exit status != 0:
0.6332843024283648 0.648829821 0.095141262
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fbc10a397b0>