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.001035/0.001035, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001147/0.001147, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9574/0.9574, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.936/1.936, allocations: 389.6 MB / 0.6354 GB, free: 12.28 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.273e-06/1.273e-06, allocations: 0 / 0.7751 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.46e-05, allocations: 2.969 kB / 0.7751 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.005239/0.005254, allocations: 1.532 MB / 0.7766 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008927/0.006147, allocations: 464.2 kB / 0.7771 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.006178, allocations: 0.7656 kB / 0.7771 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.006201, allocations: 4.688 kB / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/0.006279, allocations: 13.17 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.006407, allocations: 23.91 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.937e-05/0.006506, allocations: 48.67 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.638e-05/0.006573, allocations: 11.98 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.006649, allocations: 33.58 kB / 0.7772 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.00671, allocations: 15.97 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.006729, allocations: 4 kB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.00674, allocations: 4 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.00676, allocations: 11.92 kB / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.00679, allocations: 8.812 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.596e-05/0.006885, allocations: 39.89 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.006887, allocations: 0.5 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.41e-07/0.006888, allocations: 0.75 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.006892, allocations: 0 / 0.7773 GB, free: 3.262 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.0003429/0.007235, allocations: 297.2 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.007264, allocations: 9.344 kB / 0.7776 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.007287, allocations: 4.938 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.734e-05/0.007354, allocations: 117.7 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.007364, allocations: 4.375 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.007371, allocations: 3.125 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.148e-05/0.007452, allocations: 71.95 kB / 0.7778 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.007458, allocations: 192 / 0.7778 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.007467, allocations: 4.359 kB / 0.7778 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.007471, allocations: 3.938 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.007504, allocations: 37.69 kB / 0.7778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.007728, allocations: 164.2 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.007785, allocations: 58.67 kB / 0.778 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.007812, allocations: 38.69 kB / 0.7781 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.007823, allocations: 0 / 0.7781 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.00793, allocations: 126.8 kB / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.007932, allocations: 0 / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001547/0.008086, allocations: 162.6 kB / 0.7783 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.008124, allocations: 81.92 kB / 0.7784 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.008189, allocations: 118.7 kB / 0.7785 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.008201, allocations: 31.45 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.008229, allocations: 80.14 kB / 0.7786 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.008246, allocations: 15.89 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.008283, allocations: 25.7 kB / 0.7787 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.008364, allocations: 326.8 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.008394, allocations: 42.14 kB / 0.779 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.008434, allocations: 65.34 kB / 0.7791 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.564e-05/0.0085, allocations: 90.5 kB / 0.7792 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.008503, allocations: 4 kB / 0.7792 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001038/0.008607, allocations: 130.1 kB / 0.7793 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.008634, allocations: 37.69 kB / 0.7793 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008639, allocations: 4.75 kB / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.008651, allocations: 4 kB / 0.7794 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.558e-05/0.008687, allocations: 4.781 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.00869, allocations: 0 / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.03e-05/0.00873, allocations: 12.61 kB / 0.7794 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.008736, allocations: 4.781 kB / 0.7794 GB, free: 0.8594 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.368e-05/0.00881, allocations: 151.6 kB / 0.7795 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.008824, allocations: 13.36 kB / 0.7795 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.008846, allocations: 16.36 kB / 0.7796 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008848, allocations: 4 kB / 0.7796 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.00885, allocations: 0 / 0.7796 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008853, allocations: 0.6562 kB / 0.7796 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.009066, allocations: 271.7 kB / 0.7798 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.009069, allocations: 12 kB / 0.7798 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-06/0.009074, allocations: 0 / 0.7798 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.009077, allocations: 3.938 kB / 0.7798 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.009084, allocations: 4.859 kB / 0.7798 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.009085, allocations: 4 kB / 0.7798 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.009085, allocations: 0 / 0.7798 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.009199, allocations: 219.4 kB / 0.78 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.009209, allocations: 12.81 kB / 0.7801 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.009226, allocations: 11.88 kB / 0.7801 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.009294, allocations: 4.562 kB / 0.7801 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.009327, allocations: 16.61 kB / 0.7801 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.009336, allocations: 0 / 0.7801 GB, free: 64 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.683e-05/0.009353, allocations: 18.09 kB / 0.7801 GB, free: 44 kB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009353, allocations: 0 / 0.7801 GB, free: 44 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001906/0.009543, allocations: 12 kB / 0.7801 GB, free: 32 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.791e-05/0.009631, allocations: 81 kB / 0.7802 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.009762, allocations: 168.7 kB / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.009764, allocations: 0 / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.26e-05/0.009827, allocations: 108.4 kB / 0.7805 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01, allocations: 15.98 kB / 0.7805 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.01024, allocations: 190.1 kB / 0.7807 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003033/0.01328, allocations: 60.45 kB / 0.7807 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.0133, allocations: 4 kB / 0.7807 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.01337, allocations: 68.39 kB / 0.7808 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01337, allocations: 0 / 0.7808 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.002627/0.016, allocations: 0.9672 MB / 0.7817 GB, free: 14.33 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.839083518832922]