Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.82/1.82, allocations: 288.4 MB / 303.4 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009759/0.0009758, allocations: 190.9 kB / 372 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 0.6307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000684/0.000684, allocations: 105.3 kB / 0.7441 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004445, allocations: 10.62 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1981, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001338/0.1995, allocations: 1.133 MB / 0.9807 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005611/0.2001, allocations: 452.8 kB / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.2002, allocations: 0 / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.2002, allocations: 0 / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.2003, allocations: 11.92 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.2004, allocations: 19.92 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.2005, allocations: 39.86 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.973e-05/0.2005, allocations: 11.98 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.8e-05/0.2006, allocations: 15.94 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.2007, allocations: 19.91 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2007, allocations: 4 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.2007, allocations: 0 / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.2007, allocations: 11.92 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.2008, allocations: 33.7 kB / 0.9813 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.645e-05/0.2008, allocations: 16.23 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2008, allocations: 8 kB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2008, allocations: 3.938 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2009, allocations: 4 kB / 0.9813 GB, free: 25.91 MB / 0.6198 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.0004645/0.2013, allocations: 390.5 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2014, allocations: 12.02 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.2014, allocations: 7.906 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.2015, allocations: 174.9 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2015, allocations: 7.984 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.2015, allocations: 4 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.2016, allocations: 53.67 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2017, allocations: 0 / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.2017, allocations: 0 / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2017, allocations: 0 / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.2017, allocations: 23.98 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.202, allocations: 276.8 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.2021, allocations: 42.55 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.2021, allocations: 16.98 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2022, allocations: 8 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.2023, allocations: 101 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2023, allocations: 3.938 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000206/0.2025, allocations: 135.4 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.2026, allocations: 89.09 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.709e-05/0.2026, allocations: 117.7 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.2026, allocations: 25.7 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.2027, allocations: 88.14 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.2027, allocations: 23.73 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.2027, allocations: 3.938 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.2028, allocations: 314.8 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.2028, allocations: 15.98 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.2028, allocations: 34.58 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.2029, allocations: 54.08 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2029, allocations: 0 / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000119/0.203, allocations: 123.2 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.203, allocations: 33.7 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.203, allocations: 3.938 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2031, allocations: 8.062 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.2031, allocations: 3.984 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2031, allocations: 7.938 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.2032, allocations: 11.95 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.2032, allocations: 4 kB / 0.9834 GB, free: 23.46 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.025e-05/0.2033, allocations: 153 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.2033, allocations: 4 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.2033, allocations: 8.375 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2033, allocations: 8 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2034, allocations: 0 / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2034, allocations: 0 / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.2036, allocations: 400.5 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2037, allocations: 0 / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-06/0.2037, allocations: 3.984 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2037, allocations: 0 / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2037, allocations: 7.938 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2037, allocations: 0 / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2037, allocations: 7.953 kB / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.2039, allocations: 229.2 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.2039, allocations: 81.02 kB / 0.9843 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2039, allocations: 8 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.204, allocations: 11.98 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.2041, allocations: 7.938 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.2041, allocations: 4 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.2041, allocations: 95.27 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2041, allocations: 0 / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002003/0.2043, allocations: 16 kB / 0.9844 GB, free: 22.33 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.034e-05/0.2044, allocations: 104.7 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.2045, allocations: 115.3 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2045, allocations: 0 / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.2046, allocations: 87.33 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.2049, allocations: 20.11 kB / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.2051, allocations: 164.5 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.2053, allocations: 0.6848 MB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.2053, allocations: 8 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.2053, allocations: 15.42 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2053, allocations: 0 / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of Templates: time 0.002268/0.2076, allocations: 0.7392 MB / 0.9863 GB, free: 20.32 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)