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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.338/1.338, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009208/0.0009207, allocations: 189.3 kB / 361.1 MB, free: 7.059 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.008/1.008, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0007222/0.0007222, allocations: 86.47 kB / 0.7325 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.04e-06/5.06e-06, allocations: 0 / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4025, allocations: 115.3 MB / 0.9637 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.5304, allocations: 137.8 MB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.5306, allocations: 67.97 kB / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002933/0.5336, allocations: 0.8665 MB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5336, allocations: 1.312 kB / 1.099 GB, free: 1.254 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.0003948/0.534, allocations: 386.1 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.534, allocations: 8.594 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.5341, allocations: 5.5 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5342, allocations: 185.1 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.5342, allocations: 0 / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.5342, allocations: 4.656 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.859e-05/0.5343, allocations: 12 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.764e-05/0.5344, allocations: 49.91 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.5344, allocations: 0.6875 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.5344, allocations: 0 / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5344, allocations: 4.5 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.5347, allocations: 242.7 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/0.5348, allocations: 39.08 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.5349, allocations: 25.55 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.5349, allocations: 1.25 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-05/0.535, allocations: 98.31 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.535, allocations: 0 / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001622/0.5352, allocations: 70.17 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.5352, allocations: 81.58 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.5353, allocations: 110.1 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.5353, allocations: 29.7 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.5353, allocations: 80.14 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.5354, allocations: 16.75 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.5354, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.5355, allocations: 323.4 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.5355, allocations: 8.938 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.5355, allocations: 35.11 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.5356, allocations: 22.25 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5356, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001077/0.5357, allocations: 77.53 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.5357, allocations: 6.812 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5357, allocations: 1.5 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.5357, allocations: 4 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.819e-05/0.5358, allocations: 7.938 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5358, allocations: 3.906 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.5359, allocations: 12.05 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.5359, allocations: 6.188 kB / 1.101 GB, free: 15.14 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 8.554e-05/0.536, allocations: 143.4 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.536, allocations: 3.906 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.536, allocations: 16.36 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.536, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.536, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.536, allocations: 4.656 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.5363, allocations: 324.2 kB / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5363, allocations: 0 / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.5363, allocations: 2.188 kB / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5363, allocations: 0 / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5364, allocations: 7.984 kB / 1.101 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5364, allocations: 0 / 1.101 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5364, allocations: 0 / 1.101 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001445/0.5365, allocations: 184 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.5366, allocations: 90.5 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.5366, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.5367, allocations: 8 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.5368, allocations: 7.984 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.5368, allocations: 11.91 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.391e-05/0.5368, allocations: 91.2 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002096/0.537, allocations: 12 kB / 1.102 GB, free: 14.17 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 9.052e-05/0.5371, allocations: 107 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.5373, allocations: 72.06 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.5373, allocations: 0 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.5373, allocations: 69.61 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.5375, allocations: 20.81 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.5378, allocations: 92.44 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.538, allocations: 0.6958 MB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.538, allocations: 0 / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.002277/0.5403, allocations: 0.7767 MB / 1.104 GB, free: 12.33 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)