Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001107/0.001107, allocations: 104.1 kB / 16.36 MB, free: 6.422 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.001041/0.001041, allocations: 192.6 kB / 17.3 MB, free: 5.801 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.386/1.386, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.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.001449/0.001449, allocations: 75.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2393, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00276/0.2421, allocations: 1.429 MB / 0.7862 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.2429, allocations: 471.8 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.243, allocations: 4 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.243, allocations: 3.938 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.2431, allocations: 11.91 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.2433, allocations: 23.92 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.2434, allocations: 51.8 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.2435, allocations: 11.98 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.2436, allocations: 15.94 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.2436, allocations: 27.84 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2437, allocations: 0 / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.2437, allocations: 4 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.2437, allocations: 11.98 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.2438, allocations: 23.86 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.2439, allocations: 31.91 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2439, allocations: 3.984 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2439, allocations: 0 / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2439, allocations: 4 kB / 0.7868 GB, free: 1.051 MB / 0.6544 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.0005938/0.2445, allocations: 393 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2446, allocations: 8.031 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.2446, allocations: 8.844 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2447, allocations: 180.2 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2447, allocations: 4.375 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2448, allocations: 4.375 kB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.2449, allocations: 61.86 kB / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2449, allocations: 0 / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2449, allocations: 4 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2449, allocations: 4 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.444e-05/0.245, allocations: 15.98 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4778/0.7228, allocations: 268.7 kB / 0.7877 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.7231, allocations: 38.02 kB / 0.7878 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.7231, allocations: 26.75 kB / 0.7878 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.7232, allocations: 3.281 kB / 0.7878 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.7234, allocations: 97.7 kB / 0.7879 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 3.967e-06/0.7235, allocations: 2.75 kB / 0.7879 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003093/0.7238, allocations: 141.8 kB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.7238, allocations: 82.86 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.7239, allocations: 113.7 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.7239, allocations: 33.92 kB / 0.7883 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.724, allocations: 82.89 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.724, allocations: 23.52 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.7241, allocations: 27.16 kB / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.7241, allocations: 320.3 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.7242, allocations: 18.34 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.7242, allocations: 38.67 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.7243, allocations: 118.1 kB / 0.7889 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7243, allocations: 0 / 0.7889 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001314/0.7245, allocations: 124.1 kB / 0.789 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.7245, allocations: 35.84 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7245, allocations: 0 / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7245, allocations: 3.5 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.7246, allocations: 3.281 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.7246, allocations: 3.844 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/0.7247, allocations: 13.75 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.7247, allocations: 2.812 kB / 0.789 GB, free: 48.01 MB / 0.6544 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.797e-05/0.7248, allocations: 147.8 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.7248, allocations: 12.97 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.7249, allocations: 5.25 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7249, allocations: 7 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7249, allocations: 0.8438 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.7249, allocations: 5.531 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.7252, allocations: 397.7 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7253, allocations: 0 / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/0.7253, allocations: 2.625 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7253, allocations: 1.203 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.7253, allocations: 6.562 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7253, allocations: 6.25 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7253, allocations: 0 / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.7255, allocations: 231.3 kB / 0.7898 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.7255, allocations: 79.73 kB / 0.7899 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.7255, allocations: 8 kB / 0.7899 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.7256, allocations: 14.2 kB / 0.7899 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.7257, allocations: 5.906 kB / 0.7899 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.7257, allocations: 6.344 kB / 0.7899 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.7258, allocations: 91.72 kB / 0.79 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.82e-07/0.7258, allocations: 0 / 0.79 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002324/0.726, allocations: 21.22 kB / 0.79 GB, free: 47.2 MB / 0.6544 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 9.057e-05/0.7261, allocations: 101.4 kB / 0.7901 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.7263, allocations: 118 kB / 0.7902 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7263, allocations: 0 / 0.7902 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.7264, allocations: 85.45 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.7267, allocations: 15.17 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.727, allocations: 155 kB / 0.7905 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.7271, allocations: 0.6871 MB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.7272, allocations: 6.125 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.7272, allocations: 13.53 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.7272, allocations: 0.9688 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.0031/0.7303, allocations: 0.8619 MB / 0.792 GB, free: 46.17 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)