Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 196.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.1 MB / 222.1 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.58/1.58, allocations: 251.6 MB / 0.5089 GB, free: 3.27 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 67.91 kB / 0.6218 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6627/0.6643, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.003256/0.6676, allocations: 1.458 MB / 0.7254 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006057/0.6683, allocations: 220.2 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.6683, allocations: 0 / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.047e-05/0.6684, allocations: 3.938 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.6685, allocations: 7.922 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.6687, allocations: 15.98 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.6688, allocations: 67.78 kB / 0.7257 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.669, allocations: 12 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.669, allocations: 27.84 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.6691, allocations: 27.91 kB / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.6691, allocations: 4 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.6692, allocations: 4 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.6692, allocations: 11.94 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.6693, allocations: 23.92 kB / 0.7258 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.6694, allocations: 61.75 kB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6694, allocations: 0 / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6694, allocations: 0 / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.6694, allocations: 0 / 0.7259 GB, free: 11.14 MB / 0.545 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.0008469/0.6703, allocations: 371.4 kB / 0.7262 GB, free: 10.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.6703, allocations: 8.031 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.6704, allocations: 8.844 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.6705, allocations: 176.2 kB / 0.7264 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.6706, allocations: 8.312 kB / 0.7264 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.6706, allocations: 8.375 kB / 0.7264 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.6707, allocations: 50.23 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.6707, allocations: 4.188 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.6708, allocations: 7.938 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6708, allocations: 0 / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.6708, allocations: 27.92 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.6713, allocations: 276.9 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.6715, allocations: 54.44 kB / 0.7269 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.6715, allocations: 24.97 kB / 0.7269 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.6715, allocations: 4 kB / 0.7269 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.6717, allocations: 83.28 kB / 0.727 GB, free: 9.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.6717, allocations: 0 / 0.727 GB, free: 9.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002682/0.672, allocations: 101.6 kB / 0.7271 GB, free: 9.773 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.6721, allocations: 59.34 kB / 0.7271 GB, free: 9.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.6722, allocations: 121.8 kB / 0.7272 GB, free: 9.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.6722, allocations: 29.7 kB / 0.7273 GB, free: 9.539 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.6723, allocations: 95.98 kB / 0.7273 GB, free: 9.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.6723, allocations: 15.75 kB / 0.7274 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.6724, allocations: 37.64 kB / 0.7274 GB, free: 9.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6725, allocations: 310.8 kB / 0.7277 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.6726, allocations: 19.98 kB / 0.7277 GB, free: 9.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/0.6726, allocations: 56.28 kB / 0.7278 GB, free: 8.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.436e-05/0.6727, allocations: 72.16 kB / 0.7278 GB, free: 8.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6728, allocations: 0.75 kB / 0.7278 GB, free: 8.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001454/0.6729, allocations: 97.45 kB / 0.7279 GB, free: 8.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6729, allocations: 12.09 kB / 0.7279 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6729, allocations: 0 / 0.7279 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.673, allocations: 4 kB / 0.7279 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.673, allocations: 11.98 kB / 0.728 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.673, allocations: 7.938 kB / 0.728 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.6731, allocations: 7.984 kB / 0.728 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.6731, allocations: 7.938 kB / 0.728 GB, free: 8.742 MB / 0.545 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 (onCounter.y,$PRE.onCounter.y,$whenCondition4,$whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$whenCondition1,reset.pulseStart,$PRE.reset.pulseStart,reset.y,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.6733, allocations: 125.8 kB / 0.7281 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.6733, allocations: 7.906 kB / 0.7281 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.6734, allocations: 12.38 kB / 0.7281 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6734, allocations: 0 / 0.7281 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6734, allocations: 0 / 0.7281 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6734, allocations: 3.984 kB / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.6739, allocations: 378.5 kB / 0.7285 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6739, allocations: 0 / 0.7285 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.674, allocations: 7.938 kB / 0.7285 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.674, allocations: 0 / 0.7285 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.674, allocations: 4 kB / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.674, allocations: 0 / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.674, allocations: 0 / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.6742, allocations: 195.3 kB / 0.7287 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.6743, allocations: 81.02 kB / 0.7288 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.6743, allocations: 19.92 kB / 0.7288 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.6745, allocations: 11.98 kB / 0.7288 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.6745, allocations: 11.92 kB / 0.7288 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.6746, allocations: 4 kB / 0.7288 GB, free: 7.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001608/0.6747, allocations: 91.47 kB / 0.7289 GB, free: 7.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6747, allocations: 288 / 0.7289 GB, free: 7.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002378/0.675, allocations: 15.98 kB / 0.7289 GB, free: 7.691 MB / 0.545 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,reset.y,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001771/0.6752, allocations: 107.2 kB / 0.729 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.6753, allocations: 67.8 kB / 0.7291 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6753, allocations: 4 kB / 0.7291 GB, free: 7.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.6754, allocations: 27.98 kB / 0.7291 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.6757, allocations: 16.45 kB / 0.7291 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.6762, allocations: 186.7 kB / 0.7293 GB, free: 7.254 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.6765, allocations: 0.6885 MB / 0.73 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.6766, allocations: 8.938 kB / 0.73 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.6766, allocations: 15.44 kB / 0.73 GB, free: 6.516 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.6767, allocations: 0 / 0.73 GB, free: 6.516 MB / 0.545 GB Notification: Performance of Templates: time 0.003611/0.6803, allocations: 0.9802 MB / 0.731 GB, free: 5.543 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)