Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001614/0.001614, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002001/0.002001, allocations: 191.1 kB / 22.23 MB, free: 5.105 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.557/1.557, allocations: 225.6 MB / 251 MB, free: 13.03 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.134/1.134, allocations: 177.9 MB / 484.2 MB, free: 5.422 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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion")
translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 64.98 kB / 0.674 GB, free: 10.84 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7495, allocations: 95.17 MB / 0.7669 GB, free: 7.988 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005647/0.7551, allocations: 4.07 MB / 0.7709 GB, free: 5.391 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0002069/0.7553, allocations: 155.6 kB / 0.771 GB, free: 5.285 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.7553, allocations: 0.7188 kB / 0.771 GB, free: 5.285 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.7555, allocations: 3.938 kB / 0.771 GB, free: 5.281 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.7556, allocations: 18.42 kB / 0.771 GB, free: 5.27 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.7559, allocations: 81.27 kB / 0.7711 GB, free: 5.23 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 9.692e-05/0.756, allocations: 39 kB / 0.7712 GB, free: 5.215 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.815e-05/0.7561, allocations: 1.031 kB / 0.7712 GB, free: 5.215 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.7561, allocations: 15.75 kB / 0.7712 GB, free: 5.211 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.7562, allocations: 17.11 kB / 0.7712 GB, free: 5.203 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.7562, allocations: 1.531 kB / 0.7712 GB, free: 5.203 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.7564, allocations: 61.05 kB / 0.7712 GB, free: 5.176 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.7565, allocations: 4.594 kB / 0.7712 GB, free: 5.176 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.7565, allocations: 10.8 kB / 0.7713 GB, free: 5.172 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.7567, allocations: 48.23 kB / 0.7713 GB, free: 5.156 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7567, allocations: 1.125 kB / 0.7713 GB, free: 5.156 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.633e-06/0.7567, allocations: 0 / 0.7713 GB, free: 5.156 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.632e-06/0.7567, allocations: 0 / 0.7713 GB, free: 5.156 MB / 0.5762 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.000408/0.7571, allocations: 263.5 kB / 0.7716 GB, free: 4.895 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.7571, allocations: 9.469 kB / 0.7716 GB, free: 4.895 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.7572, allocations: 2 kB / 0.7716 GB, free: 4.895 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.7572, allocations: 106.3 kB / 0.7717 GB, free: 4.77 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.7573, allocations: 40.25 kB / 0.7717 GB, free: 4.727 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.7573, allocations: 9.641 kB / 0.7717 GB, free: 4.719 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.7575, allocations: 44.81 kB / 0.7718 GB, free: 4.684 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.7575, allocations: 1.094 kB / 0.7718 GB, free: 4.684 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.7575, allocations: 0 / 0.7718 GB, free: 4.684 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.7575, allocations: 1.031 kB / 0.7718 GB, free: 4.684 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.7576, allocations: 19.23 kB / 0.7718 GB, free: 4.676 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.758, allocations: 230.3 kB / 0.772 GB, free: 4.434 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.704e-05/0.758, allocations: 25.67 kB / 0.772 GB, free: 4.402 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.758, allocations: 10.95 kB / 0.772 GB, free: 4.391 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.7581, allocations: 6.766 kB / 0.772 GB, free: 4.391 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.7581, allocations: 35.84 kB / 0.7721 GB, free: 4.348 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.7581, allocations: 0 / 0.7721 GB, free: 4.348 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1): time 0.0001548/0.7583, allocations: 41.14 kB / 0.7721 GB, free: 4.309 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.7583, allocations: 56.91 kB / 0.7722 GB, free: 4.242 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.7584, allocations: 102.3 kB / 0.7723 GB, free: 4.141 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.7584, allocations: 27.16 kB / 0.7723 GB, free: 4.109 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.7584, allocations: 89.72 kB / 0.7724 GB, free: 4.02 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 5.159e-06/0.7584, allocations: 1.125 kB / 0.7724 GB, free: 4.02 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.7584, allocations: 20.47 kB / 0.7724 GB, free: 4 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 4.625e-05/0.7585, allocations: 315.9 kB / 0.7727 GB, free: 3.684 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.7585, allocations: 2.438 kB / 0.7727 GB, free: 3.684 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.7585, allocations: 23.53 kB / 0.7727 GB, free: 3.66 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.7586, allocations: 22.88 kB / 0.7727 GB, free: 3.641 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7586, allocations: 0 / 0.7727 GB, free: 3.641 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 7.178e-05/0.7586, allocations: 44.22 kB / 0.7728 GB, free: 3.605 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7587, allocations: 10.47 kB / 0.7728 GB, free: 3.602 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7587, allocations: 0.75 kB / 0.7728 GB, free: 3.602 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.7587, allocations: 4.062 kB / 0.7728 GB, free: 3.598 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.7587, allocations: 5.453 kB / 0.7728 GB, free: 3.598 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7587, allocations: 1.938 kB / 0.7728 GB, free: 3.598 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.7587, allocations: 9.766 kB / 0.7728 GB, free: 3.59 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.7588, allocations: 0.875 kB / 0.7728 GB, free: 3.59 MB / 0.5762 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 5.825e-05/0.7588, allocations: 117.6 kB / 0.7729 GB, free: 3.469 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.7588, allocations: 1.312 kB / 0.7729 GB, free: 3.469 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.7589, allocations: 114.9 kB / 0.773 GB, free: 3.355 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.759, allocations: 185.4 kB / 0.7732 GB, free: 3.168 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.262e-05/0.759, allocations: 179.2 kB / 0.7734 GB, free: 2.988 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.294e-05/0.759, allocations: 185 kB / 0.7736 GB, free: 2.801 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.7592, allocations: 377.7 kB / 0.7739 GB, free: 2.391 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.7592, allocations: 109.8 kB / 0.774 GB, free: 2.277 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.7592, allocations: 106.3 kB / 0.7741 GB, free: 2.168 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.428e-05/0.7592, allocations: 176.3 kB / 0.7743 GB, free: 1.988 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.7593, allocations: 183.5 kB / 0.7745 GB, free: 1.805 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-05/0.7593, allocations: 181.1 kB / 0.7746 GB, free: 1.621 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.467e-05/0.7593, allocations: 188.9 kB / 0.7748 GB, free: 1.434 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.611e-05/0.7594, allocations: 311.8 kB / 0.7751 GB, free: 1.109 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.7594, allocations: 107.5 kB / 0.7752 GB, free: 1 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.7595, allocations: 183.5 kB / 0.7754 GB, free: 0.8164 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.7596, allocations: 108 kB / 0.7755 GB, free: 0.707 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.7596, allocations: 182.5 kB / 0.7757 GB, free: 0.5234 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.7597, allocations: 113.3 kB / 0.7758 GB, free: 16.41 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 5.499e-05/0.7598, allocations: 80.16 kB / 0.7759 GB, free: 16.34 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 6e-08/0.7598, allocations: 0 / 0.7759 GB, free: 16.34 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0002438/0.76, allocations: 20.47 kB / 0.7759 GB, free: 16.33 MB / 0.5919 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.0003128/0.7603, allocations: 196.9 kB / 0.7761 GB, free: 16.16 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.000106/0.7604, allocations: 12.25 kB / 0.7761 GB, free: 16.16 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7604, allocations: 0 / 0.7761 GB, free: 16.16 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.7604, allocations: 1.094 kB / 0.7761 GB, free: 16.16 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.7609, allocations: 463.3 kB / 0.7765 GB, free: 15.7 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.7612, allocations: 175.9 kB / 0.7767 GB, free: 15.52 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.7615, allocations: 0.6752 MB / 0.7774 GB, free: 14.83 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 4.037e-05/0.7615, allocations: 3.75 kB / 0.7774 GB, free: 14.83 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.7616, allocations: 10.08 kB / 0.7774 GB, free: 14.82 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.2e-07/0.7616, allocations: 0 / 0.7774 GB, free: 14.82 MB / 0.5919 GB
Notification: Performance of Templates: time 0.003375/0.7649, allocations: 0.6503 MB / 0.778 GB, free: 14.72 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.009622376412153]
Failed to read output from testmodel.py, exit status != 0:
0.7740316670387983 0.789439137 0.029341602
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7adc9517b0>