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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.669/1.669, allocations: 251.7 MB / 0.5092 GB, free: 3.027 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 67.89 kB / 0.6222 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6449, allocations: 104.7 MB / 0.7245 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003363/0.6483, allocations: 1.426 MB / 0.7259 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009868/0.6494, allocations: 491.3 kB / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.6494, allocations: 4 kB / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.6495, allocations: 3.938 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.6496, allocations: 7.875 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.6498, allocations: 19.98 kB / 0.7264 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.65, allocations: 47.84 kB / 0.7264 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.6501, allocations: 15.97 kB / 0.7265 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.6502, allocations: 27.86 kB / 0.7265 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.6503, allocations: 19.92 kB / 0.7265 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.6503, allocations: 4 kB / 0.7265 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.6503, allocations: 0 / 0.7265 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.979e-05/0.6504, allocations: 11.94 kB / 0.7265 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.6504, allocations: 15.92 kB / 0.7265 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.6506, allocations: 45.84 kB / 0.7266 GB, free: 10.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.6506, allocations: 3.938 kB / 0.7266 GB, free: 10.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6506, allocations: 0 / 0.7266 GB, free: 10.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6506, allocations: 0 / 0.7266 GB, free: 10.75 MB / 0.545 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.0007677/0.6514, allocations: 397 kB / 0.727 GB, free: 10.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6514, allocations: 8.031 kB / 0.727 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.6515, allocations: 12.84 kB / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.6517, allocations: 172.3 kB / 0.7271 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.6517, allocations: 4.312 kB / 0.7271 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.6517, allocations: 4.375 kB / 0.7272 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.6519, allocations: 54 kB / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.6519, allocations: 0 / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6519, allocations: 4 kB / 0.7272 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.6519, allocations: 4 kB / 0.7272 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.652, allocations: 15.98 kB / 0.7272 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.6525, allocations: 276.8 kB / 0.7275 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.6526, allocations: 46.5 kB / 0.7275 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.6527, allocations: 20.98 kB / 0.7276 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.6527, allocations: 4 kB / 0.7276 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.653, allocations: 101 kB / 0.7277 GB, free: 9.473 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.653, allocations: 0 / 0.7277 GB, free: 9.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003171/0.6533, allocations: 143.3 kB / 0.7278 GB, free: 9.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.6534, allocations: 77.11 kB / 0.7279 GB, free: 9.227 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.6535, allocations: 117.8 kB / 0.728 GB, free: 9.102 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.6535, allocations: 25.7 kB / 0.728 GB, free: 9.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.6536, allocations: 92.14 kB / 0.7281 GB, free: 8.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.6536, allocations: 15.86 kB / 0.7281 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.6537, allocations: 29.72 kB / 0.7281 GB, free: 8.926 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6538, allocations: 318.8 kB / 0.7284 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.6539, allocations: 19.94 kB / 0.7285 GB, free: 8.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.654, allocations: 34.56 kB / 0.7285 GB, free: 8.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.6541, allocations: 114.4 kB / 0.7286 GB, free: 8.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6541, allocations: 0 / 0.7286 GB, free: 8.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001685/0.6543, allocations: 127.2 kB / 0.7287 GB, free: 8.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.6543, allocations: 41.58 kB / 0.7288 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6543, allocations: 0 / 0.7288 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6543, allocations: 4 kB / 0.7288 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.6544, allocations: 4.359 kB / 0.7288 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6544, allocations: 4 kB / 0.7288 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.6545, allocations: 8.062 kB / 0.7288 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.6545, allocations: 8 kB / 0.7288 GB, free: 8.199 MB / 0.545 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.0001293/0.6546, allocations: 157.2 kB / 0.7289 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.6547, allocations: 4 kB / 0.7289 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.6547, allocations: 8.375 kB / 0.7289 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6547, allocations: 0 / 0.7289 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6547, allocations: 0 / 0.7289 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.6547, allocations: 0 / 0.7289 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.6552, allocations: 412 kB / 0.7293 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6552, allocations: 3.984 kB / 0.7293 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.6552, allocations: 7.938 kB / 0.7294 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6552, allocations: 64 / 0.7294 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.6552, allocations: 4 kB / 0.7294 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6552, allocations: 0 / 0.7294 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6552, allocations: 0 / 0.7294 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.6555, allocations: 229.2 kB / 0.7296 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.6555, allocations: 89.02 kB / 0.7297 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.6556, allocations: 4 kB / 0.7297 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.6557, allocations: 15.92 kB / 0.7297 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.6557, allocations: 11.92 kB / 0.7297 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.6558, allocations: 0 / 0.7297 GB, free: 7.156 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.018e-05/0.6558, allocations: 87.28 kB / 0.7298 GB, free: 7.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6558, allocations: 0 / 0.7298 GB, free: 7.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000231/0.6561, allocations: 19.98 kB / 0.7298 GB, free: 7.051 MB / 0.545 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 0.0001196/0.6562, allocations: 103.2 kB / 0.7299 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.6564, allocations: 119.3 kB / 0.73 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6564, allocations: 0 / 0.73 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.2e-05/0.6565, allocations: 91.39 kB / 0.7301 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.6568, allocations: 19.19 kB / 0.7301 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.6572, allocations: 157.4 kB / 0.7303 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.6575, allocations: 0.6853 MB / 0.7309 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.6576, allocations: 11.92 kB / 0.7309 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.6576, allocations: 11.44 kB / 0.731 GB, free: 5.781 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.6576, allocations: 0 / 0.731 GB, free: 5.781 MB / 0.545 GB Notification: Performance of Templates: time 0.003621/0.6612, allocations: 0.8596 MB / 0.7318 GB, free: 4.93 MB / 0.545 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)