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) 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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001137/0.001137, allocations: 102.6 kB / 16.35 MB, free: 5.879 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.001143/0.001143, allocations: 192.4 kB / 17.29 MB, free: 5.52 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 4.207 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 1.003/1.003, allocations: 143 MB / 434.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.91 kB / 0.5156 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1657, allocations: 82.04 MB / 0.5957 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002502/0.1683, allocations: 1.416 MB / 0.5971 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000675/0.169, allocations: 438.9 kB / 0.5975 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.169, allocations: 0 / 0.5975 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.1691, allocations: 0 / 0.5975 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.1692, allocations: 19.86 kB / 0.5975 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.1693, allocations: 11.98 kB / 0.5975 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.1694, allocations: 55.78 kB / 0.5976 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.1695, allocations: 4 kB / 0.5976 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.1696, allocations: 35.78 kB / 0.5976 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.1697, allocations: 19.92 kB / 0.5976 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1697, allocations: 4 kB / 0.5976 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.1697, allocations: 4 kB / 0.5976 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.1697, allocations: 4 kB / 0.5976 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.1698, allocations: 27.86 kB / 0.5977 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.1699, allocations: 43.81 kB / 0.5977 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1699, allocations: 4 kB / 0.5977 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1699, allocations: 0 / 0.5977 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.1699, allocations: 0 / 0.5977 GB, free: 6.797 MB / 0.4981 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.0005392/0.1705, allocations: 389 kB / 0.5981 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.1705, allocations: 16.03 kB / 0.5981 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.1705, allocations: 0.9375 kB / 0.5981 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1706, allocations: 176.2 kB / 0.5983 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1707, allocations: 4.375 kB / 0.5983 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.1707, allocations: 8.312 kB / 0.5983 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1708, allocations: 53.98 kB / 0.5983 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1708, allocations: 0 / 0.5983 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1708, allocations: 7.969 kB / 0.5983 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1708, allocations: 4 kB / 0.5983 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/0.1709, allocations: 19.94 kB / 0.5984 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.1713, allocations: 272.8 kB / 0.5986 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/0.1713, allocations: 42.56 kB / 0.5987 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.1714, allocations: 24.97 kB / 0.5987 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1714, allocations: 80 / 0.5987 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1716, allocations: 105 kB / 0.5988 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1716, allocations: 4 kB / 0.5988 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002465/0.1718, allocations: 139.2 kB / 0.5989 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.1719, allocations: 85.11 kB / 0.599 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.172, allocations: 105.8 kB / 0.5991 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.172, allocations: 25.7 kB / 0.5991 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.172, allocations: 92.41 kB / 0.5992 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.172, allocations: 19.8 kB / 0.5992 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1721, allocations: 21.72 kB / 0.5993 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1722, allocations: 330.7 kB / 0.5996 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.1722, allocations: 12 kB / 0.5996 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.1723, allocations: 38.56 kB / 0.5996 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.1724, allocations: 113.9 kB / 0.5997 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1724, allocations: 0 / 0.5997 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001479/0.1726, allocations: 127.2 kB / 0.5998 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.1726, allocations: 36.2 kB / 0.5999 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1726, allocations: 3.984 kB / 0.5999 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1726, allocations: 4 kB / 0.5999 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.957e-05/0.1727, allocations: 4 kB / 0.5999 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1727, allocations: 0 / 0.5999 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.1728, allocations: 7.938 kB / 0.5999 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1728, allocations: 4 kB / 0.5999 GB, free: 4.258 MB / 0.4981 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.000103/0.1729, allocations: 159.5 kB / 0.6001 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.1729, allocations: 11.84 kB / 0.6001 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.1729, allocations: 8.375 kB / 0.6001 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1729, allocations: 0 / 0.6001 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1729, allocations: 0 / 0.6001 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.173, allocations: 7.984 kB / 0.6001 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.1733, allocations: 396.1 kB / 0.6005 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1733, allocations: 0 / 0.6005 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.1734, allocations: 4 kB / 0.6005 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.1734, allocations: 0 / 0.6005 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1734, allocations: 4 kB / 0.6005 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1734, allocations: 4 kB / 0.6005 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1734, allocations: 0 / 0.6005 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.1736, allocations: 237 kB / 0.6007 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.1736, allocations: 81.02 kB / 0.6008 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1737, allocations: 8.078 kB / 0.6008 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.76e-05/0.1738, allocations: 7.938 kB / 0.6008 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.1738, allocations: 19.92 kB / 0.6008 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1739, allocations: 8.062 kB / 0.6008 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.1739, allocations: 87.27 kB / 0.6009 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1739, allocations: 0 / 0.6009 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002286/0.1741, allocations: 16 kB / 0.6009 GB, free: 3.098 MB / 0.4981 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 9.247e-05/0.1742, allocations: 99.25 kB / 0.601 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1744, allocations: 116.1 kB / 0.6011 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1744, allocations: 4.125 kB / 0.6011 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.1745, allocations: 95.33 kB / 0.6012 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1748, allocations: 14.41 kB / 0.6012 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.1752, allocations: 149.5 kB / 0.6014 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1755, allocations: 0.6885 MB / 0.602 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.1755, allocations: 7.984 kB / 0.6021 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1755, allocations: 15.44 kB / 0.6021 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1756, allocations: 0 / 0.6021 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of Templates: time 0.00335/0.1789, allocations: 0.8522 MB / 0.6029 GB, free: 0.9883 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)