Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008928/0.0008928, allocations: 80.81 kB / 21.55 MB, free: 2.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009371/0.0009371, allocations: 168.6 kB / 24.97 MB, free: 9.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9504/0.9504, allocations: 177.1 MB / 205.4 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.878/1.878, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7759 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.832e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002708/0.002727, allocations: 1.54 MB / 0.7774 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008158/0.003542, allocations: 461.3 kB / 0.7779 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.003585, allocations: 0 / 0.7779 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.003613, allocations: 3.938 kB / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.16e-05/0.003705, allocations: 16.36 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.003857, allocations: 24.48 kB / 0.7779 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.003979, allocations: 50.8 kB / 0.778 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.849e-05/0.004058, allocations: 11.97 kB / 0.778 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.004148, allocations: 27.92 kB / 0.778 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.004216, allocations: 20.61 kB / 0.778 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.004234, allocations: 0 / 0.778 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.004245, allocations: 5.719 kB / 0.778 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.004268, allocations: 7.984 kB / 0.778 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.004302, allocations: 11.94 kB / 0.778 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.004405, allocations: 35.95 kB / 0.7781 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.004407, allocations: 0.8125 kB / 0.7781 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004408, allocations: 3.938 kB / 0.7781 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004412, allocations: 0 / 0.7781 GB, free: 3.254 MB / 0.7292 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.0004278/0.00484, allocations: 295.7 kB / 0.7784 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.004881, allocations: 12.44 kB / 0.7784 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.004912, allocations: 4.938 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.873e-05/0.005001, allocations: 117.7 kB / 0.7785 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.005013, allocations: 4.375 kB / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.005021, allocations: 384 / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.646e-05/0.005118, allocations: 75.89 kB / 0.7786 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.005125, allocations: 192 / 0.7786 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005135, allocations: 4.359 kB / 0.7786 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.005143, allocations: 6.688 kB / 0.7786 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.005178, allocations: 37.69 kB / 0.7786 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.005429, allocations: 156.3 kB / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.005503, allocations: 64.19 kB / 0.7788 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.005533, allocations: 38.69 kB / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.005552, allocations: 4 kB / 0.7789 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.005672, allocations: 120.6 kB / 0.779 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.005673, allocations: 0 / 0.779 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.000175/0.005848, allocations: 166.6 kB / 0.7791 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.005886, allocations: 81.11 kB / 0.7792 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.005958, allocations: 114.7 kB / 0.7793 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.005974, allocations: 31.52 kB / 0.7794 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.006005, allocations: 80.14 kB / 0.7794 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.00603, allocations: 19.89 kB / 0.7794 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.006072, allocations: 25.69 kB / 0.7795 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.006159, allocations: 322.8 kB / 0.7798 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.006189, allocations: 38.39 kB / 0.7798 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.006232, allocations: 64.2 kB / 0.7799 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.698e-05/0.006309, allocations: 99.67 kB / 0.78 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006311, allocations: 4 kB / 0.78 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001162/0.006428, allocations: 122.1 kB / 0.7801 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.006458, allocations: 37.69 kB / 0.7801 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006463, allocations: 4.75 kB / 0.7801 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.006479, allocations: 7.938 kB / 0.7801 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.006522, allocations: 12.47 kB / 0.7802 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.006525, allocations: 0.9375 kB / 0.7802 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.006572, allocations: 7.953 kB / 0.7802 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.006579, allocations: 4 kB / 0.7802 GB, free: 0.8477 MB / 0.7292 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 8.738e-05/0.006667, allocations: 153 kB / 0.7803 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.006684, allocations: 7.984 kB / 0.7803 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.006707, allocations: 12.44 kB / 0.7803 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.006712, allocations: 5.375 kB / 0.7803 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.006713, allocations: 0 / 0.7803 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.006723, allocations: 0 / 0.7803 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.006742, allocations: 4 kB / 0.7803 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.006782, allocations: 8.641 kB / 0.7803 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.006822, allocations: 12.86 kB / 0.7804 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001221/0.006944, allocations: 200.3 kB / 0.7806 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001592/0.007103, allocations: 303 kB / 0.7808 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.155e-05/0.007155, allocations: 50.55 kB / 0.7809 GB, free: 48 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.949e-05/0.007174, allocations: 17.72 kB / 0.7809 GB, free: 28 kB / 0.7292 GB Notification: Performance of Backend: time 1.7e-07/0.007175, allocations: 0 / 0.7809 GB, free: 28 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.007479, allocations: 170.2 kB / 0.7811 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0004953/0.007974, allocations: 0.7052 MB / 0.7818 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.003155/0.01113, allocations: 1.075 MB / 0.7828 GB, free: 14.05 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9117933278903365]