Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009298/0.0009298, allocations: 182.7 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007849/0.0007849, allocations: 90.34 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 13.25 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1734, allocations: 106.3 MB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.3324, allocations: 132.3 MB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.3327, allocations: 67.97 kB / 1.031 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003615/0.3363, allocations: 1.208 MB / 1.032 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.037e-06/0.3364, allocations: 7.938 kB / 1.032 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.3364, allocations: 0 / 1.032 GB, free: 9.945 MB / 0.6823 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.0005013/0.3369, allocations: 385 kB / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3369, allocations: 8.031 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.337, allocations: 12.92 kB / 1.032 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3371, allocations: 168.3 kB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.3372, allocations: 4.375 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3372, allocations: 384 / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3373, allocations: 54.23 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3373, allocations: 192 / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3374, allocations: 7.938 kB / 1.032 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3374, allocations: 0 / 1.032 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.3374, allocations: 15.94 kB / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.3379, allocations: 272.9 kB / 1.033 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.3379, allocations: 46.5 kB / 1.033 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.338, allocations: 20.97 kB / 1.033 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.338, allocations: 3.938 kB / 1.033 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.3382, allocations: 101 kB / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3382, allocations: 4 kB / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0002689/0.3385, allocations: 139.3 kB / 1.033 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3385, allocations: 81.05 kB / 1.033 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.3386, allocations: 113.8 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3386, allocations: 29.7 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.3387, allocations: 88.12 kB / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.3387, allocations: 19.81 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.3387, allocations: 4 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3389, allocations: 322.8 kB / 1.034 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.3389, allocations: 12 kB / 1.034 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.339, allocations: 40.31 kB / 1.034 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3391, allocations: 110.3 kB / 1.034 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3391, allocations: 3.938 kB / 1.034 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001649/0.3393, allocations: 135.2 kB / 1.034 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.3393, allocations: 33.7 kB / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3393, allocations: 0 / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3393, allocations: 0 / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.3394, allocations: 4 kB / 1.034 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3394, allocations: 0 / 1.034 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.3395, allocations: 11.98 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3395, allocations: 4.062 kB / 1.034 GB, free: 7.449 MB / 0.6823 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.0001161/0.3396, allocations: 167.2 kB / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.3396, allocations: 7.906 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.3397, allocations: 8.375 kB / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3397, allocations: 0 / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3397, allocations: 0 / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3397, allocations: 0 / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.3401, allocations: 408.4 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3401, allocations: 0 / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-06/0.3401, allocations: 0 / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3401, allocations: 4 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3401, allocations: 11.98 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3401, allocations: 0 / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3401, allocations: 0 / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.3404, allocations: 233 kB / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.3404, allocations: 77.11 kB / 1.035 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3404, allocations: 4 kB / 1.035 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3405, allocations: 19.98 kB / 1.035 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.3406, allocations: 11.97 kB / 1.035 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3406, allocations: 3.938 kB / 1.035 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.3407, allocations: 91.22 kB / 1.035 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3407, allocations: 0 / 1.035 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002188/0.3409, allocations: 12 kB / 1.035 GB, free: 6.297 MB / 0.6823 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 0.0001074/0.341, allocations: 109.7 kB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.3412, allocations: 115.3 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3412, allocations: 0 / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.3413, allocations: 91.33 kB / 1.035 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3416, allocations: 15.98 kB / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.3419, allocations: 160.6 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.3421, allocations: 0.6889 MB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.3422, allocations: 4 kB / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.3422, allocations: 11.44 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/0.3422, allocations: 0 / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of Templates: time 0.002772/0.345, allocations: 0.7374 MB / 1.037 GB, free: 4.293 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)