Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 114.6 kB / 17.09 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 194.8 kB / 18.03 MB, free: 5.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7783/0.7783, allocations: 122.9 MB / 414.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.22 kB / 0.5691 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1562, allocations: 77.94 MB / 0.6452 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002703/0.159, allocations: 1.404 MB / 0.6465 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007919/0.1598, allocations: 440.1 kB / 0.647 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.1599, allocations: 0 / 0.647 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.1599, allocations: 3.938 kB / 0.647 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.16, allocations: 11.91 kB / 0.647 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.1602, allocations: 19.92 kB / 0.647 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1603, allocations: 51.8 kB / 0.647 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.1604, allocations: 11.98 kB / 0.6471 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.1605, allocations: 23.86 kB / 0.6471 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.1606, allocations: 23.92 kB / 0.6471 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1606, allocations: 4 kB / 0.6471 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.1606, allocations: 7.938 kB / 0.6471 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.1607, allocations: 3.984 kB / 0.6471 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.1607, allocations: 23.88 kB / 0.6471 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1609, allocations: 47.81 kB / 0.6472 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1609, allocations: 0 / 0.6472 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1609, allocations: 4 kB / 0.6472 GB, free: 6.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1609, allocations: 0 / 0.6472 GB, free: 6.977 MB / 494.1 MB 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.0006464/0.1615, allocations: 397 kB / 0.6476 GB, free: 6.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1616, allocations: 8.625 kB / 0.6476 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.1616, allocations: 0.9375 kB / 0.6476 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1618, allocations: 172.2 kB / 0.6477 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1618, allocations: 4.375 kB / 0.6477 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1618, allocations: 8.375 kB / 0.6477 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1619, allocations: 57.92 kB / 0.6478 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.162, allocations: 0 / 0.6478 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.162, allocations: 4 kB / 0.6478 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.162, allocations: 0 / 0.6478 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.162, allocations: 19.98 kB / 0.6478 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.1625, allocations: 264.8 kB / 0.6481 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.227e-05/0.1626, allocations: 46.56 kB / 0.6481 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.1626, allocations: 20.98 kB / 0.6481 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1627, allocations: 3.938 kB / 0.6481 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1628, allocations: 113 kB / 0.6483 GB, free: 5.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.1629, allocations: 0 / 0.6483 GB, free: 5.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003226/0.1632, allocations: 139.3 kB / 0.6484 GB, free: 5.555 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1632, allocations: 81.11 kB / 0.6485 GB, free: 5.457 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/0.1633, allocations: 113.8 kB / 0.6486 GB, free: 5.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1634, allocations: 25.7 kB / 0.6486 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.1634, allocations: 92.33 kB / 0.6487 GB, free: 5.211 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.1635, allocations: 19.75 kB / 0.6487 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.1635, allocations: 25.7 kB / 0.6487 GB, free: 5.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1637, allocations: 318.8 kB / 0.649 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.1637, allocations: 15.98 kB / 0.649 GB, free: 4.824 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.1638, allocations: 46.5 kB / 0.6491 GB, free: 4.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1639, allocations: 122.2 kB / 0.6492 GB, free: 4.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1639, allocations: 0 / 0.6492 GB, free: 4.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001594/0.1641, allocations: 123.3 kB / 0.6493 GB, free: 4.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.1641, allocations: 33.7 kB / 0.6494 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1641, allocations: 4 kB / 0.6494 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1641, allocations: 0 / 0.6494 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.294e-05/0.1642, allocations: 12 kB / 0.6494 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1642, allocations: 3.938 kB / 0.6494 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.1643, allocations: 11.89 kB / 0.6494 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1643, allocations: 4 kB / 0.6494 GB, free: 4.422 MB / 494.1 MB 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.0001019/0.1644, allocations: 151 kB / 0.6495 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.1644, allocations: 7.984 kB / 0.6495 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.1645, allocations: 8.375 kB / 0.6496 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1645, allocations: 0 / 0.6496 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1645, allocations: 4 kB / 0.6496 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.1645, allocations: 85.02 kB / 0.6496 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1646, allocations: 0 / 0.6496 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.1646, allocations: 15.98 kB / 0.6497 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1647, allocations: 11.92 kB / 0.6497 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002504/0.165, allocations: 262 kB / 0.6499 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002417/0.1652, allocations: 316.3 kB / 0.6502 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.261e-05/0.1653, allocations: 31.98 kB / 0.6502 GB, free: 3.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.1653, allocations: 87.28 kB / 0.6503 GB, free: 3.375 MB / 494.1 MB Notification: Performance of Backend: time 5.21e-07/0.1653, allocations: 0 / 0.6503 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.1657, allocations: 165.8 kB / 0.6505 GB, free: 3.195 MB / 494.1 MB Notification: Performance of SimCode: time 0.0005496/0.1663, allocations: 0.6502 MB / 0.6511 GB, free: 2.488 MB / 494.1 MB Notification: Performance of Templates: time 0.003279/0.1696, allocations: 0.9389 MB / 0.652 GB, free: 1.559 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)