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.0008903/0.0008903, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001008/0.001008, allocations: 163.7 kB / 24.96 MB, free: 8.23 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.9139/0.9139, allocations: 177.1 MB / 205.4 MB, free: 5.461 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.902/1.902, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.613e-06/1.613e-06, allocations: 0 / 0.7759 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.166e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002204/0.002226, allocations: 1.539 MB / 0.7774 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006161/0.002842, allocations: 469.7 kB / 0.7779 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.002883, allocations: 0 / 0.7779 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.002911, allocations: 3.938 kB / 0.7779 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.002995, allocations: 11.98 kB / 0.7779 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.003129, allocations: 22.34 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003232, allocations: 54.8 kB / 0.7779 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.003305, allocations: 4 kB / 0.778 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.003385, allocations: 36.77 kB / 0.778 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.003442, allocations: 11.98 kB / 0.778 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.003463, allocations: 4 kB / 0.778 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.003473, allocations: 9.031 kB / 0.778 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.003493, allocations: 8 kB / 0.778 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.003522, allocations: 11.98 kB / 0.778 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.373e-05/0.003616, allocations: 40.33 kB / 0.7781 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003618, allocations: 0 / 0.7781 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003619, allocations: 0.75 kB / 0.7781 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003622, allocations: 0 / 0.7781 GB, free: 3.273 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.0003549/0.003977, allocations: 293.2 kB / 0.7783 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.00401, allocations: 13.33 kB / 0.7784 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.004039, allocations: 8.875 kB / 0.7784 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.004114, allocations: 109.8 kB / 0.7785 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.004124, allocations: 4.375 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.004132, allocations: 7.125 kB / 0.7785 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.164e-05/0.004214, allocations: 71.94 kB / 0.7786 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004221, allocations: 192 / 0.7786 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.004228, allocations: 384 / 0.7786 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.004237, allocations: 3.938 kB / 0.7786 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.004266, allocations: 41.69 kB / 0.7786 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.004472, allocations: 156.2 kB / 0.7787 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.939e-05/0.004522, allocations: 62.61 kB / 0.7788 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.004543, allocations: 38.5 kB / 0.7788 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.004557, allocations: 0 / 0.7788 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.858e-05/0.004656, allocations: 134.9 kB / 0.779 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.004657, allocations: 0 / 0.779 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001388/0.004796, allocations: 155.2 kB / 0.7791 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.004831, allocations: 81.11 kB / 0.7792 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.556e-05/0.004887, allocations: 115.5 kB / 0.7793 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.004898, allocations: 33.64 kB / 0.7793 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.004926, allocations: 84.66 kB / 0.7794 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.004942, allocations: 24.48 kB / 0.7794 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.004971, allocations: 29.69 kB / 0.7795 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.005041, allocations: 315.6 kB / 0.7798 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.005062, allocations: 37.69 kB / 0.7798 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.005094, allocations: 61.7 kB / 0.7799 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.685e-05/0.005151, allocations: 110.2 kB / 0.78 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005152, allocations: 4.656 kB / 0.78 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.684e-05/0.005229, allocations: 122.7 kB / 0.7801 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.005254, allocations: 33.7 kB / 0.7801 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.00526, allocations: 3.938 kB / 0.7801 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.005272, allocations: 4 kB / 0.7801 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.44e-05/0.005307, allocations: 8.797 kB / 0.7801 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.00531, allocations: 0 / 0.7801 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.005341, allocations: 9.391 kB / 0.7802 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.005347, allocations: 8 kB / 0.7802 GB, free: 0.8672 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 7.083e-05/0.005418, allocations: 154.3 kB / 0.7803 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.005427, allocations: 4.875 kB / 0.7803 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.00545, allocations: 16.38 kB / 0.7803 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005451, allocations: 0 / 0.7803 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005453, allocations: 0.5312 kB / 0.7803 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.005457, allocations: 4.766 kB / 0.7803 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.005646, allocations: 278.2 kB / 0.7806 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005647, allocations: 1.75 kB / 0.7806 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.005652, allocations: 3.938 kB / 0.7806 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005654, allocations: 3.938 kB / 0.7806 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.00566, allocations: 4 kB / 0.7806 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005661, allocations: 0 / 0.7806 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.005663, allocations: 0.5312 kB / 0.7806 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.005768, allocations: 231.9 kB / 0.7808 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-06/0.005776, allocations: 3.953 kB / 0.7808 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.00579, allocations: 7.938 kB / 0.7808 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.005836, allocations: 12.52 kB / 0.7809 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.005867, allocations: 9.109 kB / 0.7809 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.005876, allocations: 0 / 0.7809 GB, free: 80 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.216e-05/0.005888, allocations: 12.86 kB / 0.7809 GB, free: 64 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005888, allocations: 0.8125 kB / 0.7809 GB, free: 64 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001211/0.006009, allocations: 16 kB / 0.7809 GB, free: 48 kB / 0.7292 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 8.452e-05/0.006094, allocations: 91.98 kB / 0.781 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.006212, allocations: 152.2 kB / 0.7811 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006214, allocations: 0.7188 kB / 0.7811 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.006267, allocations: 110 kB / 0.7812 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.006402, allocations: 13.2 kB / 0.7812 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.006624, allocations: 197.9 kB / 0.7814 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.69e-05/0.006661, allocations: 65.03 kB / 0.7815 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.006681, allocations: 4 kB / 0.7815 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.006736, allocations: 63.36 kB / 0.7816 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.006737, allocations: 0 / 0.7816 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.002236/0.008973, allocations: 0.9736 MB / 0.7825 GB, free: 14.34 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.866743347607553]