Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001241/0.001241, 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.001309/0.001309, allocations: 189 kB / 22.22 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.41/1.41, 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.002486/0.002486, allocations: 286.8 kB / 306.6 MB, free: 8.328 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.213/1.213, allocations: 180.9 MB / 0.53 GB, free: 14.37 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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck")
translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 102.9 kB / 0.7308 GB, free: 38.82 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 94.2 MB / 0.8228 GB, free: 1.855 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002474/0.1695, allocations: 1.273 MB / 0.824 GB, free: 0.5703 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.004737/0.1742, allocations: 2.982 MB / 0.827 GB, free: 13.57 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.1743, allocations: 0 / 0.827 GB, free: 13.57 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.1743, allocations: 7.922 kB / 0.827 GB, free: 13.56 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.1743, allocations: 7.922 kB / 0.827 GB, free: 13.55 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.1749, allocations: 107.5 kB / 0.8271 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 9.604e-05/0.175, allocations: 39.89 kB / 0.8271 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.1751, allocations: 4 kB / 0.8271 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.1756, allocations: 179.5 kB / 0.8273 GB, free: 13.23 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.1757, allocations: 19.92 kB / 0.8273 GB, free: 13.21 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1757, allocations: 4 kB / 0.8273 GB, free: 13.21 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.1759, allocations: 71.8 kB / 0.8274 GB, free: 13.14 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.1759, allocations: 7.984 kB / 0.8274 GB, free: 13.13 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.1759, allocations: 11.94 kB / 0.8274 GB, free: 13.12 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1761, allocations: 71.78 kB / 0.8275 GB, free: 13.05 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1761, allocations: 4 kB / 0.8275 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.483e-06/0.1761, allocations: 0 / 0.8275 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 9.768e-06/0.1762, allocations: 0 / 0.8275 GB, free: 13.04 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004543/0.1766, allocations: 274.2 kB / 0.8277 GB, free: 12.75 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1767, allocations: 8.031 kB / 0.8277 GB, free: 12.74 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1767, allocations: 4.938 kB / 0.8277 GB, free: 12.73 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1768, allocations: 106.5 kB / 0.8278 GB, free: 12.61 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1768, allocations: 4.375 kB / 0.8278 GB, free: 12.6 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1768, allocations: 16.33 kB / 0.8279 GB, free: 12.59 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.177, allocations: 57.73 kB / 0.8279 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.177, allocations: 0 / 0.8279 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.177, allocations: 4 kB / 0.8279 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.177, allocations: 3.938 kB / 0.8279 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.1771, allocations: 15.98 kB / 0.8279 GB, free: 12.5 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.1773, allocations: 136.7 kB / 0.8281 GB, free: 12.32 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1774, allocations: 58.48 kB / 0.8281 GB, free: 12.26 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.1775, allocations: 8.859 kB / 0.8281 GB, free: 12.25 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006162/0.1781, allocations: 250.1 kB / 0.8284 GB, free: 11.98 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1781, allocations: 34.56 kB / 0.8284 GB, free: 11.94 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1781, allocations: 0 / 0.8284 GB, free: 11.94 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=7): time 0.0006302/0.1787, allocations: 233.6 kB / 0.8286 GB, free: 11.68 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1788, allocations: 51.41 kB / 0.8287 GB, free: 11.61 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.1789, allocations: 97.84 kB / 0.8288 GB, free: 11.51 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1789, allocations: 29.7 kB / 0.8288 GB, free: 11.47 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.179, allocations: 88.17 kB / 0.8289 GB, free: 11.38 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.179, allocations: 31.72 kB / 0.8289 GB, free: 11.35 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.179, allocations: 25.72 kB / 0.8289 GB, free: 11.32 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001479/0.1792, allocations: 326.8 kB / 0.8293 GB, free: 10.99 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.1792, allocations: 15.94 kB / 0.8293 GB, free: 10.98 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.1793, allocations: 53.14 kB / 0.8293 GB, free: 10.91 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1794, allocations: 77.08 kB / 0.8294 GB, free: 10.81 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1794, allocations: 0 / 0.8294 GB, free: 10.81 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001464/0.1795, allocations: 101.7 kB / 0.8295 GB, free: 10.71 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1795, allocations: 4 kB / 0.8295 GB, free: 10.7 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1795, allocations: 0 / 0.8295 GB, free: 10.7 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1796, allocations: 7.938 kB / 0.8295 GB, free: 10.7 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.1796, allocations: 19.94 kB / 0.8295 GB, free: 10.68 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1797, allocations: 12.11 kB / 0.8295 GB, free: 10.66 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.997e-05/0.1797, allocations: 7.938 kB / 0.8295 GB, free: 10.66 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1797, allocations: 4.078 kB / 0.8295 GB, free: 10.65 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (12):
 * Single equations (assignments): 12
 * 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 0.0001008/0.1798, allocations: 115.2 kB / 0.8297 GB, free: 10.53 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1798, allocations: 0 / 0.8297 GB, free: 10.53 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.1799, allocations: 12.06 kB / 0.8297 GB, free: 10.52 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1799, allocations: 0 / 0.8297 GB, free: 10.52 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1799, allocations: 3.938 kB / 0.8297 GB, free: 10.52 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1799, allocations: 3.938 kB / 0.8297 GB, free: 10.52 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.1801, allocations: 144.7 kB / 0.8298 GB, free: 10.33 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1801, allocations: 0 / 0.8298 GB, free: 10.33 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.425e-05/0.1802, allocations: 27.92 kB / 0.8298 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1802, allocations: 0 / 0.8298 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1802, allocations: 0 / 0.8298 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1802, allocations: 3.984 kB / 0.8298 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1802, allocations: 0 / 0.8298 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.1804, allocations: 179.4 kB / 0.83 GB, free: 10.11 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.1805, allocations: 4 kB / 0.83 GB, free: 10.11 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1805, allocations: 4 kB / 0.83 GB, free: 10.1 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1806, allocations: 4 kB / 0.83 GB, free: 10.1 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.1806, allocations: 8.031 kB / 0.83 GB, free: 10.09 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1806, allocations: 3.938 kB / 0.83 GB, free: 10.09 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.14e-05/0.1807, allocations: 83.22 kB / 0.8301 GB, free: 10 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.1807, allocations: 0 / 0.8301 GB, free: 10 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002514/0.1809, allocations: 12 kB / 0.8301 GB, free: 9.992 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (hLiqSym,cpSym,cvSym)
 * 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 (7):
 * Single equations (assignments): 7
 * 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.0001493/0.1811, allocations: 107.2 kB / 0.8302 GB, free: 9.875 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001332/0.1812, allocations: 39.92 kB / 0.8303 GB, free: 9.836 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1812, allocations: 0 / 0.8303 GB, free: 9.836 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.1812, allocations: 16 kB / 0.8303 GB, free: 9.82 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1815, allocations: 15.92 kB / 0.8303 GB, free: 9.805 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.1822, allocations: 323.2 kB / 0.8306 GB, free: 9.461 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1825, allocations: 0.6885 MB / 0.8313 GB, free: 8.746 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.476e-05/0.1826, allocations: 4 kB / 0.8313 GB, free: 8.742 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.1826, allocations: 11.44 kB / 0.8313 GB, free: 8.73 MB / 0.5762 GB
Notification: Performance of SimCode: time 8.82e-07/0.1826, allocations: 3.938 kB / 0.8313 GB, free: 8.727 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003442/0.186, allocations: 0.6851 MB / 0.832 GB, free: 8.047 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.936046921648085]
Failed to read output from testmodel.py, exit status != 0:
0.19415182899683714 0.210121719 0.030906748
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f49ceb697b0>