Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001433/0.001433, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.001708/0.001708, allocations: 191 kB / 22.23 MB, free: 5.227 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.718/1.718, 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.137/1.137, allocations: 177.9 MB / 484.2 MB, free: 5.387 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion")
translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 68.94 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7365, allocations: 95.15 MB / 0.7669 GB, free: 7.949 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.2035/0.94, allocations: 135.8 MB / 0.8995 GB, free: 10.92 MB / 0.6856 GB
Notification: Performance of NFInst.instExpressions: time 0.0002282/0.9403, allocations: 59.78 kB / 0.8996 GB, free: 10.86 MB / 0.6856 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.9403, allocations: 0 / 0.8996 GB, free: 10.86 MB / 0.6856 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.9404, allocations: 4 kB / 0.8996 GB, free: 10.86 MB / 0.6856 GB
Notification: Performance of NFTyping.typeBindings: time 9.987e-05/0.9405, allocations: 11.92 kB / 0.8996 GB, free: 10.84 MB / 0.6856 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.9417, allocations: 254.8 kB / 0.8998 GB, free: 10.59 MB / 0.6856 GB
Notification: Performance of NFFlatten.flatten: time 0.0001104/0.9418, allocations: 35.84 kB / 0.8999 GB, free: 10.56 MB / 0.6856 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.9419, allocations: 4 kB / 0.8999 GB, free: 10.55 MB / 0.6856 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.9419, allocations: 15.98 kB / 0.8999 GB, free: 10.54 MB / 0.6856 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/0.942, allocations: 19.91 kB / 0.8999 GB, free: 10.52 MB / 0.6856 GB
Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.942, allocations: 0 / 0.8999 GB, free: 10.52 MB / 0.6856 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005723/0.9426, allocations: 263.4 kB / 0.9002 GB, free: 10.26 MB / 0.6856 GB
Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.9426, allocations: 0 / 0.9002 GB, free: 10.26 MB / 0.6856 GB
Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.9427, allocations: 11.92 kB / 0.9002 GB, free: 10.25 MB / 0.6856 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.9431, allocations: 186 kB / 0.9003 GB, free: 10.08 MB / 0.6856 GB
Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9431, allocations: 0 / 0.9003 GB, free: 10.08 MB / 0.6856 GB
Notification: Performance of FrontEnd: time 1.704e-06/0.9431, allocations: 0 / 0.9003 GB, free: 10.08 MB / 0.6856 GB
Notification: Performance of Transformations before backend: time 7.454e-06/0.9431, allocations: 4 kB / 0.9003 GB, free: 10.07 MB / 0.6856 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.000539/0.9437, allocations: 290 kB / 0.9006 GB, free: 9.762 MB / 0.6856 GB
Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.9437, allocations: 11.97 kB / 0.9006 GB, free: 9.75 MB / 0.6856 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.9437, allocations: 4.938 kB / 0.9006 GB, free: 9.746 MB / 0.6856 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.9439, allocations: 102.5 kB / 0.9007 GB, free: 9.621 MB / 0.6856 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/0.944, allocations: 30.27 kB / 0.9008 GB, free: 9.586 MB / 0.6856 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.944, allocations: 3.938 kB / 0.9008 GB, free: 9.582 MB / 0.6856 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.9441, allocations: 41.69 kB / 0.9008 GB, free: 9.535 MB / 0.6856 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9441, allocations: 4 kB / 0.9008 GB, free: 9.531 MB / 0.6856 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.9442, allocations: 4 kB / 0.9008 GB, free: 9.527 MB / 0.6856 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.9442, allocations: 3.938 kB / 0.9008 GB, free: 9.523 MB / 0.6856 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.356e-05/0.9442, allocations: 11.98 kB / 0.9008 GB, free: 9.512 MB / 0.6856 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007932/0.945, allocations: 283.9 kB / 0.9011 GB, free: 9.191 MB / 0.6856 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.9451, allocations: 18.58 kB / 0.9011 GB, free: 9.164 MB / 0.6856 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.9451, allocations: 12.92 kB / 0.9011 GB, free: 9.148 MB / 0.6856 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.643e-05/0.9452, allocations: 31.97 kB / 0.9012 GB, free: 9.117 MB / 0.6856 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.9452, allocations: 34.5 kB / 0.9012 GB, free: 9.074 MB / 0.6856 GB
Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.9452, allocations: 0 / 0.9012 GB, free: 9.074 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=1): time 0.000167/0.9454, allocations: 37.66 kB / 0.9012 GB, free: 9.031 MB / 0.6856 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.9454, allocations: 51.41 kB / 0.9013 GB, free: 8.969 MB / 0.6856 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.9455, allocations: 102 kB / 0.9014 GB, free: 8.859 MB / 0.6856 GB
Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.9456, allocations: 29.7 kB / 0.9014 GB, free: 8.824 MB / 0.6856 GB
Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.9456, allocations: 88.09 kB / 0.9015 GB, free: 8.734 MB / 0.6856 GB
Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/0.9456, allocations: 0 / 0.9015 GB, free: 8.734 MB / 0.6856 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.9457, allocations: 21.7 kB / 0.9015 GB, free: 8.707 MB / 0.6856 GB
Notification: Performance of setup shared object (initialization): time 0.000163/0.9458, allocations: 314.8 kB / 0.9018 GB, free: 8.391 MB / 0.6856 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.9459, allocations: 4 kB / 0.9018 GB, free: 8.387 MB / 0.6856 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/0.9459, allocations: 17.91 kB / 0.9018 GB, free: 8.363 MB / 0.6856 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.9459, allocations: 25.64 kB / 0.9019 GB, free: 8.332 MB / 0.6856 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9459, allocations: 0 / 0.9019 GB, free: 8.332 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 9.556e-05/0.946, allocations: 57.56 kB / 0.9019 GB, free: 8.27 MB / 0.6856 GB
Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.946, allocations: 4 kB / 0.9019 GB, free: 8.266 MB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.946, allocations: 0 / 0.9019 GB, free: 8.266 MB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.9461, allocations: 96 / 0.9019 GB, free: 8.266 MB / 0.6856 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.9461, allocations: 15.98 kB / 0.9019 GB, free: 8.25 MB / 0.6856 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.9461, allocations: 3.938 kB / 0.9019 GB, free: 8.246 MB / 0.6856 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.9461, allocations: 8.016 kB / 0.9019 GB, free: 8.238 MB / 0.6856 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.9462, allocations: 7.938 kB / 0.902 GB, free: 8.23 MB / 0.6856 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.878e-05/0.9462, allocations: 109.8 kB / 0.9021 GB, free: 8.113 MB / 0.6856 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.9463, allocations: 0 / 0.9021 GB, free: 8.113 MB / 0.6856 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.9464, allocations: 120.9 kB / 0.9022 GB, free: 7.988 MB / 0.6856 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002119/0.9467, allocations: 180.3 kB / 0.9023 GB, free: 7.805 MB / 0.6856 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.342e-05/0.9467, allocations: 184.3 kB / 0.9025 GB, free: 7.617 MB / 0.6856 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/0.9469, allocations: 184.2 kB / 0.9027 GB, free: 7.43 MB / 0.6856 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.9473, allocations: 380.2 kB / 0.9031 GB, free: 7.008 MB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.403e-05/0.9474, allocations: 104.9 kB / 0.9032 GB, free: 6.898 MB / 0.6856 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.9476, allocations: 101 kB / 0.9033 GB, free: 6.793 MB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.933e-05/0.9477, allocations: 180.3 kB / 0.9034 GB, free: 6.609 MB / 0.6856 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.9478, allocations: 184.2 kB / 0.9036 GB, free: 6.422 MB / 0.6856 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002241/0.948, allocations: 176.3 kB / 0.9038 GB, free: 6.242 MB / 0.6856 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001013/0.9481, allocations: 184.2 kB / 0.9039 GB, free: 6.055 MB / 0.6856 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.9483, allocations: 315.7 kB / 0.9042 GB, free: 5.723 MB / 0.6856 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.9484, allocations: 105.2 kB / 0.9043 GB, free: 5.613 MB / 0.6856 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.9485, allocations: 184.2 kB / 0.9045 GB, free: 5.426 MB / 0.6856 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.9487, allocations: 113 kB / 0.9046 GB, free: 5.309 MB / 0.6856 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.9488, allocations: 176.3 kB / 0.9048 GB, free: 5.129 MB / 0.6856 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/0.9489, allocations: 104.9 kB / 0.9049 GB, free: 5.02 MB / 0.6856 GB
Notification: Performance of sorting global known variables: time 9.122e-05/0.9489, allocations: 99.2 kB / 0.905 GB, free: 4.922 MB / 0.6856 GB
Notification: Performance of sort global known variables: time 8e-08/0.9489, allocations: 0 / 0.905 GB, free: 4.922 MB / 0.6856 GB
Notification: Performance of remove unused functions: time 0.0003712/0.9493, allocations: 51.75 kB / 0.905 GB, free: 4.871 MB / 0.6856 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.0003864/0.9497, allocations: 250.4 kB / 0.9053 GB, free: 4.613 MB / 0.6856 GB
Notification: Performance of simCode: created initialization part: time 9.108e-05/0.9498, allocations: 11.98 kB / 0.9053 GB, free: 4.602 MB / 0.6856 GB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9498, allocations: 0 / 0.9053 GB, free: 4.602 MB / 0.6856 GB
Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.9498, allocations: 0 / 0.9053 GB, free: 4.602 MB / 0.6856 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.9503, allocations: 473.6 kB / 0.9057 GB, free: 4.137 MB / 0.6856 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.9506, allocations: 194.1 kB / 0.9059 GB, free: 3.918 MB / 0.6856 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.951, allocations: 0.669 MB / 0.9066 GB, free: 3.223 MB / 0.6856 GB
Notification: Performance of simCode: alias equations: time 4.115e-05/0.951, allocations: 11.98 kB / 0.9066 GB, free: 3.211 MB / 0.6856 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.9511, allocations: 7.438 kB / 0.9066 GB, free: 3.203 MB / 0.6856 GB
Notification: Performance of SimCode: time 2.8e-07/0.9511, allocations: 0 / 0.9066 GB, free: 3.203 MB / 0.6856 GB
Notification: Performance of Templates: time 0.004891/0.956, allocations: 1.297 MB / 0.9079 GB, free: 1.91 MB / 0.6856 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.178384281694889]
Failed to read output from testmodel.py, exit status != 0:
0.9651240659877658 0.986986265 0.039695038
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f350c1217b0>