Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.368/2.368, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.002212/0.002212, allocations: 175.6 kB / 326.2 MB, free: 2.852 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.453/2.453, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0008498/0.0008498, allocations: 89.92 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004915, allocations: 14.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2187, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2345/0.4532, allocations: 131.4 MB / 1.028 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.4536, allocations: 79.89 kB / 1.028 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003758/0.4574, allocations: 0.9242 MB / 1.029 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.248e-06/0.4575, allocations: 0 / 1.029 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4575, allocations: 3.938 kB / 1.029 GB, free: 12.97 MB / 0.6823 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.0006653/0.4582, allocations: 375.3 kB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4582, allocations: 8.031 kB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.4583, allocations: 12.84 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.4584, allocations: 168.4 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.4585, allocations: 8.312 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.4585, allocations: 4.375 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4587, allocations: 50.23 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4587, allocations: 192 / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.4587, allocations: 11.94 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4587, allocations: 0 / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.388e-05/0.4588, allocations: 19.98 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.4595, allocations: 292.9 kB / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.4597, allocations: 58.44 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.925e-05/0.4597, allocations: 12.98 kB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4598, allocations: 4 kB / 1.03 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.46, allocations: 83.38 kB / 1.03 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.46, allocations: 0 / 1.03 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0003599/0.4604, allocations: 113.4 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.4605, allocations: 59.34 kB / 1.03 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.4606, allocations: 113.8 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.4606, allocations: 29.7 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.4607, allocations: 91.91 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.4608, allocations: 27.86 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.4608, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4609, allocations: 322.8 kB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.461, allocations: 15.98 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.4611, allocations: 48.28 kB / 1.031 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.392e-05/0.4612, allocations: 31.92 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4612, allocations: 0 / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000223/0.4614, allocations: 101.5 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4614, allocations: 4 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4615, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4615, allocations: 4 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.4616, allocations: 7.938 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4616, allocations: 4 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.4618, allocations: 24.08 kB / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.4618, allocations: 4 kB / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,onCounter.reset,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001254/0.462, allocations: 126.8 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.462, allocations: 7.906 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.462, allocations: 8.375 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4621, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4621, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4621, allocations: 12 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.4629, allocations: 383.1 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4629, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.4629, allocations: 7.984 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4629, allocations: 4.094 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.463, allocations: 7.938 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.463, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.463, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.4633, allocations: 191.3 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.4633, allocations: 84.95 kB / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.4634, allocations: 0 / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.4636, allocations: 23.98 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.4636, allocations: 15.91 kB / 1.032 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.4637, allocations: 4 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.078e-05/0.4638, allocations: 87.28 kB / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.4638, allocations: 0 / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000308/0.4641, allocations: 16 kB / 1.032 GB, free: 9.605 MB / 0.6823 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 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001517/0.4642, allocations: 99.23 kB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.4645, allocations: 63.86 kB / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4645, allocations: 0 / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4646, allocations: 27.98 kB / 1.032 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.465, allocations: 16.55 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.4656, allocations: 183.4 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.4659, allocations: 0.6887 MB / 1.033 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.938e-05/0.466, allocations: 8.656 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.466, allocations: 11.44 kB / 1.033 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of SimCode: time 8.81e-07/0.466, allocations: 0 / 1.033 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of Templates: time 0.004351/0.4704, allocations: 0.8885 MB / 1.034 GB, free: 7.566 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)