Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.001559/0.001559, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001849/0.001849, allocations: 189.4 kB / 22.23 MB, free: 5.137 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.387/1.387, allocations: 225.6 MB / 251 MB, free: 13.04 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.002591/0.002591, allocations: 294.4 kB / 306.6 MB, free: 8.422 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.198/1.198, allocations: 180.9 MB / 0.53 GB, free: 14.44 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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection")
translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 103 kB / 0.7308 GB, free: 38.54 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1606, allocations: 94.2 MB / 0.8228 GB, free: 1.832 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003532/0.1641, allocations: 2.052 MB / 0.8248 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.001074/0.1652, allocations: 0.5806 MB / 0.8254 GB, free: 15.19 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1653, allocations: 4 kB / 0.8254 GB, free: 15.18 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1654, allocations: 23.67 kB / 0.8254 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 8.089e-05/0.1655, allocations: 31.66 kB / 0.8255 GB, free: 15.13 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1659, allocations: 87.84 kB / 0.8255 GB, free: 15.04 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.000266/0.1661, allocations: 224.1 kB / 0.8258 GB, free: 14.82 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1663, allocations: 88.02 kB / 0.8258 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1665, allocations: 95.64 kB / 0.8259 GB, free: 14.64 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1666, allocations: 107.5 kB / 0.826 GB, free: 14.53 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.1667, allocations: 27.94 kB / 0.8261 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.484e-05/0.1668, allocations: 35.98 kB / 0.8261 GB, free: 14.47 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.1668, allocations: 55.78 kB / 0.8262 GB, free: 14.41 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.167, allocations: 103.5 kB / 0.8263 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004/0.1674, allocations: 282.8 kB / 0.8265 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1674, allocations: 0 / 0.8265 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.453e-06/0.1674, allocations: 0 / 0.8265 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.184e-06/0.1674, allocations: 0 / 0.8265 GB, free: 14.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: 42
 * Number of variables: 42
