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.008143/0.008143, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.00184/0.00184, allocations: 197.5 kB / 16.79 MB, free: 6.242 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.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7057/0.7057, allocations: 122.9 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 64.42 kB / 0.4904 GB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.166, allocations: 77.92 MB / 0.5665 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002885/0.1689, allocations: 1.478 MB / 0.5679 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007786/0.1697, allocations: 435 kB / 0.5684 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.1697, allocations: 4 kB / 0.5684 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.1698, allocations: 0 / 0.5684 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.1699, allocations: 3.938 kB / 0.5684 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.1701, allocations: 23.92 kB / 0.5684 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.539e-05/0.1701, allocations: 43.86 kB / 0.5684 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1703, allocations: 7.984 kB / 0.5684 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.705e-05/0.1703, allocations: 23.86 kB / 0.5685 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.1704, allocations: 19.91 kB / 0.5685 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1704, allocations: 4 kB / 0.5685 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.1704, allocations: 4 kB / 0.5685 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.1705, allocations: 8 kB / 0.5685 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.1705, allocations: 23.86 kB / 0.5685 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.275e-05/0.1706, allocations: 31.88 kB / 0.5685 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1707, allocations: 4 kB / 0.5686 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1707, allocations: 0 / 0.5686 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.1707, allocations: 0 / 0.5686 GB, free: 14.61 MB / 446.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.0006162/0.1713, allocations: 395 kB / 0.5689 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1713, allocations: 12.03 kB / 0.5689 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.1714, allocations: 4.938 kB / 0.5689 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1715, allocations: 180.2 kB / 0.5691 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1715, allocations: 384 / 0.5691 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1715, allocations: 8.359 kB / 0.5691 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1717, allocations: 57.94 kB / 0.5692 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1717, allocations: 0 / 0.5692 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1717, allocations: 3.938 kB / 0.5692 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1717, allocations: 0 / 0.5692 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.612e-05/0.1718, allocations: 19.98 kB / 0.5692 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.1722, allocations: 272.8 kB / 0.5695 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.1723, allocations: 46.48 kB / 0.5695 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.1723, allocations: 20.98 kB / 0.5695 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1723, allocations: 0 / 0.5695 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.1725, allocations: 105.1 kB / 0.5696 GB, free: 13.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1725, allocations: 0 / 0.5696 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002742/0.1728, allocations: 147.2 kB / 0.5698 GB, free: 13.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.1729, allocations: 77.11 kB / 0.5698 GB, free: 13.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.173, allocations: 109.8 kB / 0.5699 GB, free: 12.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.173, allocations: 29.7 kB / 0.57 GB, free: 12.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.173, allocations: 80.14 kB / 0.5701 GB, free: 12.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1731, allocations: 23.7 kB / 0.5701 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.1731, allocations: 29.7 kB / 0.5701 GB, free: 12.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1733, allocations: 326.8 kB / 0.5704 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.1733, allocations: 19.94 kB / 0.5704 GB, free: 12.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.1734, allocations: 34.56 kB / 0.5705 GB, free: 12.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1735, allocations: 110.4 kB / 0.5706 GB, free: 12.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1735, allocations: 0 / 0.5706 GB, free: 12.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001675/0.1736, allocations: 127.3 kB / 0.5707 GB, free: 12.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.1737, allocations: 37.64 kB / 0.5707 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1737, allocations: 0 / 0.5707 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1737, allocations: 0 / 0.5707 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.407e-05/0.1738, allocations: 4 kB / 0.5707 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1738, allocations: 4.062 kB / 0.5707 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.1739, allocations: 19.83 kB / 0.5708 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1739, allocations: 4 kB / 0.5708 GB, free: 12.06 MB / 446.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.0001219/0.174, allocations: 159.2 kB / 0.5709 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.174, allocations: 4 kB / 0.5709 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.1741, allocations: 12.31 kB / 0.5709 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1741, allocations: 0 / 0.5709 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1741, allocations: 3.938 kB / 0.5709 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1741, allocations: 0 / 0.5709 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.1745, allocations: 408 kB / 0.5713 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1745, allocations: 0 / 0.5713 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-06/0.1745, allocations: 3.938 kB / 0.5713 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1745, allocations: 8 kB / 0.5713 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1745, allocations: 3.984 kB / 0.5713 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1746, allocations: 0 / 0.5713 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1746, allocations: 0 / 0.5713 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.1748, allocations: 225.2 kB / 0.5715 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.1748, allocations: 85.02 kB / 0.5716 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1749, allocations: 4 kB / 0.5716 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.175, allocations: 15.92 kB / 0.5716 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.175, allocations: 11.92 kB / 0.5717 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.175, allocations: 4 kB / 0.5717 GB, free: 11.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.585e-05/0.1751, allocations: 87.28 kB / 0.5717 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1751, allocations: 0 / 0.5717 GB, free: 10.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1753, allocations: 16 kB / 0.5718 GB, free: 10.92 MB / 446.1 MB 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 8.874e-05/0.1754, allocations: 99.23 kB / 0.5719 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1756, allocations: 119.3 kB / 0.572 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1756, allocations: 4 kB / 0.572 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/0.1757, allocations: 87.39 kB / 0.5721 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.176, allocations: 19.64 kB / 0.5721 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.1764, allocations: 159.5 kB / 0.5722 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1766, allocations: 0.6927 MB / 0.5729 GB, free: 9.664 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.898e-05/0.1766, allocations: 7.781 kB / 0.5729 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.1767, allocations: 19.36 kB / 0.5729 GB, free: 9.637 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1767, allocations: 0 / 0.5729 GB, free: 9.637 MB / 446.1 MB Notification: Performance of Templates: time 0.002812/0.1795, allocations: 0.7604 MB / 0.5737 GB, free: 8.887 MB / 446.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)