Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0019/0.0019, allocations: 114.2 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.001949/0.001949, allocations: 188.3 kB / 22.23 MB, free: 5.098 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.521/1.521, 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/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8439/0.8439, allocations: 134 MB / 440.3 MB, free: 212 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion")
translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.69 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.181, allocations: 84.71 MB / 0.6934 GB, free: 9.039 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006953/0.188, allocations: 3.779 MB / 0.6971 GB, free: 5.234 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.000303/0.1883, allocations: 163.5 kB / 0.6973 GB, free: 5.074 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.1883, allocations: 0 / 0.6973 GB, free: 5.074 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.1885, allocations: 7.922 kB / 0.6973 GB, free: 5.066 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.1886, allocations: 7.938 kB / 0.6973 GB, free: 5.059 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.1891, allocations: 83.75 kB / 0.6974 GB, free: 4.977 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1892, allocations: 35.84 kB / 0.6974 GB, free: 4.941 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.1893, allocations: 7.984 kB / 0.6974 GB, free: 4.934 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.1894, allocations: 11.98 kB / 0.6974 GB, free: 4.922 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1895, allocations: 19.92 kB / 0.6975 GB, free: 4.902 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1895, allocations: 3.938 kB / 0.6975 GB, free: 4.898 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007713/0.1903, allocations: 215.4 kB / 0.6977 GB, free: 4.688 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.1903, allocations: 15.97 kB / 0.6977 GB, free: 4.672 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.1904, allocations: 7.938 kB / 0.6977 GB, free: 4.664 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1906, allocations: 43.89 kB / 0.6977 GB, free: 4.621 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.1906, allocations: 0 / 0.6977 GB, free: 4.621 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.753e-06/0.1906, allocations: 0 / 0.6977 GB, free: 4.621 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 7.575e-06/0.1906, allocations: 0 / 0.6977 GB, free: 4.621 MB / 0.5137 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.0006266/0.1912, allocations: 262.3 kB / 0.698 GB, free: 4.336 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.1913, allocations: 12.03 kB / 0.698 GB, free: 4.324 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.1913, allocations: 0.9375 kB / 0.698 GB, free: 4.324 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1915, allocations: 122.4 kB / 0.6981 GB, free: 4.18 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.085e-05/0.1916, allocations: 26.27 kB / 0.6981 GB, free: 4.148 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1916, allocations: 384 / 0.6981 GB, free: 4.148 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.1918, allocations: 49.61 kB / 0.6982 GB, free: 4.094 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1918, allocations: 3.984 kB / 0.6982 GB, free: 4.09 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1918, allocations: 3.938 kB / 0.6982 GB, free: 4.086 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.1918, allocations: 0 / 0.6982 GB, free: 4.086 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.006e-05/0.1919, allocations: 19.98 kB / 0.6982 GB, free: 4.066 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.1923, allocations: 228 kB / 0.6984 GB, free: 3.801 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.031e-05/0.1924, allocations: 14.58 kB / 0.6984 GB, free: 3.777 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.1924, allocations: 4.859 kB / 0.6984 GB, free: 3.77 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.1925, allocations: 16.05 kB / 0.6985 GB, free: 3.754 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1925, allocations: 34.5 kB / 0.6985 GB, free: 3.711 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.1925, allocations: 4 kB / 0.6985 GB, free: 3.707 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=1): time 0.0001612/0.1926, allocations: 37.66 kB / 0.6985 GB, free: 3.664 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1927, allocations: 51.41 kB / 0.6986 GB, free: 3.602 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.1928, allocations: 101.8 kB / 0.6987 GB, free: 3.492 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1928, allocations: 33.64 kB / 0.6987 GB, free: 3.453 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.1929, allocations: 84.09 kB / 0.6988 GB, free: 3.367 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.1929, allocations: 0 / 0.6988 GB, free: 3.367 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1929, allocations: 21.7 kB / 0.6988 GB, free: 3.34 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.000148/0.193, allocations: 318.9 kB / 0.6991 GB, free: 3.02 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.1931, allocations: 4 kB / 0.6991 GB, free: 3.016 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.1931, allocations: 25.64 kB / 0.6991 GB, free: 2.984 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.1931, allocations: 13.72 kB / 0.6992 GB, free: 2.965 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1931, allocations: 4 kB / 0.6992 GB, free: 2.961 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 9.882e-05/0.1932, allocations: 49.69 kB / 0.6992 GB, free: 2.906 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1932, allocations: 10.97 kB / 0.6992 GB, free: 2.898 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1932, allocations: 0 / 0.6992 GB, free: 2.898 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1933, allocations: 4 kB / 0.6992 GB, free: 2.895 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.384e-05/0.1933, allocations: 4 kB / 0.6992 GB, free: 2.891 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1933, allocations: 0 / 0.6992 GB, free: 2.891 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.1933, allocations: 3.953 kB / 0.6992 GB, free: 2.887 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1933, allocations: 4 kB / 0.6992 GB, free: 2.883 MB / 0.5137 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.625e-05/0.1934, allocations: 117.8 kB / 0.6993 GB, free: 2.758 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1935, allocations: 0 / 0.6993 GB, free: 2.758 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.1936, allocations: 124.9 kB / 0.6995 GB, free: 2.629 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.304e-05/0.1937, allocations: 184.3 kB / 0.6996 GB, free: 2.441 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.049e-05/0.1937, allocations: 188.2 kB / 0.6998 GB, free: 2.25 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.601e-05/0.1938, allocations: 176.3 kB / 0.7 GB, free: 2.07 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.1941, allocations: 384.2 kB / 0.7004 GB, free: 1.645 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/0.1942, allocations: 108.9 kB / 0.7005 GB, free: 1.531 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.1942, allocations: 101 kB / 0.7006 GB, free: 1.426 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.595e-05/0.1943, allocations: 184.2 kB / 0.7007 GB, free: 1.238 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-05/0.1944, allocations: 176.3 kB / 0.7009 GB, free: 1.059 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001057/0.1945, allocations: 180.2 kB / 0.7011 GB, free: 0.875 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001173/0.1946, allocations: 188.2 kB / 0.7013 GB, free: 0.6836 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.1949, allocations: 307.7 kB / 0.7015 GB, free: 368 kB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.1949, allocations: 109 kB / 0.7017 GB, free: 252 kB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.1951, allocations: 184.2 kB / 0.7018 GB, free: 60 kB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.1953, allocations: 112.9 kB / 0.7019 GB, free: 15.94 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.1954, allocations: 180.2 kB / 0.7021 GB, free: 15.76 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.1954, allocations: 108.9 kB / 0.7022 GB, free: 15.64 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 7.523e-05/0.1955, allocations: 83.28 kB / 0.7023 GB, free: 15.56 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 6e-08/0.1955, allocations: 0 / 0.7023 GB, free: 15.56 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002692/0.1958, allocations: 12 kB / 0.7023 GB, free: 15.55 MB / 0.5294 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.0003892/0.1962, allocations: 206.4 kB / 0.7025 GB, free: 15.34 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0001018/0.1963, allocations: 4 kB / 0.7025 GB, free: 15.34 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1963, allocations: 0 / 0.7025 GB, free: 15.34 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.1963, allocations: 7.938 kB / 0.7025 GB, free: 15.33 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.1968, allocations: 463.6 kB / 0.703 GB, free: 14.87 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.197, allocations: 182.3 kB / 0.7031 GB, free: 14.66 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1974, allocations: 0.6729 MB / 0.7038 GB, free: 13.96 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 3.816e-05/0.1974, allocations: 4.281 kB / 0.7038 GB, free: 13.96 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.1974, allocations: 11.42 kB / 0.7038 GB, free: 13.95 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.81e-07/0.1974, allocations: 0 / 0.7038 GB, free: 13.95 MB / 0.5294 GB
Notification: Performance of Templates: time 0.003343/0.2008, allocations: 0.6572 MB / 0.7044 GB, free: 13.31 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.828535087406635]
Failed to read output from testmodel.py, exit status != 0:
0.2082890821620822 0.22340859500000002 0.029745490000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f290f2017b0>