Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001523/0.001523, 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.001311/0.001311, allocations: 189.3 kB / 22.22 MB, free: 5.098 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.384/1.384, allocations: 225.6 MB / 251 MB, free: 13.02 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.002489/0.002489, allocations: 285.8 kB / 306.5 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.218/1.218, allocations: 180.9 MB / 0.53 GB, free: 14.57 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.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay")
translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 98.61 kB / 0.7308 GB, free: 38.97 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1617, allocations: 94.2 MB / 0.8228 GB, free: 1.895 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002683/0.1644, allocations: 1.431 MB / 0.8242 GB, free: 460 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0007776/0.1651, allocations: 440.5 kB / 0.8246 GB, free: 16 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.1652, allocations: 3.938 kB / 0.8246 GB, free: 12 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.1652, allocations: 3.938 kB / 0.8246 GB, free: 8 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 8.355e-05/0.1653, allocations: 7.875 kB / 0.8246 GB, free: 0 / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1655, allocations: 24 kB / 0.8247 GB, free: 15.97 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1656, allocations: 55.84 kB / 0.8247 GB, free: 15.92 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.1657, allocations: 4 kB / 0.8247 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.1658, allocations: 31.77 kB / 0.8247 GB, free: 15.89 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.1659, allocations: 19.92 kB / 0.8248 GB, free: 15.87 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1659, allocations: 4 kB / 0.8248 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.1659, allocations: 0 / 0.8248 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.1659, allocations: 8 kB / 0.8248 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.166, allocations: 19.86 kB / 0.8248 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1661, allocations: 43.81 kB / 0.8248 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1661, allocations: 4 kB / 0.8248 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.403e-06/0.1661, allocations: 7.938 kB / 0.8248 GB, free: 15.78 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.901e-06/0.1661, allocations: 0 / 0.8248 GB, free: 15.78 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.0006524/0.1668, allocations: 315.9 kB / 0.8251 GB, free: 15.44 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1668, allocations: 12.03 kB / 0.8252 GB, free: 15.43 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.1669, allocations: 12.88 kB / 0.8252 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.167, allocations: 118.5 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.167, allocations: 384 / 0.8253 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.167, allocations: 8.375 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1671, allocations: 54 kB / 0.8253 GB, free: 15.21 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1672, allocations: 0 / 0.8253 GB, free: 15.21 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1672, allocations: 0 / 0.8253 GB, free: 15.21 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1672, allocations: 0 / 0.8253 GB, free: 15.21 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.1672, allocations: 19.98 kB / 0.8254 GB, free: 15.19 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.1677, allocations: 243.9 kB / 0.8256 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.504e-05/0.1678, allocations: 42.5 kB / 0.8256 GB, free: 14.86 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.1678, allocations: 12.98 kB / 0.8256 GB, free: 14.84 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1678, allocations: 8 kB / 0.8257 GB, free: 14.83 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.168, allocations: 101 kB / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.168, allocations: 0 / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=9): time 0.0003227/0.1684, allocations: 139.6 kB / 0.8259 GB, free: 14.57 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.1684, allocations: 81.05 kB / 0.826 GB, free: 14.47 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1685, allocations: 125.9 kB / 0.8261 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.1686, allocations: 25.7 kB / 0.8261 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.1686, allocations: 84.14 kB / 0.8262 GB, free: 14.22 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.1687, allocations: 27.89 kB / 0.8262 GB, free: 14.19 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.1687, allocations: 21.72 kB / 0.8262 GB, free: 14.16 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001991/0.1689, allocations: 326.8 kB / 0.8265 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/0.169, allocations: 15.94 kB / 0.8266 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.169, allocations: 42.56 kB / 0.8266 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1692, allocations: 110 kB / 0.8267 GB, free: 13.64 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1692, allocations: 0 / 0.8267 GB, free: 13.64 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001811/0.1693, allocations: 123.2 kB / 0.8268 GB, free: 13.51 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.1694, allocations: 33.7 kB / 0.8269 GB, free: 13.47 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1694, allocations: 4 kB / 0.8269 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1694, allocations: 4 kB / 0.8269 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.932e-05/0.1695, allocations: 16.05 kB / 0.8269 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1695, allocations: 4 kB / 0.8269 GB, free: 13.44 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.1695, allocations: 4 kB / 0.8269 GB, free: 13.44 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1695, allocations: 0 / 0.8269 GB, free: 13.44 MB / 0.5762 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.000138/0.1697, allocations: 152.8 kB / 0.827 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.1697, allocations: 7.953 kB / 0.827 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.1697, allocations: 12.38 kB / 0.8271 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1697, allocations: 0 / 0.8271 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1697, allocations: 4 kB / 0.8271 GB, free: 13.24 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1697, allocations: 0 / 0.8271 GB, free: 13.24 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.1702, allocations: 371.2 kB / 0.8274 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1702, allocations: 0 / 0.8274 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.1702, allocations: 7.938 kB / 0.8274 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1702, allocations: 3.984 kB / 0.8274 GB, free: 12.81 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1702, allocations: 0 / 0.8274 GB, free: 12.81 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1702, allocations: 0 / 0.8274 GB, free: 12.81 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1702, allocations: 0 / 0.8274 GB, free: 12.81 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.1705, allocations: 245.2 kB / 0.8277 GB, free: 12.55 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.1705, allocations: 3.953 kB / 0.8277 GB, free: 12.55 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1705, allocations: 11.92 kB / 0.8277 GB, free: 12.54 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1706, allocations: 7.984 kB / 0.8277 GB, free: 12.53 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1707, allocations: 15.92 kB / 0.8277 GB, free: 12.51 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1707, allocations: 4 kB / 0.8277 GB, free: 12.51 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 6.862e-05/0.1707, allocations: 83.28 kB / 0.8278 GB, free: 12.43 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1707, allocations: 0 / 0.8278 GB, free: 12.43 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002326/0.171, allocations: 20 kB / 0.8278 GB, free: 12.41 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: 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.0001039/0.1711, allocations: 105.4 kB / 0.8279 GB, free: 12.3 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001998/0.1713, allocations: 103.3 kB / 0.828 GB, free: 12.18 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1713, allocations: 0 / 0.828 GB, free: 12.18 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.1714, allocations: 87.38 kB / 0.8281 GB, free: 12.09 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.1717, allocations: 15.98 kB / 0.8281 GB, free: 12.07 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.172, allocations: 161.5 kB / 0.8282 GB, free: 11.89 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.1724, allocations: 0.6884 MB / 0.8289 GB, free: 11.17 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.859e-05/0.1724, allocations: 7.984 kB / 0.8289 GB, free: 11.16 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.1725, allocations: 11.44 kB / 0.8289 GB, free: 11.16 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.3e-07/0.1725, allocations: 4 kB / 0.8289 GB, free: 11.15 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003598/0.1761, allocations: 0.907 MB / 0.8298 GB, free: 10.25 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.87913498096168]
Failed to read output from testmodel.py, exit status != 0:
0.1830655438825488 0.198305811 0.029144052
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f398cf317b0>