Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 182.1 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 0.5786 GB, free: 20.4 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000823/0.0008229, allocations: 84.27 kB / 0.6832 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 6.031 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1754, allocations: 106.3 MB / 0.9014 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001406/0.1769, allocations: 1.153 MB / 0.9026 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000655/0.1775, allocations: 483.5 kB / 0.903 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.1776, allocations: 0 / 0.903 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.1776, allocations: 0 / 0.903 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.163e-05/0.1777, allocations: 7.922 kB / 0.903 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.1778, allocations: 27.91 kB / 0.9031 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.1779, allocations: 43.86 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.178, allocations: 8 kB / 0.9031 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.346e-05/0.1781, allocations: 19.92 kB / 0.9031 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.1781, allocations: 11.92 kB / 0.9031 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1782, allocations: 4 kB / 0.9031 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.1782, allocations: 0 / 0.9031 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.1782, allocations: 15.92 kB / 0.9032 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.1782, allocations: 45.56 kB / 0.9032 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.16e-05/0.1783, allocations: 23.95 kB / 0.9032 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1783, allocations: 4 kB / 0.9032 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1783, allocations: 0 / 0.9032 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.716e-06/0.1783, allocations: 4 kB / 0.9032 GB, free: 61.95 MB / 0.6042 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.0004442/0.1788, allocations: 389.3 kB / 0.9036 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.1788, allocations: 8.031 kB / 0.9036 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.1789, allocations: 8.938 kB / 0.9036 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.763e-05/0.1789, allocations: 168.2 kB / 0.9038 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1789, allocations: 8.359 kB / 0.9038 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.179, allocations: 8.375 kB / 0.9038 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.682e-05/0.1791, allocations: 46 kB / 0.9038 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1791, allocations: 4 kB / 0.9038 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1791, allocations: 0 / 0.9038 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1791, allocations: 3.984 kB / 0.9038 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.1792, allocations: 23.92 kB / 0.9039 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1795, allocations: 280.8 kB / 0.9041 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.1796, allocations: 38.56 kB / 0.9042 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.1796, allocations: 20.98 kB / 0.9042 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1796, allocations: 4 kB / 0.9042 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.1798, allocations: 101 kB / 0.9043 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1798, allocations: 4 kB / 0.9043 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002294/0.18, allocations: 143.2 kB / 0.9044 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1801, allocations: 81.11 kB / 0.9045 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.653e-05/0.1801, allocations: 113.9 kB / 0.9046 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.1801, allocations: 29.7 kB / 0.9047 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.1802, allocations: 88.2 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.1802, allocations: 23.7 kB / 0.9048 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.1802, allocations: 0 / 0.9048 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.1803, allocations: 326.8 kB / 0.9051 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.1803, allocations: 15.98 kB / 0.9051 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.1803, allocations: 34.58 kB / 0.9051 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.268e-05/0.1804, allocations: 113.9 kB / 0.9052 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1804, allocations: 0 / 0.9052 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001246/0.1805, allocations: 119.3 kB / 0.9053 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.1806, allocations: 37.69 kB / 0.9054 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1806, allocations: 0 / 0.9054 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1806, allocations: 0 / 0.9054 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.851e-05/0.1806, allocations: 4.062 kB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1807, allocations: 4 kB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.1807, allocations: 15.91 kB / 0.9054 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1807, allocations: 11.92 kB / 0.9054 GB, free: 59.43 MB / 0.6042 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 6.863e-05/0.1808, allocations: 157.5 kB / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.1808, allocations: 4 kB / 0.9056 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.1809, allocations: 8.375 kB / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1809, allocations: 0 / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1809, allocations: 0 / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1809, allocations: 7.984 kB / 0.9056 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.1812, allocations: 404 kB / 0.906 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1812, allocations: 0 / 0.906 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-06/0.1812, allocations: 4 kB / 0.906 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1812, allocations: 4 kB / 0.906 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1812, allocations: 0 / 0.906 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1812, allocations: 4.375 kB / 0.906 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1812, allocations: 0 / 0.906 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.1814, allocations: 237 kB / 0.9062 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.1814, allocations: 85 kB / 0.9063 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1814, allocations: 4 kB / 0.9063 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1816, allocations: 8 kB / 0.9063 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1816, allocations: 15.92 kB / 0.9063 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1816, allocations: 7.984 kB / 0.9063 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.1817, allocations: 91.27 kB / 0.9064 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1817, allocations: 0 / 0.9064 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002164/0.1819, allocations: 12 kB / 0.9064 GB, free: 58.29 MB / 0.6042 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 6.786e-05/0.182, allocations: 99.25 kB / 0.9065 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1821, allocations: 123.3 kB / 0.9066 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1821, allocations: 0 / 0.9066 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.165e-05/0.1822, allocations: 91.33 kB / 0.9067 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.1825, allocations: 9.891 kB / 0.9067 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.1828, allocations: 194.3 kB / 0.9069 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.031e-05/0.1829, allocations: 0.685 MB / 0.9076 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.1829, allocations: 15.42 kB / 0.9076 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1829, allocations: 0 / 0.9076 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.001764/0.1847, allocations: 0.8887 MB / 0.9085 GB, free: 56.1 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)