Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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.001823/0.001823, allocations: 110 kB / 18.93 MB, free: 2.945 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.002445/0.002445, allocations: 191.2 kB / 22.23 MB, free: 5.156 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.287/1.287, allocations: 177.9 MB / 484.2 MB, free: 5.359 MB / 382.1 MB
"
[Timeout remaining time 178]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example")
translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.66 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6659/0.668, allocations: 95.17 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04894/0.717, allocations: 42.8 MB / 0.8087 GB, free: 9.887 MB / 0.6075 GB
Notification: Performance of NFInst.instExpressions: time 0.01965/0.7366, allocations: 11.12 MB / 0.8196 GB, free: 1.941 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.7394, allocations: 73.28 kB / 0.8196 GB, free: 1.902 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 0.002335/0.7417, allocations: 0.5704 MB / 0.8202 GB, free: 1.523 MB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 0.007586/0.7493, allocations: 1.463 MB / 0.8216 GB, free: 424 kB / 0.6075 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005533/0.7549, allocations: 1.363 MB / 0.823 GB, free: 15.36 MB / 0.6231 GB
Notification: Performance of NFFlatten.flatten: time 0.005775/0.7606, allocations: 2.71 MB / 0.8256 GB, free: 13.75 MB / 0.6231 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.7624, allocations: 0.8484 MB / 0.8264 GB, free: 13.12 MB / 0.6231 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004268/0.7667, allocations: 1.246 MB / 0.8276 GB, free: 12.36 MB / 0.6231 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.7682, allocations: 0.833 MB / 0.8285 GB, free: 11.83 MB / 0.6231 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.7684, allocations: 108.7 kB / 0.8286 GB, free: 11.83 MB / 0.6231 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.7708, allocations: 0.7236 MB / 0.8293 GB, free: 11.52 MB / 0.6231 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004104/0.7712, allocations: 285.5 kB / 0.8295 GB, free: 11.29 MB / 0.6231 GB
Notification: Performance of NFVerifyModel.verify: time 0.0009089/0.7721, allocations: 0.6107 MB / 0.8301 GB, free: 10.87 MB / 0.6231 GB
Notification: Performance of NFConvertDAE.convert: time 0.004632/0.7767, allocations: 1.853 MB / 0.8319 GB, free: 9.621 MB / 0.6231 GB
Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.7767, allocations: 0 / 0.8319 GB, free: 9.621 MB / 0.6231 GB
Notification: Performance of FrontEnd: time 3.436e-06/0.7767, allocations: 1.125 kB / 0.8319 GB, free: 9.621 MB / 0.6231 GB
Notification: Performance of Transformations before backend: time 2.351e-05/0.7767, allocations: 0 / 0.8319 GB, free: 9.621 MB / 0.6231 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 196
 * Number of variables: 196
