Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.531/5.531, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002573/0.002573, allocations: 355.1 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.356/4.356, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001741/0.00174, allocations: 187.9 kB / 1.226 GB, free: 35.99 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005077, allocations: 16.69 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2173, allocations: 115.3 MB / 1.461 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0009521/0.2183, allocations: 405.7 kB / 1.462 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.22, allocations: 1.138 MB / 1.463 GB, free: 5.059 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.2201, allocations: 0 / 1.463 GB, free: 5.059 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.2201, allocations: 3.938 kB / 1.463 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/0.2202, allocations: 11.94 kB / 1.463 GB, free: 5.043 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.2211, allocations: 194.8 kB / 1.463 GB, free: 4.859 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.2213, allocations: 135.7 kB / 1.463 GB, free: 4.727 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2214, allocations: 15.98 kB / 1.463 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.2215, allocations: 51.89 kB / 1.463 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2216, allocations: 55.8 kB / 1.463 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.2217, allocations: 12 kB / 1.463 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.2218, allocations: 23.98 kB / 1.463 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.2218, allocations: 7.984 kB / 1.463 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.2219, allocations: 45.64 kB / 1.463 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.2221, allocations: 104 kB / 1.463 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2221, allocations: 0 / 1.463 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2221, allocations: 0 / 1.463 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2221, allocations: 0 / 1.463 GB, free: 4.41 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004647/0.2226, allocations: 410.5 kB / 1.464 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2227, allocations: 12.03 kB / 1.464 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.2227, allocations: 11.98 kB / 1.464 GB, free: 3.926 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.565e-05/0.2228, allocations: 170.9 kB / 1.464 GB, free: 3.719 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.2229, allocations: 4 kB / 1.464 GB, free: 3.715 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.2229, allocations: 16 kB / 1.464 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2231, allocations: 45.67 kB / 1.464 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2231, allocations: 0 / 1.464 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2231, allocations: 3.938 kB / 1.464 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2232, allocations: 4 kB / 1.464 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.392e-05/0.2232, allocations: 15.92 kB / 1.464 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.2238, allocations: 364.7 kB / 1.464 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.2239, allocations: 38.56 kB / 1.465 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.224, allocations: 20.94 kB / 1.465 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.224, allocations: 0 / 1.465 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.2243, allocations: 103.1 kB / 1.465 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.2243, allocations: 0 / 1.465 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003595/0.2246, allocations: 121.6 kB / 1.465 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.2247, allocations: 55.39 kB / 1.465 GB, free: 2.844 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.2248, allocations: 121.8 kB / 1.465 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.2248, allocations: 33.7 kB / 1.465 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.2249, allocations: 92.36 kB / 1.465 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.225, allocations: 15.81 kB / 1.465 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.225, allocations: 4 kB / 1.465 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.2251, allocations: 322.8 kB / 1.465 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.2253, allocations: 59.97 kB / 1.465 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.2255, allocations: 118.3 kB / 1.466 GB, free: 2.039 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.2258, allocations: 115.4 kB / 1.466 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2258, allocations: 4 kB / 1.466 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006668/0.2264, allocations: 276.9 kB / 1.466 GB, free: 1.621 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.2265, allocations: 71.39 kB / 1.466 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.2265, allocations: 3.984 kB / 1.466 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.2266, allocations: 7.984 kB / 1.466 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.2267, allocations: 7.938 kB / 1.466 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2267, allocations: 8.109 kB / 1.466 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.2274, allocations: 83.78 kB / 1.466 GB, free: 1.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.2275, allocations: 15.98 kB / 1.466 GB, free: 1.414 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001605/0.2276, allocations: 127.4 kB / 1.466 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.2277, allocations: 11.84 kB / 1.466 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.2277, allocations: 12.36 kB / 1.466 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2277, allocations: 0 / 1.466 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2277, allocations: 0 / 1.466 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.2278, allocations: 85.06 kB / 1.466 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.2278, allocations: 4 kB / 1.466 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.2279, allocations: 384 / 1.466 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.2279, allocations: 7.984 kB / 1.466 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003085/0.2283, allocations: 184.8 kB / 1.467 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003231/0.2286, allocations: 270.7 kB / 1.467 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.351e-05/0.2287, allocations: 31.94 kB / 1.467 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.236e-05/0.2288, allocations: 99.31 kB / 1.467 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of Backend: time 1.122e-06/0.2288, allocations: 0 / 1.467 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009319/0.2297, allocations: 317.1 kB / 1.467 GB, free: 212 kB / 0.6042 GB Notification: Performance of SimCode: time 0.0007968/0.2306, allocations: 0.6213 MB / 1.468 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.008186/0.2388, allocations: 1.781 MB / 1.47 GB, free: 13.79 MB / 0.6198 GB