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.001372/0.001372, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001943/0.001944, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.607/1.607, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.621/1.621, allocations: 251.6 MB / 0.5089 GB, free: 3.258 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.001356/0.001356, allocations: 63.91 kB / 0.6217 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.609, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002932/0.612, allocations: 1.499 MB / 0.7254 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007885/0.6128, allocations: 479.4 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.6129, allocations: 4 kB / 0.7259 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.6129, allocations: 3.984 kB / 0.7259 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.898e-05/0.6131, allocations: 7.938 kB / 0.7259 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.6133, allocations: 23.91 kB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.6134, allocations: 47.92 kB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.6135, allocations: 11.92 kB / 0.726 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.6136, allocations: 19.92 kB / 0.726 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.6137, allocations: 19.92 kB / 0.726 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.6137, allocations: 4 kB / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.6137, allocations: 0 / 0.726 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.6137, allocations: 15.92 kB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.6138, allocations: 27.92 kB / 0.7261 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.6139, allocations: 37.8 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.6139, allocations: 0 / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6139, allocations: 4 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.614, allocations: 0 / 0.7261 GB, free: 10.88 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.0006746/0.6146, allocations: 392.9 kB / 0.7265 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6147, allocations: 16.02 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.6147, allocations: 4.844 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.6149, allocations: 168.4 kB / 0.7267 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.6149, allocations: 384 / 0.7267 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.6149, allocations: 4.375 kB / 0.7267 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.6151, allocations: 61.98 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.6151, allocations: 0 / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.6151, allocations: 0 / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.6151, allocations: 4 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.6152, allocations: 15.98 kB / 0.7267 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.6156, allocations: 284.7 kB / 0.727 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.259e-05/0.6157, allocations: 38.58 kB / 0.7271 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.6158, allocations: 20.97 kB / 0.7271 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.6158, allocations: 0 / 0.7271 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.616, allocations: 104.9 kB / 0.7272 GB, free: 9.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.616, allocations: 7.938 kB / 0.7272 GB, free: 9.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002885/0.6163, allocations: 135.4 kB / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.6164, allocations: 85.03 kB / 0.7274 GB, free: 9.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.6165, allocations: 121.8 kB / 0.7275 GB, free: 9.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.6165, allocations: 25.7 kB / 0.7275 GB, free: 9.199 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.6165, allocations: 88.14 kB / 0.7276 GB, free: 9.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.6166, allocations: 15.81 kB / 0.7276 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.6166, allocations: 25.7 kB / 0.7277 GB, free: 9.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6167, allocations: 322.8 kB / 0.728 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.6168, allocations: 15.98 kB / 0.728 GB, free: 8.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/0.6168, allocations: 42.5 kB / 0.728 GB, free: 8.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.6169, allocations: 109.9 kB / 0.7281 GB, free: 8.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6169, allocations: 0 / 0.7281 GB, free: 8.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001511/0.6171, allocations: 127.7 kB / 0.7282 GB, free: 8.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.6171, allocations: 35.72 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6172, allocations: 0 / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6172, allocations: 4 kB / 0.7283 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.751e-05/0.6172, allocations: 0 / 0.7283 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.6172, allocations: 7.984 kB / 0.7283 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.6173, allocations: 11.98 kB / 0.7283 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.6173, allocations: 4 kB / 0.7283 GB, free: 8.34 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.0001181/0.6174, allocations: 151.4 kB / 0.7285 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.6175, allocations: 8.031 kB / 0.7285 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.6175, allocations: 12.36 kB / 0.7285 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.6175, allocations: 0 / 0.7285 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6175, allocations: 0 / 0.7285 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6175, allocations: 0 / 0.7285 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.6179, allocations: 408.4 kB / 0.7289 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6179, allocations: 4.062 kB / 0.7289 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-06/0.618, allocations: 4 kB / 0.7289 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.618, allocations: 0 / 0.7289 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.618, allocations: 7.938 kB / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.618, allocations: 0 / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.618, allocations: 4 kB / 0.7289 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.6182, allocations: 237.1 kB / 0.7291 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.6183, allocations: 89 kB / 0.7292 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.6183, allocations: 0 / 0.7292 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.6184, allocations: 11.98 kB / 0.7292 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.6184, allocations: 15.94 kB / 0.7292 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.6185, allocations: 0 / 0.7292 GB, free: 7.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.6185, allocations: 91.27 kB / 0.7293 GB, free: 7.199 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6185, allocations: 0 / 0.7293 GB, free: 7.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002249/0.6188, allocations: 12 kB / 0.7293 GB, free: 7.188 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.0001119/0.6189, allocations: 99.25 kB / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.6191, allocations: 123.3 kB / 0.7295 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6191, allocations: 0 / 0.7295 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.6192, allocations: 103.4 kB / 0.7296 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.6195, allocations: 8 kB / 0.7296 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.6199, allocations: 161.4 kB / 0.7298 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.6202, allocations: 0.6885 MB / 0.7305 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.894e-05/0.6202, allocations: 8 kB / 0.7305 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.6202, allocations: 11.44 kB / 0.7305 GB, free: 5.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6202, allocations: 0 / 0.7305 GB, free: 5.91 MB / 0.545 GB Notification: Performance of Templates: time 0.003269/0.6235, allocations: 0.8199 MB / 0.7313 GB, free: 5.098 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)