Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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.001353/0.001353, 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.001761/0.001761, allocations: 189.2 kB / 22.23 MB, free: 5.16 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.425/1.425, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003234/0.003234, allocations: 283.7 kB / 306.5 MB, free: 8.312 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.236/1.236, allocations: 180.9 MB / 0.53 GB, free: 14.55 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion")
translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 103.4 kB / 0.7308 GB, free: 38.97 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.165, allocations: 94.2 MB / 0.8228 GB, free: 1.855 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1678/0.3328, allocations: 135.8 MB / 0.9554 GB, free: 9.508 MB / 0.7012 GB
Notification: Performance of NFInst.instExpressions: time 0.000153/0.333, allocations: 47.86 kB / 0.9555 GB, free: 9.461 MB / 0.7012 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.333, allocations: 0 / 0.9555 GB, free: 9.461 MB / 0.7012 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.3331, allocations: 7.922 kB / 0.9555 GB, free: 9.453 MB / 0.7012 GB
Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.3332, allocations: 12 kB / 0.9555 GB, free: 9.441 MB / 0.7012 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007966/0.334, allocations: 250.2 kB / 0.9557 GB, free: 9.199 MB / 0.7012 GB
Notification: Performance of NFFlatten.flatten: time 8.607e-05/0.3341, allocations: 39.84 kB / 0.9558 GB, free: 9.16 MB / 0.7012 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.3341, allocations: 11.94 kB / 0.9558 GB, free: 9.148 MB / 0.7012 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.3341, allocations: 15.98 kB / 0.9558 GB, free: 9.133 MB / 0.7012 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.3342, allocations: 15.92 kB / 0.9558 GB, free: 9.117 MB / 0.7012 GB
Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3342, allocations: 0 / 0.9558 GB, free: 9.117 MB / 0.7012 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.3347, allocations: 251.4 kB / 0.9561 GB, free: 8.871 MB / 0.7012 GB
Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.3348, allocations: 11.92 kB / 0.9561 GB, free: 8.859 MB / 0.7012 GB
Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.3348, allocations: 8 kB / 0.9561 GB, free: 8.852 MB / 0.7012 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.3352, allocations: 199.5 kB / 0.9563 GB, free: 8.656 MB / 0.7012 GB
Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3352, allocations: 0 / 0.9563 GB, free: 8.656 MB / 0.7012 GB
Notification: Performance of FrontEnd: time 1.122e-06/0.3352, allocations: 0 / 0.9563 GB, free: 8.656 MB / 0.7012 GB
Notification: Performance of Transformations before backend: time 4.529e-06/0.3352, allocations: 0 / 0.9563 GB, free: 8.656 MB / 0.7012 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0003926/0.3356, allocations: 282 kB / 0.9565 GB, free: 8.352 MB / 0.7012 GB
Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.3356, allocations: 8.031 kB / 0.9565 GB, free: 8.344 MB / 0.7012 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.3356, allocations: 8.922 kB / 0.9566 GB, free: 8.336 MB / 0.7012 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.9e-05/0.3357, allocations: 106.5 kB / 0.9567 GB, free: 8.207 MB / 0.7012 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.3358, allocations: 38.2 kB / 0.9567 GB, free: 8.164 MB / 0.7012 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.3358, allocations: 3.938 kB / 0.9567 GB, free: 8.16 MB / 0.7012 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.3359, allocations: 41.62 kB / 0.9567 GB, free: 8.113 MB / 0.7012 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3359, allocations: 0 / 0.9567 GB, free: 8.113 MB / 0.7012 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3359, allocations: 0 / 0.9567 GB, free: 8.113 MB / 0.7012 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.336, allocations: 4 kB / 0.9567 GB, free: 8.109 MB / 0.7012 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.336, allocations: 15.98 kB / 0.9568 GB, free: 8.094 MB / 0.7012 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.3366, allocations: 275.9 kB / 0.957 GB, free: 7.781 MB / 0.7012 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.3366, allocations: 26.5 kB / 0.957 GB, free: 7.746 MB / 0.7012 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.3367, allocations: 8.922 kB / 0.9571 GB, free: 7.734 MB / 0.7012 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.659e-05/0.3367, allocations: 31.91 kB / 0.9571 GB, free: 7.703 MB / 0.7012 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3368, allocations: 30.56 kB / 0.9571 GB, free: 7.664 MB / 0.7012 GB
Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3368, allocations: 0 / 0.9571 GB, free: 7.664 MB / 0.7012 GB
Notification: Performance of matching and sorting (n=1): time 0.0001364/0.3369, allocations: 49.64 kB / 0.9572 GB, free: 7.609 MB / 0.7012 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3369, allocations: 55.34 kB / 0.9572 GB, free: 7.543 MB / 0.7012 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.337, allocations: 101.8 kB / 0.9573 GB, free: 7.434 MB / 0.7012 GB
Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.337, allocations: 25.7 kB / 0.9573 GB, free: 7.402 MB / 0.7012 GB
Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.3371, allocations: 88.09 kB / 0.9574 GB, free: 7.312 MB / 0.7012 GB
Notification: Performance of collectInitialBindings (initialization): time 6.613e-06/0.3371, allocations: 3.938 kB / 0.9574 GB, free: 7.309 MB / 0.7012 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.3371, allocations: 17.72 kB / 0.9574 GB, free: 7.285 MB / 0.7012 GB
Notification: Performance of setup shared object (initialization): time 0.0001419/0.3373, allocations: 318.9 kB / 0.9577 GB, free: 6.965 MB / 0.7012 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.3373, allocations: 8 kB / 0.9578 GB, free: 6.957 MB / 0.7012 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.3373, allocations: 13.72 kB / 0.9578 GB, free: 6.938 MB / 0.7012 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.3373, allocations: 17.72 kB / 0.9578 GB, free: 6.914 MB / 0.7012 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3373, allocations: 0 / 0.9578 GB, free: 6.914 MB / 0.7012 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 8.344e-05/0.3374, allocations: 57.58 kB / 0.9578 GB, free: 6.852 MB / 0.7012 GB
Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.3374, allocations: 8.062 kB / 0.9578 GB, free: 6.844 MB / 0.7012 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3374, allocations: 4 kB / 0.9578 GB, free: 6.84 MB / 0.7012 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3375, allocations: 0 / 0.9578 GB, free: 6.84 MB / 0.7012 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.3375, allocations: 11.98 kB / 0.9579 GB, free: 6.828 MB / 0.7012 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.788e-06/0.3375, allocations: 0 / 0.9579 GB, free: 6.828 MB / 0.7012 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.3375, allocations: 0 / 0.9579 GB, free: 6.828 MB / 0.7012 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3375, allocations: 3.938 kB / 0.9579 GB, free: 6.824 MB / 0.7012 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (3):
 * Single equations (assignments): 3
 * 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 8.422e-05/0.3376, allocations: 118.4 kB / 0.958 GB, free: 6.699 MB / 0.7012 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3376, allocations: 0 / 0.958 GB, free: 6.699 MB / 0.7012 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.3377, allocations: 121 kB / 0.9581 GB, free: 6.574 MB / 0.7012 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.541e-05/0.3378, allocations: 176.3 kB / 0.9583 GB, free: 6.395 MB / 0.7012 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.497e-05/0.3379, allocations: 184.2 kB / 0.9584 GB, free: 6.207 MB / 0.7012 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.024e-05/0.338, allocations: 180.3 kB / 0.9586 GB, free: 6.023 MB / 0.7012 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.3382, allocations: 380.2 kB / 0.959 GB, free: 5.602 MB / 0.7012 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.013e-05/0.3383, allocations: 105 kB / 0.9591 GB, free: 5.492 MB / 0.7012 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.3383, allocations: 112.9 kB / 0.9592 GB, free: 5.375 MB / 0.7012 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/0.3384, allocations: 176.3 kB / 0.9593 GB, free: 5.195 MB / 0.7012 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.282e-05/0.3385, allocations: 184.3 kB / 0.9595 GB, free: 5.008 MB / 0.7012 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.23e-05/0.3386, allocations: 184.1 kB / 0.9597 GB, free: 4.82 MB / 0.7012 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-05/0.3387, allocations: 176.3 kB / 0.9599 GB, free: 4.641 MB / 0.7012 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.3388, allocations: 323.8 kB / 0.9602 GB, free: 4.301 MB / 0.7012 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.3389, allocations: 105 kB / 0.9603 GB, free: 4.191 MB / 0.7012 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.339, allocations: 184.2 kB / 0.9605 GB, free: 4.004 MB / 0.7012 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3391, allocations: 109 kB / 0.9606 GB, free: 3.891 MB / 0.7012 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.3392, allocations: 188.2 kB / 0.9607 GB, free: 3.699 MB / 0.7012 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.3393, allocations: 101 kB / 0.9608 GB, free: 3.594 MB / 0.7012 GB
