Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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.001527/0.001527, allocations: 110 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.00161/0.00161, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.326/1.326, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8668/0.8668, allocations: 145 MB / 451.2 MB, free: 5.449 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer")
translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 60.92 kB / 0.6253 GB, free: 15.49 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1531, allocations: 86.71 MB / 0.71 GB, free: 8.789 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002624/0.1557, allocations: 1.47 MB / 0.7114 GB, free: 7.309 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0007219/0.1565, allocations: 450.9 kB / 0.7118 GB, free: 6.863 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.1565, allocations: 0 / 0.7118 GB, free: 6.863 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.1565, allocations: 3.938 kB / 0.7118 GB, free: 6.859 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.1566, allocations: 11.94 kB / 0.7118 GB, free: 6.848 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.1567, allocations: 27.91 kB / 0.7119 GB, free: 6.82 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 8.636e-05/0.1568, allocations: 59.72 kB / 0.7119 GB, free: 6.762 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.1569, allocations: 11.98 kB / 0.7119 GB, free: 6.75 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.1569, allocations: 19.92 kB / 0.712 GB, free: 6.73 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.157, allocations: 19.92 kB / 0.712 GB, free: 6.711 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.157, allocations: 8 kB / 0.712 GB, free: 6.703 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.157, allocations: 4 kB / 0.712 GB, free: 6.699 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.1571, allocations: 11.98 kB / 0.712 GB, free: 6.688 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1571, allocations: 23.86 kB / 0.712 GB, free: 6.664 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.1572, allocations: 43.81 kB / 0.7121 GB, free: 6.621 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1572, allocations: 0 / 0.7121 GB, free: 6.621 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.042e-06/0.1572, allocations: 3.938 kB / 0.7121 GB, free: 6.617 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 6.913e-06/0.1572, allocations: 4 kB / 0.7121 GB, free: 6.613 MB / 0.5294 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0004713/0.1577, allocations: 290.1 kB / 0.7124 GB, free: 6.301 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1577, allocations: 8.031 kB / 0.7124 GB, free: 6.293 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.1578, allocations: 8.891 kB / 0.7124 GB, free: 6.285 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1579, allocations: 106.5 kB / 0.7125 GB, free: 6.156 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1579, allocations: 12.36 kB / 0.7125 GB, free: 6.145 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.1579, allocations: 4.375 kB / 0.7125 GB, free: 6.141 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.158, allocations: 54 kB / 0.7125 GB, free: 6.082 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.158, allocations: 3.938 kB / 0.7125 GB, free: 6.078 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.158, allocations: 8 kB / 0.7125 GB, free: 6.07 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.158, allocations: 4 kB / 0.7126 GB, free: 6.066 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.877e-05/0.1581, allocations: 23.98 kB / 0.7126 GB, free: 6.043 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.1586, allocations: 275.8 kB / 0.7128 GB, free: 5.73 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1587, allocations: 50.59 kB / 0.7129 GB, free: 5.672 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.1587, allocations: 24.95 kB / 0.7129 GB, free: 5.645 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.1587, allocations: 0 / 0.7129 GB, free: 5.645 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.1589, allocations: 75.38 kB / 0.713 GB, free: 5.559 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1589, allocations: 0 / 0.713 GB, free: 5.559 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=9): time 0.0002342/0.1591, allocations: 105.5 kB / 0.7131 GB, free: 5.449 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1591, allocations: 59.34 kB / 0.7131 GB, free: 5.379 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.1592, allocations: 105.8 kB / 0.7132 GB, free: 5.266 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1593, allocations: 33.7 kB / 0.7133 GB, free: 5.227 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.1593, allocations: 88.03 kB / 0.7134 GB, free: 5.137 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.1593, allocations: 27.8 kB / 0.7134 GB, free: 5.109 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.1594, allocations: 29.7 kB / 0.7134 GB, free: 5.074 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001532/0.1595, allocations: 322.8 kB / 0.7137 GB, free: 4.75 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.1596, allocations: 15.98 kB / 0.7137 GB, free: 4.734 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.1596, allocations: 47.36 kB / 0.7138 GB, free: 4.676 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.545e-05/0.1597, allocations: 67.38 kB / 0.7138 GB, free: 4.598 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1597, allocations: 0 / 0.7138 GB, free: 4.598 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001516/0.1599, allocations: 93.61 kB / 0.7139 GB, free: 4.5 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1599, allocations: 4 kB / 0.7139 GB, free: 4.496 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.1599, allocations: 0 / 0.7139 GB, free: 4.496 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1599, allocations: 4 kB / 0.7139 GB, free: 4.492 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.16, allocations: 15.92 kB / 0.714 GB, free: 4.477 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.16, allocations: 0 / 0.714 GB, free: 4.477 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.1601, allocations: 11.95 kB / 0.714 GB, free: 4.465 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1601, allocations: 8.031 kB / 0.714 GB, free: 4.457 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime)
 * 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 9.301e-05/0.1602, allocations: 125.8 kB / 0.7141 GB, free: 4.324 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.1602, allocations: 4 kB / 0.7141 GB, free: 4.32 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.1602, allocations: 8.062 kB / 0.7141 GB, free: 4.305 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1602, allocations: 0 / 0.7141 GB, free: 4.305 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1602, allocations: 4 kB / 0.7141 GB, free: 4.301 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1602, allocations: 0 / 0.7141 GB, free: 4.301 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.1606, allocations: 345.4 kB / 0.7144 GB, free: 3.914 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1606, allocations: 0 / 0.7144 GB, free: 3.914 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.1607, allocations: 7.984 kB / 0.7144 GB, free: 3.906 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1607, allocations: 480 / 0.7144 GB, free: 3.906 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1607, allocations: 4 kB / 0.7145 GB, free: 3.902 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1607, allocations: 7.938 kB / 0.7145 GB, free: 3.895 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1607, allocations: 0 / 0.7145 GB, free: 3.895 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1609, allocations: 183.4 kB / 0.7146 GB, free: 3.699 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.1609, allocations: 7.953 kB / 0.7146 GB, free: 3.691 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1609, allocations: 4.281 kB / 0.7146 GB, free: 3.688 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.161, allocations: 3.938 kB / 0.7147 GB, free: 3.684 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.161, allocations: 11.98 kB / 0.7147 GB, free: 3.672 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.161, allocations: 7.984 kB / 0.7147 GB, free: 3.664 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 4.999e-05/0.1611, allocations: 83.27 kB / 0.7147 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 1e-07/0.1611, allocations: 0 / 0.7147 GB, free: 3.582 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002315/0.1613, allocations: 16 kB / 0.7148 GB, free: 3.566 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 3
 * 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 9.437e-05/0.1614, allocations: 95.25 kB / 0.7149 GB, free: 3.465 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0001362/0.1615, allocations: 59.84 kB / 0.7149 GB, free: 3.406 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1615, allocations: 0 / 0.7149 GB, free: 3.406 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.1616, allocations: 23.94 kB / 0.7149 GB, free: 3.383 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.1618, allocations: 11.98 kB / 0.7149 GB, free: 3.371 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.1622, allocations: 177.2 kB / 0.7151 GB, free: 3.172 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1625, allocations: 0.6885 MB / 0.7158 GB, free: 2.457 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 2.436e-05/0.1626, allocations: 4 kB / 0.7158 GB, free: 2.453 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.1626, allocations: 11.44 kB / 0.7158 GB, free: 2.445 MB / 0.5294 GB
Notification: Performance of SimCode: time 3.31e-07/0.1626, allocations: 0 / 0.7158 GB, free: 2.445 MB / 0.5294 GB
Notification: Performance of Templates: time 0.003035/0.1656, allocations: 0.8211 MB / 0.7166 GB, free: 1.633 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.170719624496996]
Failed to read output from testmodel.py, exit status != 0:
0.17270649131387472 0.187054883 0.027017253
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f35663c57b0>