Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6216/0.6216, allocations: 94.77 MB / 102.2 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001312/0.001312, allocations: 173.1 kB / 125.5 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 2.038/2.038, allocations: 170.6 MB / 319.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001876/0.001876, allocations: 111.6 kB / 381.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.861e-05, allocations: 0 / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.208, allocations: 61.53 MB / 0.4987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5975/0.8055, allocations: 93.65 MB / 0.5901 GB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.806, allocations: 72.77 kB / 0.5902 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004724/0.8107, allocations: 1.104 MB / 0.5913 GB, free: 7.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.8107, allocations: 3.938 kB / 0.5913 GB, free: 7.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.8107, allocations: 0.5 kB / 0.5913 GB, free: 7.168 MB / 410.7 MB 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.000684/0.8114, allocations: 380.9 kB / 0.5916 GB, free: 6.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.8115, allocations: 8.625 kB / 0.5916 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.8116, allocations: 6.969 kB / 0.5916 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.8118, allocations: 171.9 kB / 0.5918 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.8119, allocations: 0 / 0.5918 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.8119, allocations: 6.797 kB / 0.5918 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/0.812, allocations: 12 kB / 0.5918 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.8122, allocations: 46.91 kB / 0.5919 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.8122, allocations: 0 / 0.5919 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.8122, allocations: 5.781 kB / 0.5919 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.8122, allocations: 1.875 kB / 0.5919 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.8128, allocations: 245.9 kB / 0.5921 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.813, allocations: 35.08 kB / 0.5921 GB, free: 6.145 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.813, allocations: 21.59 kB / 0.5922 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.8131, allocations: 0.8125 kB / 0.5922 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.8133, allocations: 110.2 kB / 0.5923 GB, free: 5.996 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.8133, allocations: 0 / 0.5923 GB, free: 5.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003342/0.8137, allocations: 88.42 kB / 0.5924 GB, free: 5.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.8138, allocations: 81.88 kB / 0.5924 GB, free: 5.809 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.8139, allocations: 102.1 kB / 0.5925 GB, free: 5.703 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.814, allocations: 25.7 kB / 0.5926 GB, free: 5.672 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.8141, allocations: 88.88 kB / 0.5926 GB, free: 5.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.8141, allocations: 15.81 kB / 0.5927 GB, free: 5.566 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.8141, allocations: 0.9688 kB / 0.5927 GB, free: 5.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.8143, allocations: 318.8 kB / 0.593 GB, free: 5.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.8144, allocations: 14.56 kB / 0.593 GB, free: 5.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.8144, allocations: 35.77 kB / 0.593 GB, free: 5.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.013e-05/0.8145, allocations: 12.5 kB / 0.593 GB, free: 5.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8145, allocations: 0.5625 kB / 0.593 GB, free: 5.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002102/0.8148, allocations: 94.22 kB / 0.5931 GB, free: 5.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.8148, allocations: 34.36 kB / 0.5931 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8148, allocations: 0 / 0.5931 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8149, allocations: 1.781 kB / 0.5931 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.8149, allocations: 4 kB / 0.5932 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.815, allocations: 1.406 kB / 0.5932 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.8151, allocations: 13.17 kB / 0.5932 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.8151, allocations: 12.06 kB / 0.5932 GB, free: 5.016 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: del.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean 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.pulsStart,booleanPulse.pulsStart) * Number of discrete 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.0002028/0.8153, allocations: 130.7 kB / 0.5933 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.8154, allocations: 7.953 kB / 0.5933 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.8154, allocations: 12.61 kB / 0.5933 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8154, allocations: 4.766 kB / 0.5933 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.8154, allocations: 0 / 0.5933 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.8155, allocations: 7.547 kB / 0.5933 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.816, allocations: 333.7 kB / 0.5937 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.816, allocations: 3.469 kB / 0.5937 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.816, allocations: 9.391 kB / 0.5937 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.8161, allocations: 3.984 kB / 0.5937 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.8161, allocations: 6.078 kB / 0.5937 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.8161, allocations: 0 / 0.5937 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8161, allocations: 0 / 0.5937 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.8164, allocations: 195.4 kB / 0.5939 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.8165, allocations: 85.02 kB / 0.5939 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.8166, allocations: 7.953 kB / 0.5939 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.8167, allocations: 7.984 kB / 0.594 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.8168, allocations: 11.94 kB / 0.594 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.8169, allocations: 7.984 kB / 0.594 GB, free: 4.121 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.793e-05/0.8169, allocations: 84.66 kB / 0.5941 GB, free: 4.039 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.817, allocations: 0 / 0.5941 GB, free: 4.039 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004056/0.8174, allocations: 16 kB / 0.5941 GB, free: 4.023 MB / 410.7 MB 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.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * 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 0.0001526/0.8175, allocations: 99.25 kB / 0.5942 GB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.8178, allocations: 107.3 kB / 0.5943 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8178, allocations: 0 / 0.5943 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.818, allocations: 83.41 kB / 0.5943 GB, free: 3.707 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.8183, allocations: 13.09 kB / 0.5944 GB, free: 3.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.8187, allocations: 101.2 kB / 0.5945 GB, free: 3.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.8191, allocations: 0.6924 MB / 0.5951 GB, free: 2.859 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.8192, allocations: 4 kB / 0.5951 GB, free: 2.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.8192, allocations: 11.44 kB / 0.5951 GB, free: 2.848 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.8192, allocations: 1.875 kB / 0.5951 GB, free: 2.848 MB / 410.7 MB Notification: Performance of Templates: time 0.004056/0.8233, allocations: 0.7032 MB / 0.5958 GB, free: 2.191 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)