Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.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.001229/0.001229, 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.001307/0.001307, allocations: 190.1 kB / 22.23 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.315/1.315, allocations: 225.6 MB / 251 MB, free: 13.02 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.9029/0.9029, allocations: 145 MB / 451.3 MB, free: 5.461 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay")
translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 72.17 kB / 0.6253 GB, free: 15.55 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1596, allocations: 86.71 MB / 0.71 GB, free: 8.828 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002592/0.1622, allocations: 1.426 MB / 0.7114 GB, free: 7.395 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0007348/0.1629, allocations: 438.9 kB / 0.7118 GB, free: 6.961 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.1629, allocations: 4 kB / 0.7118 GB, free: 6.957 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.163, allocations: 7.922 kB / 0.7118 GB, free: 6.949 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 7.832e-05/0.163, allocations: 11.92 kB / 0.7118 GB, free: 6.938 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.1632, allocations: 19.92 kB / 0.7118 GB, free: 6.918 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1633, allocations: 55.78 kB / 0.7119 GB, free: 6.863 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.34e-05/0.1634, allocations: 4 kB / 0.7119 GB, free: 6.859 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.1e-05/0.1635, allocations: 23.92 kB / 0.7119 GB, free: 6.836 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.1636, allocations: 23.91 kB / 0.7119 GB, free: 6.812 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1636, allocations: 4 kB / 0.7119 GB, free: 6.809 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.1636, allocations: 4 kB / 0.7119 GB, free: 6.805 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.1636, allocations: 11.94 kB / 0.7119 GB, free: 6.793 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 5.583e-05/0.1637, allocations: 23.8 kB / 0.712 GB, free: 6.77 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1638, allocations: 47.81 kB / 0.712 GB, free: 6.723 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1638, allocations: 0 / 0.712 GB, free: 6.723 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.332e-06/0.1638, allocations: 0 / 0.712 GB, free: 6.723 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 4.999e-06/0.1638, allocations: 0 / 0.712 GB, free: 6.723 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.000646/0.1645, allocations: 319.9 kB / 0.7123 GB, free: 6.375 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1645, allocations: 8.031 kB / 0.7123 GB, free: 6.367 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.1645, allocations: 8.938 kB / 0.7123 GB, free: 6.359 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.1647, allocations: 114.5 kB / 0.7124 GB, free: 6.223 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1647, allocations: 4.375 kB / 0.7124 GB, free: 6.219 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1647, allocations: 4.312 kB / 0.7125 GB, free: 6.215 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1648, allocations: 54 kB / 0.7125 GB, free: 6.156 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1649, allocations: 0 / 0.7125 GB, free: 6.156 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1649, allocations: 3.938 kB / 0.7125 GB, free: 6.152 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1649, allocations: 8 kB / 0.7125 GB, free: 6.145 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.526e-05/0.1649, allocations: 15.98 kB / 0.7125 GB, free: 6.129 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1653, allocations: 239.9 kB / 0.7128 GB, free: 5.852 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.1654, allocations: 38.56 kB / 0.7128 GB, free: 5.805 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.1654, allocations: 16.98 kB / 0.7128 GB, free: 5.785 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1654, allocations: 0 / 0.7128 GB, free: 5.785 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.1656, allocations: 121 kB / 0.7129 GB, free: 5.648 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.1656, allocations: 0 / 0.7129 GB, free: 5.648 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=9): time 0.0002823/0.1659, allocations: 135.3 kB / 0.7131 GB, free: 5.504 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.166, allocations: 85.11 kB / 0.7131 GB, free: 5.402 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.1661, allocations: 109.8 kB / 0.7132 GB, free: 5.285 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1661, allocations: 29.7 kB / 0.7133 GB, free: 5.25 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.1661, allocations: 84.14 kB / 0.7134 GB, free: 5.164 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1662, allocations: 27.83 kB / 0.7134 GB, free: 5.137 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.1662, allocations: 21.72 kB / 0.7134 GB, free: 5.109 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001348/0.1663, allocations: 322.8 kB / 0.7137 GB, free: 4.785 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/0.1664, allocations: 16.28 kB / 0.7137 GB, free: 4.77 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.1664, allocations: 42.5 kB / 0.7138 GB, free: 4.719 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1665, allocations: 121.9 kB / 0.7139 GB, free: 4.578 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1665, allocations: 0 / 0.7139 GB, free: 4.578 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001647/0.1667, allocations: 123.3 kB / 0.714 GB, free: 4.445 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.1667, allocations: 37.7 kB / 0.714 GB, free: 4.402 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1667, allocations: 0 / 0.714 GB, free: 4.402 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1668, allocations: 0 / 0.714 GB, free: 4.402 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.416e-05/0.1668, allocations: 11.97 kB / 0.714 GB, free: 4.391 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1668, allocations: 0 / 0.714 GB, free: 4.391 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.1669, allocations: 7.938 kB / 0.7141 GB, free: 4.383 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1669, allocations: 8.062 kB / 0.7141 GB, free: 4.375 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001161/0.167, allocations: 155.5 kB / 0.7142 GB, free: 4.207 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.167, allocations: 11.89 kB / 0.7142 GB, free: 4.195 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.167, allocations: 8.375 kB / 0.7142 GB, free: 4.18 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.167, allocations: 4 kB / 0.7142 GB, free: 4.176 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.167, allocations: 0 / 0.7142 GB, free: 4.176 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1671, allocations: 0 / 0.7142 GB, free: 4.176 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.1675, allocations: 371.2 kB / 0.7146 GB, free: 3.758 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1675, allocations: 4 kB / 0.7146 GB, free: 3.754 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-06/0.1675, allocations: 0 / 0.7146 GB, free: 3.754 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1675, allocations: 3.984 kB / 0.7146 GB, free: 3.75 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1675, allocations: 8 kB / 0.7146 GB, free: 3.742 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1675, allocations: 0 / 0.7146 GB, free: 3.742 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1675, allocations: 0 / 0.7146 GB, free: 3.742 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.1678, allocations: 233.1 kB / 0.7148 GB, free: 3.492 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.1678, allocations: 7.953 kB / 0.7148 GB, free: 3.484 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1678, allocations: 4 kB / 0.7148 GB, free: 3.48 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1679, allocations: 15.98 kB / 0.7148 GB, free: 3.465 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.168, allocations: 7.922 kB / 0.7149 GB, free: 3.457 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.168, allocations: 4 kB / 0.7149 GB, free: 3.453 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 9.224e-05/0.1681, allocations: 87.38 kB / 0.7149 GB, free: 3.367 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 1.11e-07/0.1681, allocations: 3.938 kB / 0.7149 GB, free: 3.363 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002272/0.1683, allocations: 12 kB / 0.715 GB, free: 3.352 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart)
 * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 2
 * 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.0001018/0.1684, allocations: 107.2 kB / 0.7151 GB, free: 3.238 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0002115/0.1686, allocations: 107.3 kB / 0.7152 GB, free: 3.121 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1686, allocations: 0 / 0.7152 GB, free: 3.121 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 8.964e-05/0.1687, allocations: 83.33 kB / 0.7152 GB, free: 3.027 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.169, allocations: 25.05 kB / 0.7153 GB, free: 3.004 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.1693, allocations: 165.3 kB / 0.7154 GB, free: 2.816 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1696, allocations: 0.6904 MB / 0.7161 GB, free: 2.102 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 2.574e-05/0.1696, allocations: 7.984 kB / 0.7161 GB, free: 2.094 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.1697, allocations: 11.44 kB / 0.7161 GB, free: 2.086 MB / 0.5294 GB
Notification: Performance of SimCode: time 3e-07/0.1697, allocations: 0 / 0.7161 GB, free: 2.086 MB / 0.5294 GB
Notification: Performance of Templates: time 0.003362/0.173, allocations: 0.9069 MB / 0.717 GB, free: 1.188 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.06722370814532]
Failed to read output from testmodel.py, exit status != 0:
0.1802985854446888 0.195144172 0.028392623000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5201e8d7b0>