Notification: Performance of Generate backend data structure: time 0.003447/0.7802, allocations: 1.475 MB / 0.8334 GB, free: 8.484 MB / 0.6231 GB
Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7802, allocations: 9.25 kB / 0.8334 GB, free: 8.484 MB / 0.6231 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.7822, allocations: 330.5 kB / 0.8337 GB, free: 8.32 MB / 0.6231 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.7844, allocations: 0.8872 MB / 0.8346 GB, free: 7.637 MB / 0.6231 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.7845, allocations: 62.81 kB / 0.8346 GB, free: 7.609 MB / 0.6231 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.7846, allocations: 83.95 kB / 0.8347 GB, free: 7.578 MB / 0.6231 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.787, allocations: 0.9999 MB / 0.8357 GB, free: 6.914 MB / 0.6231 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.787, allocations: 1.375 kB / 0.8357 GB, free: 6.914 MB / 0.6231 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.7871, allocations: 40.16 kB / 0.8357 GB, free: 6.883 MB / 0.6231 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.7871, allocations: 20.06 kB / 0.8358 GB, free: 6.883 MB / 0.6231 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.7895, allocations: 0.8277 MB / 0.8366 GB, free: 6.469 MB / 0.6231 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.006422/0.7959, allocations: 3.967 MB / 0.8404 GB, free: 3.027 MB / 0.6231 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.7979, allocations: 0.584 MB / 0.841 GB, free: 2.715 MB / 0.6231 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008941/0.7988, allocations: 302 kB / 0.8413 GB, free: 2.559 MB / 0.6231 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/0.7994, allocations: 113.6 kB / 0.8414 GB, free: 2.516 MB / 0.6231 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.8005, allocations: 441.8 kB / 0.8418 GB, free: 2.23 MB / 0.6231 GB
Notification: Performance of pre-optimization done (n=47): time 2.835e-06/0.8005, allocations: 0 / 0.8418 GB, free: 2.23 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=47): time 0.003233/0.8038, allocations: 0.9707 MB / 0.8428 GB, free: 1.738 MB / 0.6231 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.42e-05/0.8039, allocations: 111.9 kB / 0.8429 GB, free: 1.609 MB / 0.6231 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.8052, allocations: 0.8782 MB / 0.8437 GB, free: 1.102 MB / 0.6231 GB
Notification: Performance of collectPreVariables (initialization): time 9.151e-05/0.8053, allocations: 37.02 kB / 0.8438 GB, free: 1.062 MB / 0.6231 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.8058, allocations: 494.7 kB / 0.8442 GB, free: 0.6328 MB / 0.6231 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.806, allocations: 167.7 kB / 0.8444 GB, free: 500 kB / 0.6231 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.8062, allocations: 142.3 kB / 0.8445 GB, free: 408 kB / 0.6231 GB
Notification: Performance of setup shared object (initialization): time 0.0001733/0.8064, allocations: 328 kB / 0.8449 GB, free: 80 kB / 0.6231 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009861/0.8074, allocations: 294.7 kB / 0.8451 GB, free: 15.93 MB / 0.6387 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.8086, allocations: 490.4 kB / 0.8456 GB, free: 15.55 MB / 0.6387 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.8106, allocations: 0.7836 MB / 0.8464 GB, free: 15 MB / 0.6387 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.8106, allocations: 1.25 kB / 0.8464 GB, free: 15 MB / 0.6387 GB
Notification: Performance of matching and sorting (n=76) (initialization): time 0.002615/0.8132, allocations: 0.9284 MB / 0.8473 GB, free: 14.5 MB / 0.6387 GB
Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.8133, allocations: 41.88 kB / 0.8473 GB, free: 14.46 MB / 0.6387 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.8133, allocations: 5.5 kB / 0.8473 GB, free: 14.46 MB / 0.6387 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.8133, allocations: 8.906 kB / 0.8473 GB, free: 14.46 MB / 0.6387 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.8143, allocations: 207 kB / 0.8475 GB, free: 14.39 MB / 0.6387 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.8144, allocations: 7.062 kB / 0.8475 GB, free: 14.39 MB / 0.6387 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.8155, allocations: 121.9 kB / 0.8476 GB, free: 14.32 MB / 0.6387 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.928e-05/0.8156, allocations: 36.84 kB / 0.8477 GB, free: 14.31 MB / 0.6387 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 24
 * Number of states: 0 ()
 * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (75):
 * Single equations (assignments): 74
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0005325/0.8161, allocations: 271.7 kB / 0.8479 GB, free: 14.09 MB / 0.6387 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.8163, allocations: 108 kB / 0.848 GB, free: 14.04 MB / 0.6387 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.8192, allocations: 1.09 MB / 0.8491 GB, free: 13.44 MB / 0.6387 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.8192, allocations: 13.73 kB / 0.8491 GB, free: 13.43 MB / 0.6387 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.8192, allocations: 1.438 kB / 0.8491 GB, free: 13.43 MB / 0.6387 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.8192, allocations: 0 / 0.8491 GB, free: 13.43 MB / 0.6387 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.8236, allocations: 2.146 MB / 0.8512 GB, free: 11.91 MB / 0.6387 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.8236, allocations: 1.469 kB / 0.8512 GB, free: 11.91 MB / 0.6387 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/0.8245, allocations: 155.4 kB / 0.8514 GB, free: 11.82 MB / 0.6387 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.8245, allocations: 4 kB / 0.8514 GB, free: 11.82 MB / 0.6387 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.8245, allocations: 20.08 kB / 0.8514 GB, free: 11.8 MB / 0.6387 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.8245, allocations: 8 kB / 0.8514 GB, free: 11.79 MB / 0.6387 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8245, allocations: 4 kB / 0.8514 GB, free: 11.79 MB / 0.6387 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/0.8281, allocations: 1.49 MB / 0.8529 GB, free: 10.27 MB / 0.6387 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.8287, allocations: 203.2 kB / 0.8531 GB, free: 10.07 MB / 0.6387 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.8288, allocations: 12 kB / 0.8531 GB, free: 10.06 MB / 0.6387 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008351/0.8296, allocations: 71.97 kB / 0.8531 GB, free: 9.988 MB / 0.6387 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.8298, allocations: 52.28 kB / 0.8532 GB, free: 9.938 MB / 0.6387 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.8298, allocations: 23.98 kB / 0.8532 GB, free: 9.914 MB / 0.6387 GB
Notification: Performance of sorting global known variables: time 0.0009812/0.8308, allocations: 0.6261 MB / 0.8538 GB, free: 9.277 MB / 0.6387 GB
Notification: Performance of sort global known variables: time 1e-07/0.8308, allocations: 0 / 0.8538 GB, free: 9.277 MB / 0.6387 GB
Notification: Performance of remove unused functions: time 0.001235/0.8321, allocations: 355.2 kB / 0.8542 GB, free: 8.93 MB / 0.6387 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T)
 * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count)
 * Number of discrete states: 1 (mDHW60C.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (59):
 * Single equations (assignments): 50
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 7
 * When equations: 2
 * 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.002085/0.8341, allocations: 0.6784 MB / 0.8548 GB, free: 8.398 MB / 0.6387 GB
Notification: Performance of simCode: created initialization part: time 0.002372/0.8365, allocations: 0.7873 MB / 0.8556 GB, free: 7.609 MB / 0.6387 GB
Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8365, allocations: 0 / 0.8556 GB, free: 7.609 MB / 0.6387 GB
Notification: Performance of simCode: created simulation system equations: time 0.001166/0.8377, allocations: 394.6 kB / 0.856 GB, free: 7.219 MB / 0.6387 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.8401, allocations: 474.8 kB / 0.8564 GB, free: 6.762 MB / 0.6387 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008796/0.8489, allocations: 2.385 MB / 0.8587 GB, free: 4.328 MB / 0.6387 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/0.8497, allocations: 1.045 MB / 0.8598 GB, free: 3.254 MB / 0.6387 GB
Notification: Performance of simCode: alias equations: time 0.0009407/0.8506, allocations: 207.8 kB / 0.86 GB, free: 3.047 MB / 0.6387 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.8509, allocations: 103.3 kB / 0.8601 GB, free: 2.945 MB / 0.6387 GB
Notification: Performance of SimCode: time 7.32e-07/0.8509, allocations: 0 / 0.8601 GB, free: 2.945 MB / 0.6387 GB
Notification: Performance of Templates: time 0.0396/0.8905, allocations: 21.57 MB / 0.8811 GB, free: 13.63 MB / 0.67 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.818158076144755]
Failed to read output from testmodel.py, exit status != 0:
0.8995598992332816 0.914241962 0.13408314799999996
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa0b33f57b0>