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.001307/0.001307, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.001518/0.001518, allocations: 169.3 kB / 24.25 MB, free: 208 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.9382/0.9382, allocations: 177.1 MB / 204.7 MB, free: 5.445 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.872/1.872, allocations: 389.6 MB / 0.6355 GB, free: 12.29 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 2.214e-06/2.214e-06, allocations: 0 / 0.7753 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.403e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003057/0.003081, allocations: 1.523 MB / 0.7768 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.004001, allocations: 467.2 kB / 0.7772 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.004051, allocations: 4.812 kB / 0.7773 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.004086, allocations: 0 / 0.7773 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.004203, allocations: 18.31 kB / 0.7773 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.004388, allocations: 19.91 kB / 0.7773 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.004537, allocations: 51.14 kB / 0.7773 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.004629, allocations: 7.984 kB / 0.7773 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.004735, allocations: 33.33 kB / 0.7774 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.004811, allocations: 11.98 kB / 0.7774 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.004835, allocations: 4 kB / 0.7774 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.004849, allocations: 4 kB / 0.7774 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.004876, allocations: 11.92 kB / 0.7774 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.004916, allocations: 12.78 kB / 0.7774 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.005044, allocations: 43.83 kB / 0.7775 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005047, allocations: 1.781 kB / 0.7775 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005047, allocations: 0 / 0.7775 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005052, allocations: 0 / 0.7775 GB, free: 3.207 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.0004837/0.005536, allocations: 295 kB / 0.7777 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.005574, allocations: 9.906 kB / 0.7778 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.005614, allocations: 12.52 kB / 0.7778 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.74e-05/0.005711, allocations: 109.8 kB / 0.7779 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.005728, allocations: 8.375 kB / 0.7779 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.005739, allocations: 384 / 0.7779 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.005844, allocations: 71.94 kB / 0.7779 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.005854, allocations: 4.172 kB / 0.7779 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.005863, allocations: 4.375 kB / 0.778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.005871, allocations: 3.938 kB / 0.778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.723e-05/0.005918, allocations: 45.61 kB / 0.778 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.006189, allocations: 152.3 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.006265, allocations: 59.44 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.0063, allocations: 42.62 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.006312, allocations: 0 / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.006453, allocations: 134.8 kB / 0.7784 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.006455, allocations: 0 / 0.7784 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001965/0.006651, allocations: 162.7 kB / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.006701, allocations: 81.05 kB / 0.7786 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.006775, allocations: 123.3 kB / 0.7787 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.00679, allocations: 25.7 kB / 0.7787 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.006828, allocations: 92.97 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.006849, allocations: 15.83 kB / 0.7789 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.006888, allocations: 34.75 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.006981, allocations: 310.8 kB / 0.7792 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.712e-05/0.007018, allocations: 37.69 kB / 0.7792 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.007067, allocations: 64.77 kB / 0.7793 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.811e-05/0.007155, allocations: 111.2 kB / 0.7794 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007158, allocations: 0 / 0.7794 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001356/0.007294, allocations: 125.9 kB / 0.7795 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.007327, allocations: 37.69 kB / 0.7795 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.007335, allocations: 5.688 kB / 0.7795 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.007346, allocations: 4 kB / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.007389, allocations: 4 kB / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.007392, allocations: 0 / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.007443, allocations: 8.641 kB / 0.7796 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.007451, allocations: 4 kB / 0.7796 GB, free: 0.7852 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 9.945e-05/0.00755, allocations: 155.9 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.007569, allocations: 4 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.007598, allocations: 20.36 kB / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007601, allocations: 0.8125 kB / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.007603, allocations: 0 / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.007607, allocations: 0 / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.007914, allocations: 279 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.007917, allocations: 4.062 kB / 0.78 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.007928, allocations: 4.562 kB / 0.78 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.007933, allocations: 4.688 kB / 0.78 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.007944, allocations: 3.984 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.007946, allocations: 1.125 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007947, allocations: 0 / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.008115, allocations: 230.8 kB / 0.7802 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.008132, allocations: 11.94 kB / 0.7803 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.008152, allocations: 5.406 kB / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.008239, allocations: 8 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.008292, allocations: 7.984 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.008308, allocations: 4.875 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.257e-05/0.008331, allocations: 16.83 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.008331, allocations: 0.9375 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000207/0.008538, allocations: 20 kB / 0.7803 GB, free: 15.95 MB / 0.7448 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.738e-05/0.008625, allocations: 77.36 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.008801, allocations: 160.6 kB / 0.7805 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.008804, allocations: 0 / 0.7805 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.008888, allocations: 114.7 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.009094, allocations: 17.14 kB / 0.7807 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.009405, allocations: 198.9 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.009446, allocations: 55.36 kB / 0.7809 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.009477, allocations: 7.984 kB / 0.7809 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.009553, allocations: 64.09 kB / 0.781 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.009554, allocations: 0.6875 kB / 0.781 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.003617/0.01317, allocations: 0.9731 MB / 0.7819 GB, free: 14.24 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.86047443933785]