Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.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.001356/0.001356, 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.00176/0.00176, allocations: 187.7 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.571/1.571, allocations: 225.6 MB / 251 MB, free: 13.02 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.216/1.216, allocations: 177.9 MB / 484.2 MB, free: 5.383 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.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap")
translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 72.44 kB / 0.674 GB, free: 10.83 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6603/0.6623, allocations: 95.16 MB / 0.7669 GB, free: 7.977 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.05196/0.7142, allocations: 44.17 MB / 0.81 GB, free: 8.953 MB / 0.6075 GB
Notification: Performance of NFInst.instExpressions: time 0.0133/0.7275, allocations: 7.366 MB / 0.8172 GB, free: 3.664 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.7299, allocations: 54.78 kB / 0.8173 GB, free: 3.633 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 0.001882/0.7317, allocations: 0.4941 MB / 0.8178 GB, free: 3.293 MB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 0.005448/0.7372, allocations: 1.511 MB / 0.8192 GB, free: 2.387 MB / 0.6075 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003658/0.7408, allocations: 1.163 MB / 0.8204 GB, free: 1.484 MB / 0.6075 GB
Notification: Performance of NFFlatten.flatten: time 0.004724/0.7456, allocations: 2.56 MB / 0.8229 GB, free: 15.95 MB / 0.6231 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.7471, allocations: 0.7066 MB / 0.8236 GB, free: 15.44 MB / 0.6231 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003951/0.751, allocations: 1.437 MB / 0.825 GB, free: 14.52 MB / 0.6231 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.7528, allocations: 0.706 MB / 0.8257 GB, free: 14.08 MB / 0.6231 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.753, allocations: 85.28 kB / 0.8257 GB, free: 14.07 MB / 0.6231 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.756, allocations: 0.8604 MB / 0.8266 GB, free: 13.59 MB / 0.6231 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.7563, allocations: 242.4 kB / 0.8268 GB, free: 13.4 MB / 0.6231 GB
Notification: Performance of NFVerifyModel.verify: time 0.0009748/0.7573, allocations: 0.507 MB / 0.8273 GB, free: 13.06 MB / 0.6231 GB
Notification: Performance of NFConvertDAE.convert: time 0.003509/0.7608, allocations: 1.56 MB / 0.8288 GB, free: 12.05 MB / 0.6231 GB
Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7608, allocations: 0 / 0.8288 GB, free: 12.05 MB / 0.6231 GB
Notification: Performance of FrontEnd: time 1.723e-06/0.7608, allocations: 0 / 0.8288 GB, free: 12.05 MB / 0.6231 GB
Notification: Performance of Transformations before backend: time 2.482e-05/0.7609, allocations: 0 / 0.8288 GB, free: 12.05 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: 167
 * Number of variables: 167
