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 2.651/2.651, allocations: 287.9 MB / 302.9 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 177.1 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 0.6301 GB, free: 10.26 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 99.77 kB / 0.7434 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004596, allocations: 12.38 kB / 0.8662 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.222, allocations: 115.3 MB / 0.9788 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0006977/0.2227, allocations: 405.7 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.2241, allocations: 1.142 MB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.2242, allocations: 4 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.2242, allocations: 3.938 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.2243, allocations: 11.97 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.225, allocations: 187.1 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2251, allocations: 91.81 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/0.2252, allocations: 12 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.2253, allocations: 63.88 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.808e-05/0.2254, allocations: 43.88 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.2254, allocations: 8 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.341e-05/0.2255, allocations: 23.97 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.2256, allocations: 11.98 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.2256, allocations: 41.64 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.2258, allocations: 104 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.455e-06/0.2258, allocations: 0 / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.083e-06/0.2258, allocations: 0 / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.983e-06/0.2258, allocations: 4 kB / 0.9809 GB, free: 25.97 MB / 0.6198 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.0003628/0.2262, allocations: 416.8 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2262, allocations: 8.031 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.2263, allocations: 8 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.881e-05/0.2264, allocations: 174.9 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.2264, allocations: 8 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.2265, allocations: 15.94 kB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.2266, allocations: 57.61 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.541e-06/0.2266, allocations: 4 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2267, allocations: 4 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2267, allocations: 7.938 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.2267, allocations: 11.98 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.2272, allocations: 356.7 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/0.2273, allocations: 34.58 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.808e-06/0.2274, allocations: 3.938 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.2276, allocations: 95.34 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.658e-06/0.2276, allocations: 4 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003085/0.2279, allocations: 117.6 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2279, allocations: 63.34 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/0.228, allocations: 121.7 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.2281, allocations: 29.7 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.2282, allocations: 96.38 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.2282, allocations: 15.8 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.2282, allocations: 8 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.2283, allocations: 318.8 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2285, allocations: 63.95 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.2287, allocations: 107.7 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.2289, allocations: 123.4 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.088e-06/0.2289, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005443/0.2294, allocations: 272.8 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.2295, allocations: 75.33 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.479e-06/0.2295, allocations: 4.156 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2295, allocations: 4 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.2296, allocations: 7.984 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.752e-06/0.2296, allocations: 7.953 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.23, allocations: 75.78 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.2301, allocations: 23.92 kB / 0.9835 GB, free: 23 MB / 0.6198 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.0001013/0.2302, allocations: 121.8 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.2302, allocations: 8.281 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.2303, allocations: 8.375 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2303, allocations: 8 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.436e-06/0.2303, allocations: 3.984 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2303, allocations: 7.891 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.2307, allocations: 354.5 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.115e-06/0.2307, allocations: 4 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.2307, allocations: 0 / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.872e-06/0.2307, allocations: 0 / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2308, allocations: 7.984 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.2308, allocations: 0 / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.769e-06/0.2308, allocations: 7.953 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.231, allocations: 191.5 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.2311, allocations: 85.02 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.2311, allocations: 4 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.2312, allocations: 3.984 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.2312, allocations: 7.953 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.2313, allocations: 7.984 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.2313, allocations: 95.77 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.79e-07/0.2313, allocations: 0 / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003856/0.2317, allocations: 35.98 kB / 0.9844 GB, free: 21.96 MB / 0.6198 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * 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.0001429/0.2319, allocations: 111.2 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.2323, allocations: 254.9 kB / 0.9847 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2323, allocations: 0 / 0.9847 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.2324, allocations: 36.23 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2326, allocations: 21.55 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.233, allocations: 187 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.2331, allocations: 0.6926 MB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.2332, allocations: 16.73 kB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.2332, allocations: 11.44 kB / 0.9857 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of SimCode: time 1.653e-06/0.2332, allocations: 0 / 0.9857 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.004819/0.2381, allocations: 1.739 MB / 0.9874 GB, free: 18.84 MB / 0.6198 GB