Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.748/1.748, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009917/0.0009916, allocations: 176.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008013/0.0008014, allocations: 97.34 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.229e-05/1.23e-05, allocations: 0 / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6669, allocations: 115.3 MB / 0.9643 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.8472, allocations: 137.9 MB / 1.099 GB, free: 1.977 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.8475, allocations: 71.95 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003517/0.851, allocations: 1.182 MB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8511, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.8511, allocations: 1 kB / 1.1 GB, free: 0.7461 MB / 0.698 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.0004552/0.8515, allocations: 381.4 kB / 1.101 GB, free: 336 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8516, allocations: 12.52 kB / 1.101 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.8516, allocations: 5.688 kB / 1.101 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.8518, allocations: 175 kB / 1.101 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.8518, allocations: 1.312 kB / 1.101 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.8518, allocations: 4 kB / 1.101 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.858e-05/0.8519, allocations: 12 kB / 1.101 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.796e-05/0.852, allocations: 55.14 kB / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.852, allocations: 0.5 kB / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.852, allocations: 0 / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.852, allocations: 2.344 kB / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.8524, allocations: 249.9 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.8525, allocations: 39.16 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.8526, allocations: 23.23 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.8526, allocations: 4.688 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.8527, allocations: 100.8 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.8527, allocations: 0.5312 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002209/0.853, allocations: 81.69 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.853, allocations: 78.7 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.8531, allocations: 113 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.8532, allocations: 29.7 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.8532, allocations: 80.86 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.8533, allocations: 22.62 kB / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.8533, allocations: 0 / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8534, allocations: 322.8 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.8534, allocations: 15.83 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.8535, allocations: 34.58 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.8535, allocations: 18.8 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8535, allocations: 0 / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000126/0.8537, allocations: 87.33 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.8537, allocations: 33.7 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8538, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.8538, allocations: 3.5 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/0.8538, allocations: 7.984 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.8538, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.8539, allocations: 8 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.8539, allocations: 4 kB / 1.102 GB, free: 14.59 MB / 0.7136 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 () * 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 9.961e-05/0.854, allocations: 150.5 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.854, allocations: 6.156 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.8541, allocations: 12.69 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.8541, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8541, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8541, allocations: 0.75 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.8544, allocations: 349.5 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8544, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.8545, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.8545, allocations: 4 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.8545, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8545, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8545, allocations: 4 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.8547, allocations: 196.8 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.8547, allocations: 82.09 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.8547, allocations: 8.672 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.8548, allocations: 8 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.8549, allocations: 7.984 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.8549, allocations: 8 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.855, allocations: 91.27 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.413e-06/0.855, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002325/0.8552, allocations: 15.94 kB / 1.103 GB, free: 13.57 MB / 0.7136 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) * 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.0001053/0.8553, allocations: 105.4 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.8555, allocations: 107.3 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8555, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.8556, allocations: 85.41 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.8558, allocations: 21.16 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.856, allocations: 90.34 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.8563, allocations: 0.6931 MB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.8563, allocations: 3.984 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.8563, allocations: 11.44 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8563, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.00253/0.8589, allocations: 0.7067 MB / 1.105 GB, free: 11.73 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)