Notification: Performance of Generate backend data structure: time 0.002834/0.7637, allocations: 1.319 MB / 0.8301 GB, free: 11.02 MB / 0.6231 GB
Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.7637, allocations: 9.5 kB / 0.8301 GB, free: 11.02 MB / 0.6231 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.764, allocations: 117 kB / 0.8302 GB, free: 10.96 MB / 0.6231 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.7655, allocations: 0.6931 MB / 0.8309 GB, free: 10.41 MB / 0.6231 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.7655, allocations: 52.47 kB / 0.831 GB, free: 10.39 MB / 0.6231 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.7657, allocations: 71.56 kB / 0.831 GB, free: 10.37 MB / 0.6231 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.7674, allocations: 0.8373 MB / 0.8319 GB, free: 9.777 MB / 0.6231 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.7674, allocations: 4.906 kB / 0.8319 GB, free: 9.773 MB / 0.6231 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/0.7675, allocations: 27.75 kB / 0.8319 GB, free: 9.754 MB / 0.6231 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.7675, allocations: 17.72 kB / 0.8319 GB, free: 9.754 MB / 0.6231 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.769, allocations: 0.602 MB / 0.8325 GB, free: 9.453 MB / 0.6231 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005188/0.7742, allocations: 3.929 MB / 0.8363 GB, free: 5.84 MB / 0.6231 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.7755, allocations: 362.7 kB / 0.8367 GB, free: 5.656 MB / 0.6231 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.776, allocations: 215.9 kB / 0.8369 GB, free: 5.551 MB / 0.6231 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004382/0.7765, allocations: 117.5 kB / 0.837 GB, free: 5.5 MB / 0.6231 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007889/0.7773, allocations: 300.6 kB / 0.8373 GB, free: 5.312 MB / 0.6231 GB
Notification: Performance of pre-optimization done (n=39): time 2.715e-06/0.7773, allocations: 0 / 0.8373 GB, free: 5.312 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=39): time 0.002182/0.7795, allocations: 0.6996 MB / 0.838 GB, free: 4.969 MB / 0.6231 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.7795, allocations: 64.83 kB / 0.838 GB, free: 4.898 MB / 0.6231 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.7805, allocations: 0.7216 MB / 0.8387 GB, free: 4.484 MB / 0.6231 GB
Notification: Performance of collectPreVariables (initialization): time 8.138e-05/0.7806, allocations: 39.08 kB / 0.8388 GB, free: 4.445 MB / 0.6231 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004569/0.7811, allocations: 462 kB / 0.8392 GB, free: 4.039 MB / 0.6231 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.7812, allocations: 137.1 kB / 0.8393 GB, free: 3.922 MB / 0.6231 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.7815, allocations: 131.7 kB / 0.8395 GB, free: 3.844 MB / 0.6231 GB
Notification: Performance of setup shared object (initialization): time 0.0002275/0.7818, allocations: 330.5 kB / 0.8398 GB, free: 3.52 MB / 0.6231 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.7824, allocations: 217.9 kB / 0.84 GB, free: 3.414 MB / 0.6231 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009808/0.7834, allocations: 423.1 kB / 0.8404 GB, free: 3.074 MB / 0.6231 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.785, allocations: 0.659 MB / 0.841 GB, free: 2.559 MB / 0.6231 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.785, allocations: 2.375 kB / 0.841 GB, free: 2.559 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=70) (initialization): time 0.002247/0.7872, allocations: 0.7738 MB / 0.8418 GB, free: 2.137 MB / 0.6231 GB
Notification: Performance of prepare postOptimizeDAE: time 8.758e-05/0.7873, allocations: 64.61 kB / 0.8419 GB, free: 2.07 MB / 0.6231 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.7873, allocations: 9.312 kB / 0.8419 GB, free: 2.066 MB / 0.6231 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/0.7874, allocations: 9.188 kB / 0.8419 GB, free: 2.066 MB / 0.6231 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.7879, allocations: 131.6 kB / 0.842 GB, free: 2.031 MB / 0.6231 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/0.7879, allocations: 20.3 kB / 0.842 GB, free: 2.02 MB / 0.6231 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009332/0.7889, allocations: 108.7 kB / 0.8421 GB, free: 1.953 MB / 0.6231 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.7889, allocations: 39 kB / 0.8422 GB, free: 1.941 MB / 0.6231 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 26
 * Number of states: 0 ()
 * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (68):
 * Single equations (assignments): 66
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0004506/0.7894, allocations: 244.9 kB / 0.8424 GB, free: 1.746 MB / 0.6231 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.7896, allocations: 88.5 kB / 0.8425 GB, free: 1.699 MB / 0.6231 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.792, allocations: 1.144 MB / 0.8436 GB, free: 1.094 MB / 0.6231 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.792, allocations: 12.08 kB / 0.8436 GB, free: 1.09 MB / 0.6231 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.792, allocations: 0 / 0.8436 GB, free: 1.09 MB / 0.6231 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.792, allocations: 3.984 kB / 0.8436 GB, free: 1.086 MB / 0.6231 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.7958, allocations: 1.913 MB / 0.8455 GB, free: 15.8 MB / 0.6387 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.7958, allocations: 3.438 kB / 0.8455 GB, free: 15.8 MB / 0.6387 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.7963, allocations: 103.6 kB / 0.8456 GB, free: 15.77 MB / 0.6387 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.7963, allocations: 5.625 kB / 0.8456 GB, free: 15.77 MB / 0.6387 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.7964, allocations: 21.39 kB / 0.8456 GB, free: 15.75 MB / 0.6387 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.7964, allocations: 6.25 kB / 0.8456 GB, free: 15.75 MB / 0.6387 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/0.7964, allocations: 15.34 kB / 0.8456 GB, free: 15.74 MB / 0.6387 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/0.7997, allocations: 1.444 MB / 0.847 GB, free: 14.89 MB / 0.6387 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006159/0.8003, allocations: 180.8 kB / 0.8472 GB, free: 14.75 MB / 0.6387 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.8004, allocations: 24.23 kB / 0.8472 GB, free: 14.73 MB / 0.6387 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/0.8009, allocations: 51.52 kB / 0.8473 GB, free: 14.71 MB / 0.6387 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.8011, allocations: 73.06 kB / 0.8473 GB, free: 14.66 MB / 0.6387 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.8012, allocations: 28.61 kB / 0.8474 GB, free: 14.66 MB / 0.6387 GB
Notification: Performance of sorting global known variables: time 0.0007808/0.8019, allocations: 0.4894 MB / 0.8479 GB, free: 14.38 MB / 0.6387 GB
Notification: Performance of sort global known variables: time 8e-08/0.8019, allocations: 0 / 0.8479 GB, free: 14.38 MB / 0.6387 GB
Notification: Performance of remove unused functions: time 0.001316/0.8033, allocations: 340.4 kB / 0.8482 GB, free: 14.28 MB / 0.6387 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 13
 * Number of states: 1 (DHWDisCom1_Kh.y)
 * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count)
 * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (67):
 * Single equations (assignments): 47
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 16
 * When equations: 4
 * 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.0009724/0.8042, allocations: 428.7 kB / 0.8486 GB, free: 14.04 MB / 0.6387 GB
Notification: Performance of simCode: created initialization part: time 0.002028/0.8063, allocations: 0.7537 MB / 0.8493 GB, free: 13.62 MB / 0.6387 GB
Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8063, allocations: 1.312 kB / 0.8493 GB, free: 13.62 MB / 0.6387 GB
Notification: Performance of simCode: created simulation system equations: time 0.001055/0.8073, allocations: 447.8 kB / 0.8497 GB, free: 13.41 MB / 0.6387 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.8093, allocations: 379.6 kB / 0.8501 GB, free: 13.05 MB / 0.6387 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.8123, allocations: 1.659 MB / 0.8517 GB, free: 11.32 MB / 0.6387 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/0.813, allocations: 1.026 MB / 0.8527 GB, free: 10.27 MB / 0.6387 GB
Notification: Performance of simCode: alias equations: time 0.0006867/0.8137, allocations: 166.5 kB / 0.8529 GB, free: 10.1 MB / 0.6387 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.8139, allocations: 87.28 kB / 0.853 GB, free: 10.01 MB / 0.6387 GB
Notification: Performance of SimCode: time 8.52e-07/0.8139, allocations: 4 kB / 0.853 GB, free: 10.01 MB / 0.6387 GB
Notification: Performance of Templates: time 0.0374/0.8513, allocations: 19.13 MB / 0.8717 GB, free: 7.098 MB / 0.6544 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.571717000566423]
Failed to read output from testmodel.py, exit status != 0:
0.8607659423723817 0.876329628 0.11194016500000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7efe3a5397b0>