Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.327/2.327, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001363/0.001363, allocations: 182.8 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.377/2.377, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001028/0.001027, allocations: 86.95 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.000492, allocations: 8.531 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2245, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.4517, allocations: 132.1 MB / 1.029 GB, free: 13.29 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.452, allocations: 79.95 kB / 1.029 GB, free: 13.21 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.005229/0.4573, allocations: 1.192 MB / 1.03 GB, free: 12 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4573, allocations: 3.938 kB / 1.03 GB, free: 12 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.4574, allocations: 4 kB / 1.03 GB, free: 12 MB / 0.6824 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.0007183/0.4581, allocations: 393 kB / 1.03 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4582, allocations: 12.03 kB / 1.03 GB, free: 11.54 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.4582, allocations: 8.875 kB / 1.03 GB, free: 11.54 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.4584, allocations: 160.4 kB / 1.03 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.4584, allocations: 8.375 kB / 1.03 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.4584, allocations: 384 / 1.03 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.4586, allocations: 54.23 kB / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4586, allocations: 192 / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.4587, allocations: 7.938 kB / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4587, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.935e-05/0.4588, allocations: 19.98 kB / 1.03 GB, free: 11.25 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.4593, allocations: 272.8 kB / 1.031 GB, free: 10.93 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.4594, allocations: 46.5 kB / 1.031 GB, free: 10.88 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.4595, allocations: 24.98 kB / 1.031 GB, free: 10.85 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.4596, allocations: 3.984 kB / 1.031 GB, free: 10.84 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.4598, allocations: 105.1 kB / 1.031 GB, free: 10.72 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=9): time 2.414e-06/0.4598, allocations: 4 kB / 1.031 GB, free: 10.72 MB / 0.6824 GB Notification: Performance of matching and sorting (n=9): time 0.0003947/0.4602, allocations: 135.3 kB / 1.031 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.4603, allocations: 81.11 kB / 1.031 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4604, allocations: 117.7 kB / 1.031 GB, free: 10.35 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.4605, allocations: 29.7 kB / 1.031 GB, free: 10.32 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.4605, allocations: 88.14 kB / 1.031 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.4606, allocations: 19.73 kB / 1.031 GB, free: 10.21 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.4606, allocations: 4 kB / 1.031 GB, free: 10.2 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4608, allocations: 318.8 kB / 1.032 GB, free: 9.883 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.4608, allocations: 12 kB / 1.032 GB, free: 9.871 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.4609, allocations: 42.5 kB / 1.032 GB, free: 9.82 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.091e-05/0.461, allocations: 50.09 kB / 1.032 GB, free: 9.766 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.461, allocations: 3.938 kB / 1.032 GB, free: 9.762 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002601/0.4613, allocations: 127.2 kB / 1.032 GB, free: 9.625 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.4614, allocations: 33.7 kB / 1.032 GB, free: 9.586 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4614, allocations: 0 / 1.032 GB, free: 9.586 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4614, allocations: 0 / 1.032 GB, free: 9.586 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.4615, allocations: 7.938 kB / 1.032 GB, free: 9.578 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4615, allocations: 0 / 1.032 GB, free: 9.578 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.4617, allocations: 20.05 kB / 1.032 GB, free: 9.559 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4617, allocations: 4 kB / 1.032 GB, free: 9.555 MB / 0.6824 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.0001601/0.4619, allocations: 152.6 kB / 1.032 GB, free: 9.391 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.4619, allocations: 4 kB / 1.032 GB, free: 9.387 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.462, allocations: 8.375 kB / 1.032 GB, free: 9.379 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.462, allocations: 0 / 1.032 GB, free: 9.379 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.462, allocations: 0 / 1.032 GB, free: 9.379 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.462, allocations: 0 / 1.032 GB, free: 9.379 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.4626, allocations: 408 kB / 1.032 GB, free: 8.918 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4627, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.4627, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.4627, allocations: 4 kB / 1.032 GB, free: 8.914 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.4627, allocations: 3.984 kB / 1.032 GB, free: 8.91 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4627, allocations: 0 / 1.032 GB, free: 8.91 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4627, allocations: 384 / 1.032 GB, free: 8.91 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.4631, allocations: 242.7 kB / 1.033 GB, free: 8.652 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.4632, allocations: 85.02 kB / 1.033 GB, free: 8.551 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.4632, allocations: 0 / 1.033 GB, free: 8.551 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.4634, allocations: 11.98 kB / 1.033 GB, free: 8.539 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.4635, allocations: 7.984 kB / 1.033 GB, free: 8.531 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.4635, allocations: 8 kB / 1.033 GB, free: 8.523 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 7.236e-05/0.4636, allocations: 83.22 kB / 1.033 GB, free: 8.441 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4636, allocations: 0 / 1.033 GB, free: 8.441 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0003108/0.4639, allocations: 20 kB / 1.033 GB, free: 8.422 MB / 0.6824 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.0001405/0.4641, allocations: 107.2 kB / 1.033 GB, free: 8.309 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.4643, allocations: 115.5 kB / 1.033 GB, free: 8.184 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 6.433e-06/0.4644, allocations: 0 / 1.033 GB, free: 8.184 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.4645, allocations: 95.27 kB / 1.033 GB, free: 8.078 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.4649, allocations: 14.05 kB / 1.033 GB, free: 8.066 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.4654, allocations: 160.8 kB / 1.033 GB, free: 7.879 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4657, allocations: 0.6887 MB / 1.034 GB, free: 7.164 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.4658, allocations: 4 kB / 1.034 GB, free: 7.16 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.4658, allocations: 11.44 kB / 1.034 GB, free: 7.148 MB / 0.6824 GB Notification: Performance of SimCode: time 1.062e-06/0.4659, allocations: 0 / 1.034 GB, free: 7.148 MB / 0.6824 GB Notification: Performance of Templates: time 0.004082/0.4699, allocations: 0.7499 MB / 1.035 GB, free: 6.406 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)