Notification: Performance of sorting global known variables: time 5.358e-05/0.3393, allocations: 91.2 kB / 0.9609 GB, free: 3.504 MB / 0.7012 GB
Notification: Performance of sort global known variables: time 7e-08/0.3393, allocations: 0 / 0.9609 GB, free: 3.504 MB / 0.7012 GB
Notification: Performance of remove unused functions: time 0.0002946/0.3396, allocations: 55.75 kB / 0.961 GB, free: 3.449 MB / 0.7012 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.0003272/0.34, allocations: 254.4 kB / 0.9612 GB, free: 3.188 MB / 0.7012 GB
Notification: Performance of simCode: created initialization part: time 7.117e-05/0.34, allocations: 11.94 kB / 0.9612 GB, free: 3.176 MB / 0.7012 GB
Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.34, allocations: 0 / 0.9612 GB, free: 3.176 MB / 0.7012 GB
Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.34, allocations: 0 / 0.9612 GB, free: 3.176 MB / 0.7012 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.3404, allocations: 464.1 kB / 0.9617 GB, free: 2.719 MB / 0.7012 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.3407, allocations: 186.1 kB / 0.9618 GB, free: 2.512 MB / 0.7012 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.341, allocations: 0.6768 MB / 0.9625 GB, free: 1.809 MB / 0.7012 GB
Notification: Performance of simCode: alias equations: time 3.969e-05/0.3411, allocations: 15.92 kB / 0.9625 GB, free: 1.793 MB / 0.7012 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.3411, allocations: 7.438 kB / 0.9625 GB, free: 1.785 MB / 0.7012 GB
Notification: Performance of SimCode: time 3.01e-07/0.3411, allocations: 0 / 0.9625 GB, free: 1.785 MB / 0.7012 GB
Notification: Performance of Templates: time 0.003968/0.345, allocations: 1.305 MB / 0.9638 GB, free: 496 kB / 0.7012 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.015786928124726]
Failed to read output from testmodel.py, exit status != 0:
0.3519191825762391 0.366694991 0.028561781
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2d3d8817b0>