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.0008002/0.0008004, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.000853/0.0008531, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.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.653/1.653, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005048/0.0005049, allocations: 14.16 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2172, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001412/0.2186, allocations: 1.144 MB / 0.7884 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005977/0.2193, allocations: 453.2 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.2193, allocations: 0 / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.2193, allocations: 0 / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.2194, allocations: 11.92 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.2195, allocations: 15.94 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.2196, allocations: 51.83 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.521e-05/0.2197, allocations: 4 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.2197, allocations: 15.92 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.2198, allocations: 15.92 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.2198, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.2198, allocations: 4 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.2199, allocations: 7.938 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.2199, allocations: 29.7 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.247e-05/0.22, allocations: 36.22 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.22, allocations: 0 / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.22, allocations: 0 / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.22, allocations: 0 / 0.789 GB, free: 10.17 MB / 0.6075 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.0004838/0.2205, allocations: 384.9 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2205, allocations: 16.03 kB / 0.7894 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.2206, allocations: 3.906 kB / 0.7894 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.2207, allocations: 182.9 kB / 0.7896 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.2207, allocations: 4 kB / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.2207, allocations: 0 / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.2208, allocations: 49.69 kB / 0.7896 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.2209, allocations: 3.984 kB / 0.7896 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2209, allocations: 4 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2209, allocations: 0 / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.2209, allocations: 12 kB / 0.7896 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.2213, allocations: 272.9 kB / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.2214, allocations: 50.48 kB / 0.7899 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.2214, allocations: 20.97 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.2214, allocations: 0 / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.2216, allocations: 109.1 kB / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2216, allocations: 3.938 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002528/0.2219, allocations: 143.2 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2219, allocations: 77.11 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.222, allocations: 121.7 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.222, allocations: 25.7 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.2221, allocations: 92.12 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.2221, allocations: 11.75 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.2221, allocations: 8 kB / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.2222, allocations: 318.8 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.2222, allocations: 12 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.2223, allocations: 42.5 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.809e-05/0.2223, allocations: 49.69 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2223, allocations: 0 / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001497/0.2225, allocations: 123.3 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.2225, allocations: 41.75 kB / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2225, allocations: 4 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.2226, allocations: 0 / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.2226, allocations: 4 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2226, allocations: 0 / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.2227, allocations: 15.94 kB / 0.7911 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.2227, allocations: 4 kB / 0.7911 GB, free: 7.734 MB / 0.6075 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.2228, allocations: 147.5 kB / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.2228, allocations: 12 kB / 0.7913 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.2229, allocations: 4.375 kB / 0.7913 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2229, allocations: 3.984 kB / 0.7913 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2229, allocations: 0 / 0.7913 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2229, allocations: 4 kB / 0.7913 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.2233, allocations: 400.1 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2233, allocations: 0 / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.2233, allocations: 4 kB / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2233, allocations: 0 / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2233, allocations: 8 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2233, allocations: 384 / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2233, allocations: 11.89 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.2235, allocations: 225.1 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.2236, allocations: 89 kB / 0.792 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.2236, allocations: 0 / 0.792 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.2237, allocations: 12 kB / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.2238, allocations: 15.94 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.2238, allocations: 4 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.2238, allocations: 91.8 kB / 0.7921 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2238, allocations: 4 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002181/0.2241, allocations: 12 kB / 0.7921 GB, free: 6.59 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.301e-05/0.2242, allocations: 99.25 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.2243, allocations: 115.3 kB / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2244, allocations: 4.125 kB / 0.7923 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.2244, allocations: 95.33 kB / 0.7924 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.2247, allocations: 16.05 kB / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.225, allocations: 160.6 kB / 0.7926 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.2253, allocations: 0.6926 MB / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.2253, allocations: 3.781 kB / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.2254, allocations: 11.44 kB / 0.7933 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2254, allocations: 0 / 0.7933 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of Templates: time 0.002622/0.228, allocations: 0.7345 MB / 0.794 GB, free: 4.59 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) Environment - environmentSimulation: