Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001668/0.001668, allocations: 108.8 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.00194/0.00194, allocations: 192 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.398/1.398, allocations: 225.6 MB / 251 MB, free: 13.01 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.002588/0.002588, allocations: 288.6 kB / 306.6 MB, free: 8.32 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.214/1.214, allocations: 180.9 MB / 0.53 GB, free: 14.42 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion")
translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002934/0.002934, allocations: 99.27 kB / 0.7308 GB, free: 39.02 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.176, allocations: 94.2 MB / 0.8228 GB, free: 1.816 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006395/0.1823, allocations: 3.769 MB / 0.8265 GB, free: 14.02 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0002585/0.1826, allocations: 167.5 kB / 0.8267 GB, free: 13.86 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1826, allocations: 4 kB / 0.8267 GB, free: 13.85 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1828, allocations: 7.922 kB / 0.8267 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.1828, allocations: 7.938 kB / 0.8267 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.1832, allocations: 79.75 kB / 0.8268 GB, free: 13.76 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1834, allocations: 39.84 kB / 0.8268 GB, free: 13.72 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.1834, allocations: 3.984 kB / 0.8268 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.1834, allocations: 8 kB / 0.8268 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.1835, allocations: 23.91 kB / 0.8268 GB, free: 13.68 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1835, allocations: 0 / 0.8268 GB, free: 13.68 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006443/0.1842, allocations: 215.4 kB / 0.827 GB, free: 13.47 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.1842, allocations: 7.984 kB / 0.827 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.1843, allocations: 15.92 kB / 0.8271 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1844, allocations: 35.91 kB / 0.8271 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1844, allocations: 7.938 kB / 0.8271 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.292e-06/0.1844, allocations: 3.938 kB / 0.8271 GB, free: 13.4 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.849e-06/0.1844, allocations: 0 / 0.8271 GB, free: 13.4 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.0003914/0.1848, allocations: 262.3 kB / 0.8274 GB, free: 13.12 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1849, allocations: 8.625 kB / 0.8274 GB, free: 13.11 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1849, allocations: 0.9375 kB / 0.8274 GB, free: 13.11 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.185, allocations: 122.5 kB / 0.8275 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/0.1851, allocations: 26.27 kB / 0.8275 GB, free: 12.93 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.1851, allocations: 8.375 kB / 0.8275 GB, free: 12.93 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1852, allocations: 41.62 kB / 0.8275 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1852, allocations: 0 / 0.8275 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1852, allocations: 4 kB / 0.8276 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.1853, allocations: 0 / 0.8276 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.1853, allocations: 23.91 kB / 0.8276 GB, free: 12.85 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.1857, allocations: 235.9 kB / 0.8278 GB, free: 12.58 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.258e-05/0.1858, allocations: 18.58 kB / 0.8278 GB, free: 12.55 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.1858, allocations: 4.859 kB / 0.8278 GB, free: 12.54 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.1859, allocations: 12.06 kB / 0.8278 GB, free: 12.53 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1859, allocations: 30.56 kB / 0.8279 GB, free: 12.49 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1859, allocations: 0 / 0.8279 GB, free: 12.49 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1): time 0.0001517/0.186, allocations: 41.62 kB / 0.8279 GB, free: 12.45 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.1861, allocations: 51.41 kB / 0.828 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.1862, allocations: 102 kB / 0.828 GB, free: 12.27 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1862, allocations: 25.7 kB / 0.8281 GB, free: 12.24 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.1863, allocations: 92.08 kB / 0.8282 GB, free: 12.15 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.1863, allocations: 0 / 0.8282 GB, free: 12.15 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1863, allocations: 17.72 kB / 0.8282 GB, free: 12.12 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001359/0.1864, allocations: 314.8 kB / 0.8285 GB, free: 11.81 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.885e-05/0.1865, allocations: 7.984 kB / 0.8285 GB, free: 11.8 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.1865, allocations: 21.72 kB / 0.8285 GB, free: 11.77 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.1865, allocations: 17.66 kB / 0.8285 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1865, allocations: 0 / 0.8285 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 8.57e-05/0.1866, allocations: 53.64 kB / 0.8286 GB, free: 11.69 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1866, allocations: 4 kB / 0.8286 GB, free: 11.69 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1866, allocations: 0 / 0.8286 GB, free: 11.69 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1866, allocations: 3.938 kB / 0.8286 GB, free: 11.68 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.1867, allocations: 12.06 kB / 0.8286 GB, free: 11.67 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1867, allocations: 3.984 kB / 0.8286 GB, free: 11.67 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.1867, allocations: 0 / 0.8286 GB, free: 11.67 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1867, allocations: 8 kB / 0.8286 GB, free: 11.66 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 9.121e-05/0.1868, allocations: 110.4 kB / 0.8287 GB, free: 11.54 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1869, allocations: 0 / 0.8287 GB, free: 11.54 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.187, allocations: 119.5 kB / 0.8288 GB, free: 11.42 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.36e-05/0.1871, allocations: 196.1 kB / 0.829 GB, free: 11.22 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.966e-05/0.1872, allocations: 176.3 kB / 0.8292 GB, free: 11.04 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.702e-05/0.1872, allocations: 180.2 kB / 0.8294 GB, free: 10.86 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.1875, allocations: 380.2 kB / 0.8297 GB, free: 10.43 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-05/0.1875, allocations: 109 kB / 0.8298 GB, free: 10.32 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.1876, allocations: 104.9 kB / 0.8299 GB, free: 10.21 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.982e-05/0.1877, allocations: 188.2 kB / 0.8301 GB, free: 10.02 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.1877, allocations: 184.1 kB / 0.8303 GB, free: 9.832 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.238e-05/0.1878, allocations: 176.3 kB / 0.8304 GB, free: 9.652 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001032/0.1879, allocations: 180.2 kB / 0.8306 GB, free: 9.469 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1881, allocations: 311.8 kB / 0.8309 GB, free: 9.141 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.1881, allocations: 112.9 kB / 0.831 GB, free: 9.023 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.1882, allocations: 180.3 kB / 0.8312 GB, free: 8.84 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1884, allocations: 112.9 kB / 0.8313 GB, free: 8.723 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.1885, allocations: 176.3 kB / 0.8315 GB, free: 8.543 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.1885, allocations: 105 kB / 0.8316 GB, free: 8.434 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 7.329e-05/0.1886, allocations: 87.28 kB / 0.8316 GB, free: 8.348 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1886, allocations: 0 / 0.8316 GB, free: 8.348 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002573/0.1889, allocations: 19.92 kB / 0.8317 GB, free: 8.328 MB / 0.5762 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.0002763/0.1891, allocations: 202.3 kB / 0.8319 GB, free: 8.121 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 7.826e-05/0.1892, allocations: 11.98 kB / 0.8319 GB, free: 8.109 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1892, allocations: 4.125 kB / 0.8319 GB, free: 8.105 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1892, allocations: 0 / 0.8319 GB, free: 8.105 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.1897, allocations: 461.2 kB / 0.8323 GB, free: 7.652 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.1899, allocations: 190 kB / 0.8325 GB, free: 7.441 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1902, allocations: 0.6768 MB / 0.8332 GB, free: 6.738 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.692e-05/0.1903, allocations: 7.984 kB / 0.8332 GB, free: 6.73 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.1903, allocations: 15.44 kB / 0.8332 GB, free: 6.715 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.21e-07/0.1903, allocations: 0 / 0.8332 GB, free: 6.715 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003118/0.1934, allocations: 0.6574 MB / 0.8338 GB, free: 6.078 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.865105495788157]
Failed to read output from testmodel.py, exit status != 0:
0.20101144909858704 0.21665900800000001 0.029017094
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f14c1c557b0>