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.025/5.025, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 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.003857/0.003857, allocations: 362.5 kB / 0.644 GB, free: 185.6 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.306/4.306, allocations: 410.7 MB / 1.112 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001802/0.001801, allocations: 199 kB / 1.225 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004928, allocations: 16 kB / 1.348 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5889/0.5894, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0007225/0.5902, allocations: 406.6 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.5915, allocations: 1.14 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.5916, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.5916, allocations: 0.8125 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.5917, allocations: 7.922 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.5924, allocations: 203.5 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.5925, allocations: 139.7 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.5926, allocations: 4.719 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.5927, allocations: 63.88 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.5928, allocations: 49.47 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.5929, allocations: 8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.5929, allocations: 23.97 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.593, allocations: 15.92 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.593, allocations: 34.48 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.5932, allocations: 105.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.141e-06/0.5932, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.968e-06/0.5932, allocations: 1.188 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5932, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 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.0003801/0.5936, allocations: 407.2 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5937, allocations: 16.16 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.5937, allocations: 11.91 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.779e-05/0.5938, allocations: 179.2 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.5939, allocations: 11.94 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.5939, allocations: 8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.5941, allocations: 54.98 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.497e-06/0.5941, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5941, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-06/0.5941, allocations: 3.938 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.5942, allocations: 16.48 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.5947, allocations: 357.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.12e-05/0.5948, allocations: 47.75 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.5948, allocations: 14.48 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.724e-06/0.5949, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.5951, allocations: 93.95 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 3.154e-06/0.5951, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003116/0.5954, allocations: 129.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.5954, allocations: 55.34 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.5955, allocations: 125.7 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.5956, allocations: 30.67 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.5956, allocations: 88.38 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.5957, allocations: 24.52 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.5957, allocations: 8 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.5958, allocations: 315.9 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.596, allocations: 63.95 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.5962, allocations: 111.6 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.5963, allocations: 117.1 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-06/0.5964, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005402/0.5969, allocations: 282.7 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.597, allocations: 67.95 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.638e-06/0.597, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.597, allocations: 5.031 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.532e-05/0.5971, allocations: 11.92 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.5971, allocations: 8.953 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/0.5976, allocations: 77.16 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.5976, allocations: 19.98 kB / 1.466 GB, free: 279.2 MB / 0.8542 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.0001067/0.5977, allocations: 121.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.5978, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.5978, allocations: 16.86 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-06/0.5978, allocations: 2.562 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5978, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.834e-06/0.5979, allocations: 3.953 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.5982, allocations: 354.5 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-06/0.5982, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.5982, allocations: 5.438 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.154e-06/0.5983, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5983, allocations: 7.984 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.272e-06/0.5983, allocations: 11.89 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-06/0.5983, allocations: 1.719 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.5985, allocations: 195.4 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.5985, allocations: 81.52 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.5986, allocations: 11.98 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.5987, allocations: 0.5312 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.5987, allocations: 8.547 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.5988, allocations: 8.609 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.5988, allocations: 87.94 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.92e-07/0.5988, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003815/0.5992, allocations: 37.3 kB / 1.466 GB, free: 278.2 MB / 0.8542 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.0001326/0.5994, allocations: 104.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.5998, allocations: 258.8 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.662e-06/0.5998, allocations: 0.5312 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.5999, allocations: 32.89 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.6003, allocations: 18.39 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.6006, allocations: 189.9 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.6008, allocations: 0.6997 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.6008, allocations: 10.33 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.6009, allocations: 11.44 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.513e-06/0.6009, allocations: 0 / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.004885/0.6058, allocations: 1.745 MB / 1.469 GB, free: 275.2 MB / 0.8542 GB