Notification: Performance of Generate backend data structure: time 0.0008569/0.1682, allocations: 461.2 kB / 0.827 GB, free: 13.55 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1683, allocations: 12.03 kB / 0.827 GB, free: 13.54 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.1683, allocations: 24.8 kB / 0.827 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1687, allocations: 194.9 kB / 0.8272 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1687, allocations: 16.31 kB / 0.8272 GB, free: 13.29 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1687, allocations: 16.38 kB / 0.8272 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.1691, allocations: 229.1 kB / 0.8274 GB, free: 13.03 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1692, allocations: 0 / 0.8274 GB, free: 13.03 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.1692, allocations: 8 kB / 0.8274 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1692, allocations: 4 kB / 0.8274 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.1695, allocations: 139.9 kB / 0.8276 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009831/0.1705, allocations: 0.5614 MB / 0.8281 GB, free: 12.27 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.1709, allocations: 118.7 kB / 0.8282 GB, free: 12.15 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.171, allocations: 44.84 kB / 0.8283 GB, free: 12.1 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.171, allocations: 4 kB / 0.8283 GB, free: 12.1 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1711, allocations: 34.56 kB / 0.8283 GB, free: 12.05 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.1711, allocations: 0 / 0.8283 GB, free: 12.05 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=10): time 0.0005587/0.1716, allocations: 169.7 kB / 0.8285 GB, free: 11.88 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1717, allocations: 140.5 kB / 0.8286 GB, free: 11.71 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.1719, allocations: 219.1 kB / 0.8288 GB, free: 11.49 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.172, allocations: 29.7 kB / 0.8289 GB, free: 11.45 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1721, allocations: 144.7 kB / 0.829 GB, free: 11.31 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1721, allocations: 31.73 kB / 0.829 GB, free: 11.28 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.1722, allocations: 41.7 kB / 0.8291 GB, free: 11.23 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001448/0.1723, allocations: 330.8 kB / 0.8294 GB, free: 10.9 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1724, allocations: 51.92 kB / 0.8294 GB, free: 10.85 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1726, allocations: 80.27 kB / 0.8295 GB, free: 10.75 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.1728, allocations: 93.62 kB / 0.8296 GB, free: 10.66 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1728, allocations: 0 / 0.8296 GB, free: 10.66 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003298/0.1731, allocations: 167.9 kB / 0.8298 GB, free: 10.49 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1732, allocations: 4 kB / 0.8298 GB, free: 10.48 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1732, allocations: 4 kB / 0.8298 GB, free: 10.48 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1732, allocations: 0 / 0.8298 GB, free: 10.48 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1733, allocations: 19.92 kB / 0.8298 GB, free: 10.46 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1733, allocations: 0 / 0.8298 GB, free: 10.46 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1734, allocations: 31.88 kB / 0.8298 GB, free: 10.43 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.1735, allocations: 12.02 kB / 0.8298 GB, free: 10.42 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: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (14):
 * Single equations (assignments): 14
 * 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.0001436/0.1736, allocations: 136.5 kB / 0.83 GB, free: 10.28 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.1737, allocations: 15.91 kB / 0.83 GB, free: 10.26 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.174, allocations: 143 kB / 0.8301 GB, free: 10.12 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.174, allocations: 7.922 kB / 0.8301 GB, free: 10.11 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.174, allocations: 0 / 0.8301 GB, free: 10.11 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.174, allocations: 4 kB / 0.8301 GB, free: 10.11 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.1743, allocations: 240.6 kB / 0.8303 GB, free: 9.828 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1743, allocations: 4 kB / 0.8303 GB, free: 9.824 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.1744, allocations: 11.98 kB / 0.8304 GB, free: 9.812 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1744, allocations: 0 / 0.8304 GB, free: 9.812 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1744, allocations: 8 kB / 0.8304 GB, free: 9.805 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1744, allocations: 3.938 kB / 0.8304 GB, free: 9.801 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1744, allocations: 0 / 0.8304 GB, free: 9.801 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.1748, allocations: 235.3 kB / 0.8306 GB, free: 9.555 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.1748, allocations: 23.83 kB / 0.8306 GB, free: 9.531 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1749, allocations: 4 kB / 0.8306 GB, free: 9.527 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.175, allocations: 24.09 kB / 0.8306 GB, free: 9.504 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.1751, allocations: 27.89 kB / 0.8307 GB, free: 9.477 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1751, allocations: 11.94 kB / 0.8307 GB, free: 9.465 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0001441/0.1753, allocations: 156.4 kB / 0.8308 GB, free: 9.312 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.1753, allocations: 4 kB / 0.8308 GB, free: 9.309 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002791/0.1755, allocations: 39.89 kB / 0.8309 GB, free: 9.27 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: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y)
 * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (10):
 * Single equations (assignments): 10
 * 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.0001713/0.1757, allocations: 107.8 kB / 0.831 GB, free: 9.152 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003364/0.176, allocations: 103.9 kB / 0.8311 GB, free: 9.051 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.176, allocations: 0 / 0.8311 GB, free: 9.051 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.000134/0.1762, allocations: 51.97 kB / 0.8311 GB, free: 9 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1765, allocations: 26.5 kB / 0.8311 GB, free: 8.977 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.1772, allocations: 333.1 kB / 0.8315 GB, free: 8.625 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.1776, allocations: 0.728 MB / 0.8322 GB, free: 7.871 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 8.156e-05/0.1777, allocations: 17.41 kB / 0.8322 GB, free: 7.855 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.1778, allocations: 23.44 kB / 0.8322 GB, free: 7.832 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.9e-07/0.1778, allocations: 0 / 0.8322 GB, free: 7.832 MB / 0.5762 GB
Notification: Performance of Templates: time 0.006176/0.1839, allocations: 2.244 MB / 0.8344 GB, free: 5.637 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.853042951785028]
Failed to read output from testmodel.py, exit status != 0:
0.1915200287476182 0.20733105499999996 0.036785792000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd9b221d7b0>