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.001265/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001761/0.001761, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.721/1.721, allocations: 205.1 MB / 222 MB, free: 4.738 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.618/1.618, allocations: 251.7 MB / 0.5088 GB, free: 3.289 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.001319/0.001319, allocations: 55.92 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5905/0.5918, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002788/0.5947, allocations: 1.495 MB / 0.7252 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000792/0.5955, allocations: 487.3 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.5955, allocations: 4 kB / 0.7257 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.5956, allocations: 3.984 kB / 0.7257 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/0.5957, allocations: 7.922 kB / 0.7257 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.5958, allocations: 19.98 kB / 0.7257 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.5959, allocations: 43.86 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.596, allocations: 4 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/0.5961, allocations: 23.86 kB / 0.7258 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.5962, allocations: 23.91 kB / 0.7258 GB, free: 11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.5962, allocations: 4 kB / 0.7258 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.5962, allocations: 0 / 0.7258 GB, free: 11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.5962, allocations: 15.92 kB / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.5963, allocations: 11.94 kB / 0.7259 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.5964, allocations: 41.8 kB / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5964, allocations: 0 / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5964, allocations: 0 / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.5964, allocations: 0 / 0.7259 GB, free: 10.93 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.0006652/0.5971, allocations: 397 kB / 0.7263 GB, free: 10.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5971, allocations: 8.031 kB / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.5972, allocations: 16.83 kB / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.5973, allocations: 168.3 kB / 0.7265 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5974, allocations: 384 / 0.7265 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.5974, allocations: 4.375 kB / 0.7265 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5975, allocations: 57.98 kB / 0.7265 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.5975, allocations: 0 / 0.7265 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5975, allocations: 4 kB / 0.7265 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5976, allocations: 3.938 kB / 0.7265 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.025e-05/0.5976, allocations: 16 kB / 0.7266 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.598, allocations: 280.7 kB / 0.7268 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.5981, allocations: 34.58 kB / 0.7269 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.5982, allocations: 24.97 kB / 0.7269 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.5982, allocations: 8 kB / 0.7269 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.5984, allocations: 101.1 kB / 0.727 GB, free: 9.652 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.5984, allocations: 0 / 0.727 GB, free: 9.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002734/0.5987, allocations: 143.3 kB / 0.7271 GB, free: 9.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.5988, allocations: 81.11 kB / 0.7272 GB, free: 9.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.5988, allocations: 113.8 kB / 0.7273 GB, free: 9.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.5989, allocations: 29.7 kB / 0.7273 GB, free: 9.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.5989, allocations: 96.06 kB / 0.7274 GB, free: 9.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.5989, allocations: 11.81 kB / 0.7274 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.599, allocations: 29.7 kB / 0.7275 GB, free: 9.102 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.5991, allocations: 318.8 kB / 0.7278 GB, free: 8.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.5991, allocations: 19.98 kB / 0.7278 GB, free: 8.762 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.906e-05/0.5992, allocations: 38.52 kB / 0.7278 GB, free: 8.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.5993, allocations: 117.9 kB / 0.7279 GB, free: 8.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5993, allocations: 4 kB / 0.7279 GB, free: 8.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001472/0.5995, allocations: 123.2 kB / 0.7281 GB, free: 8.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.5995, allocations: 39.88 kB / 0.7281 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5995, allocations: 0 / 0.7281 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.5995, allocations: 0 / 0.7281 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.5996, allocations: 4 kB / 0.7281 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5996, allocations: 0 / 0.7281 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.5997, allocations: 12.05 kB / 0.7281 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.5997, allocations: 8 kB / 0.7281 GB, free: 8.375 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.0001042/0.5998, allocations: 148.3 kB / 0.7283 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.5998, allocations: 4.375 kB / 0.7283 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.5998, allocations: 12.36 kB / 0.7283 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5999, allocations: 7.938 kB / 0.7283 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5999, allocations: 3.984 kB / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5999, allocations: 3.938 kB / 0.7283 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.6003, allocations: 412 kB / 0.7287 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6003, allocations: 0 / 0.7287 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.6003, allocations: 0 / 0.7287 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6003, allocations: 0 / 0.7287 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.6003, allocations: 4 kB / 0.7287 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6003, allocations: 0 / 0.7287 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6003, allocations: 0 / 0.7287 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.6006, allocations: 229.1 kB / 0.7289 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.6006, allocations: 89 kB / 0.729 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.6007, allocations: 8 kB / 0.729 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.6008, allocations: 4 kB / 0.729 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.6008, allocations: 11.92 kB / 0.729 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.6009, allocations: 4 kB / 0.729 GB, free: 7.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.6009, allocations: 87.27 kB / 0.7291 GB, free: 7.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6009, allocations: 4 kB / 0.7291 GB, free: 7.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002212/0.6011, allocations: 16 kB / 0.7291 GB, free: 7.23 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.0001004/0.6013, allocations: 99.25 kB / 0.7292 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.6014, allocations: 123.3 kB / 0.7293 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6014, allocations: 0 / 0.7293 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.6015, allocations: 87.39 kB / 0.7294 GB, free: 6.895 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.6018, allocations: 16.05 kB / 0.7294 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.6022, allocations: 168.2 kB / 0.7296 GB, free: 6.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.6025, allocations: 0.6887 MB / 0.7303 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.6025, allocations: 4 kB / 0.7303 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.6026, allocations: 11.44 kB / 0.7303 GB, free: 5.961 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6026, allocations: 3.938 kB / 0.7303 GB, free: 5.957 MB / 0.545 GB Notification: Performance of Templates: time 0.00348/0.6061, allocations: 0.7722 MB / 0.731 GB, free: 5.191 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)