Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 287.5 MB / 303.2 MB, free: 8.227 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.00133/0.00133, allocations: 185.2 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 95.8 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006458/0.0006459, allocations: 11.39 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2182, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8836/1.102, allocations: 138.5 MB / 1.114 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.102, allocations: 75.7 kB / 1.115 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005224/1.107, allocations: 1.192 MB / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/1.108, allocations: 3.938 kB / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.856e-06/1.108, allocations: 0 / 1.116 GB, free: 31.43 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.0006413/1.108, allocations: 398.4 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.108, allocations: 7.781 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/1.108, allocations: 8.719 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.108, allocations: 170.1 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/1.108, allocations: 4.312 kB / 1.116 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/1.109, allocations: 4.25 kB / 1.116 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/1.109, allocations: 51.28 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.109, allocations: 192 / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.109, allocations: 5.062 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.109, allocations: 4 kB / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.685e-05/1.109, allocations: 18.3 kB / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/1.109, allocations: 264.5 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/1.109, allocations: 48.28 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/1.109, allocations: 17.47 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/1.109, allocations: 11.08 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/1.11, allocations: 110.6 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/1.11, allocations: 2.297 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0003366/1.11, allocations: 132.7 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/1.11, allocations: 85.91 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/1.11, allocations: 110.1 kB / 1.117 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/1.11, allocations: 29.27 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/1.11, allocations: 88.05 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/1.11, allocations: 28.52 kB / 1.117 GB, free: 30 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/1.11, allocations: 3.844 kB / 1.117 GB, free: 30 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.11, allocations: 316.4 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/1.111, allocations: 14.88 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/1.111, allocations: 40.08 kB / 1.118 GB, free: 29.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/1.111, allocations: 115.1 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.111, allocations: 3.938 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002125/1.111, allocations: 120.5 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/1.111, allocations: 29.52 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.111, allocations: 0 / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.111, allocations: 3.781 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/1.111, allocations: 7.844 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/1.111, allocations: 5.375 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/1.111, allocations: 19.59 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.111, allocations: 0 / 1.118 GB, free: 29.46 MB / 0.698 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.0001299/1.111, allocations: 155.2 kB / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/1.111, allocations: 3.969 kB / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/1.112, allocations: 12.19 kB / 1.118 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/1.112, allocations: 3.812 kB / 1.118 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/1.112, allocations: 0 / 1.118 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.112, allocations: 2.953 kB / 1.118 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/1.112, allocations: 400.2 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.112, allocations: 0 / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/1.112, allocations: 3.844 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.112, allocations: 0 / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.112, allocations: 7.75 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.112, allocations: 3.906 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.112, allocations: 0 / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/1.112, allocations: 231.6 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/1.113, allocations: 88.95 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/1.113, allocations: 9.078 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/1.113, allocations: 11.03 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/1.113, allocations: 10.77 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/1.113, allocations: 7.25 kB / 1.119 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.198e-05/1.113, allocations: 93.95 kB / 1.119 GB, free: 28.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/1.113, allocations: 0 / 1.119 GB, free: 28.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003168/1.113, allocations: 15.44 kB / 1.119 GB, free: 28.61 MB / 0.698 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.0001292/1.113, allocations: 98.69 kB / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000241/1.114, allocations: 115.6 kB / 1.119 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.114, allocations: 0 / 1.119 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/1.114, allocations: 88.8 kB / 1.119 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/1.114, allocations: 13.27 kB / 1.119 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/1.115, allocations: 154.1 kB / 1.119 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/1.115, allocations: 0.6867 MB / 1.12 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.683e-05/1.115, allocations: 7.016 kB / 1.12 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/1.115, allocations: 11.31 kB / 1.12 GB, free: 27.56 MB / 0.698 GB Notification: Performance of SimCode: time 2.315e-06/1.115, allocations: 0 / 1.12 GB, free: 27.56 MB / 0.698 GB Notification: Performance of Templates: time 0.003737/1.119, allocations: 0.7535 MB / 1.121 GB, free: 27.47 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)