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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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") [: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.1.4-maint.8.1.x/package.mo): time 1.335/1.335, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.0009799/0.00098, allocations: 193.2 kB / 366.3 MB, free: 1.938 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.04/1.04, allocations: 205.1 MB / 0.6256 GB, free: 7.441 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.0008662/0.0008662, allocations: 86.95 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.131e-06/6.242e-06, allocations: 0 / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4689, allocations: 116.3 MB / 0.9725 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.6119, allocations: 138.8 MB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.6121, allocations: 73.98 kB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003153/0.6153, allocations: 0.8693 MB / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.6153, allocations: 0.5938 kB / 1.109 GB, free: 10.81 MB / 0.7136 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.0004077/0.6157, allocations: 391.4 kB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6158, allocations: 9.375 kB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.6158, allocations: 6.312 kB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.616, allocations: 175.6 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.616, allocations: 4.609 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.616, allocations: 4 kB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.273e-05/0.6161, allocations: 14.91 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.779e-05/0.6162, allocations: 46.25 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6162, allocations: 0.8438 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.6162, allocations: 0.6562 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.6162, allocations: 4.906 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.6165, allocations: 246.1 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.397e-05/0.6166, allocations: 35.3 kB / 1.11 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.6167, allocations: 21.52 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.6167, allocations: 0.6562 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.6168, allocations: 98.75 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.6168, allocations: 0.5312 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001703/0.617, allocations: 70.38 kB / 1.11 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.6171, allocations: 85.7 kB / 1.11 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.6171, allocations: 105.5 kB / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.6172, allocations: 26.23 kB / 1.11 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.6172, allocations: 80.73 kB / 1.11 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.6172, allocations: 20.75 kB / 1.11 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.6172, allocations: 0 / 1.11 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.6173, allocations: 323.4 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.6174, allocations: 21.06 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.044e-05/0.6174, allocations: 36.05 kB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.376e-05/0.6174, allocations: 17.39 kB / 1.111 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6174, allocations: 0 / 1.111 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001168/0.6176, allocations: 77.53 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.6176, allocations: 6.031 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6176, allocations: 4.062 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.6176, allocations: 4 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.014e-05/0.6177, allocations: 4 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6177, allocations: 3.906 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.6177, allocations: 11.98 kB / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.6178, allocations: 0.9375 kB / 1.111 GB, free: 8.695 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.034e-05/0.6179, allocations: 142.6 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.6179, allocations: 11.91 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.6179, allocations: 14.05 kB / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6179, allocations: 0 / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6179, allocations: 0 / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6179, allocations: 3.938 kB / 1.111 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.6182, allocations: 319.7 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6183, allocations: 0 / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-06/0.6183, allocations: 3.938 kB / 1.111 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6183, allocations: 0 / 1.111 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.6183, allocations: 11.97 kB / 1.111 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6183, allocations: 4.656 kB / 1.111 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6183, allocations: 2.5 kB / 1.111 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001414/0.6185, allocations: 174.6 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.6185, allocations: 89 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.6185, allocations: 0.8125 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.6186, allocations: 12 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.6187, allocations: 11.92 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.6187, allocations: 12.66 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.422e-05/0.6188, allocations: 83.27 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000213/0.619, allocations: 12 kB / 1.112 GB, free: 7.719 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.826e-05/0.6191, allocations: 104.5 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.6192, allocations: 73.58 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6192, allocations: 4.125 kB / 1.112 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.348e-05/0.6193, allocations: 61.7 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.6195, allocations: 12.92 kB / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.6197, allocations: 91.62 kB / 1.112 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.62, allocations: 0.7005 MB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.62, allocations: 0 / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of Templates: time 0.002566/0.6226, allocations: 0.7815 MB / 1.114 GB, free: 5.863 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (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)