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.0009589/0.0009588, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.0009866/0.0009866, allocations: 177.3 kB / 15.95 MB, free: 216 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.321/1.321, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.628/1.628, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005582/0.0005583, allocations: 14.47 kB / 0.6735 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2179, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001669/0.2196, allocations: 1.133 MB / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007309/0.2204, allocations: 453.5 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.2204, allocations: 0 / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.2204, allocations: 3.938 kB / 0.7886 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.109e-05/0.2205, allocations: 11.91 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.2207, allocations: 15.98 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.2208, allocations: 35.89 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.2209, allocations: 4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.2209, allocations: 19.94 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.221, allocations: 23.89 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.221, allocations: 4 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2211, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.2211, allocations: 4 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.2211, allocations: 33.7 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.768e-05/0.2212, allocations: 20.23 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.2212, allocations: 0 / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2212, allocations: 0 / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2212, allocations: 0 / 0.7888 GB, free: 10.21 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.0005573/0.2218, allocations: 399.7 kB / 0.7892 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2218, allocations: 8.031 kB / 0.7892 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.2219, allocations: 7.906 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.222, allocations: 178.9 kB / 0.7894 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.222, allocations: 0 / 0.7894 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2221, allocations: 4 kB / 0.7894 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.2222, allocations: 53.67 kB / 0.7894 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2222, allocations: 7.984 kB / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2222, allocations: 3.938 kB / 0.7894 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2222, allocations: 0 / 0.7894 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/0.2223, allocations: 15.98 kB / 0.7895 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.2227, allocations: 276.8 kB / 0.7897 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.705e-05/0.2228, allocations: 42.56 kB / 0.7898 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2228, allocations: 0 / 0.7898 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.223, allocations: 105.1 kB / 0.7899 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.223, allocations: 0 / 0.7899 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002994/0.2233, allocations: 220.4 kB / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.2234, allocations: 85.17 kB / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.2235, allocations: 113.7 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2235, allocations: 29.7 kB / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.2235, allocations: 88.14 kB / 0.7904 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.2236, allocations: 27.67 kB / 0.7904 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.2236, allocations: 0 / 0.7904 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2237, allocations: 314.8 kB / 0.7907 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.329e-05/0.2237, allocations: 15.98 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.2238, allocations: 34.58 kB / 0.7907 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.2239, allocations: 54.08 kB / 0.7908 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2239, allocations: 0 / 0.7908 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001551/0.224, allocations: 123.2 kB / 0.7909 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.2241, allocations: 37.7 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2241, allocations: 0 / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2241, allocations: 0 / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.2241, allocations: 7.984 kB / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2241, allocations: 7.938 kB / 0.791 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.2242, allocations: 12.02 kB / 0.791 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.2242, allocations: 4 kB / 0.791 GB, free: 7.691 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.000117/0.2244, allocations: 150.8 kB / 0.7911 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.2244, allocations: 4 kB / 0.7911 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.2244, allocations: 8.375 kB / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2244, allocations: 0 / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2244, allocations: 4 kB / 0.7911 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2244, allocations: 3.938 kB / 0.7911 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.2248, allocations: 404.1 kB / 0.7915 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2248, allocations: 8.359 kB / 0.7915 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.214e-06/0.2249, allocations: 0 / 0.7915 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2249, allocations: 0 / 0.7915 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2249, allocations: 8.062 kB / 0.7915 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2249, allocations: 3.938 kB / 0.7916 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.2249, allocations: 3.953 kB / 0.7916 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.2251, allocations: 233.2 kB / 0.7918 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.2251, allocations: 85.02 kB / 0.7919 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2252, allocations: 4 kB / 0.7919 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.2253, allocations: 7.984 kB / 0.7919 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.2253, allocations: 11.98 kB / 0.7919 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.2254, allocations: 7.953 kB / 0.7919 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.2254, allocations: 91.27 kB / 0.792 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2254, allocations: 0 / 0.792 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002207/0.2256, allocations: 12 kB / 0.792 GB, free: 6.547 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 9.207e-05/0.2257, allocations: 111.2 kB / 0.7921 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.2259, allocations: 107.4 kB / 0.7922 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2259, allocations: 0 / 0.7922 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.688e-05/0.226, allocations: 91.33 kB / 0.7923 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.2262, allocations: 17.05 kB / 0.7923 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.2265, allocations: 168.2 kB / 0.7925 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2268, allocations: 0.6911 MB / 0.7931 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.2268, allocations: 11.77 kB / 0.7931 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.2268, allocations: 7.438 kB / 0.7932 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2268, allocations: 3.938 kB / 0.7932 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of Templates: time 0.002743/0.2296, allocations: 0.7306 MB / 0.7939 GB, free: 4.539 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: