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.001045/0.001045, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001304/0.001304, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.635/1.635, allocations: 251.9 MB / 0.51 GB, free: 4.84 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.0006019/0.0006021, allocations: 19.06 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6759, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002401/0.6784, allocations: 1.096 MB / 0.7291 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006683/0.6791, allocations: 220.3 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.6792, allocations: 0 / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.6792, allocations: 7.938 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.6793, allocations: 3.984 kB / 0.7293 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.6796, allocations: 23.92 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.6798, allocations: 39.88 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.6799, allocations: 8 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.946e-05/0.68, allocations: 19.97 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.6801, allocations: 23.86 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.6802, allocations: 0 / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.162e-05/0.6802, allocations: 4 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.6802, allocations: 15.98 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.6803, allocations: 33.64 kB / 0.7294 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.6805, allocations: 41.88 kB / 0.7295 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6805, allocations: 0 / 0.7295 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.687e-06/0.6805, allocations: 0 / 0.7295 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.6805, allocations: 0 / 0.7295 GB, free: 9.922 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.0009221/0.6814, allocations: 371.2 kB / 0.7298 GB, free: 9.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.6815, allocations: 8.031 kB / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.6816, allocations: 7.906 kB / 0.7298 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.6818, allocations: 183 kB / 0.73 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.6818, allocations: 4 kB / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.6818, allocations: 0 / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.682, allocations: 53.67 kB / 0.7301 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6821, allocations: 0 / 0.7301 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.6821, allocations: 3.984 kB / 0.7301 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.6821, allocations: 8 kB / 0.7301 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.59e-05/0.6822, allocations: 19.94 kB / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.6828, allocations: 284.8 kB / 0.7304 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.6829, allocations: 42.56 kB / 0.7304 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.683, allocations: 0 / 0.7304 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.6833, allocations: 103.3 kB / 0.7305 GB, free: 8.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.6833, allocations: 0 / 0.7305 GB, free: 8.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003798/0.6837, allocations: 109.5 kB / 0.7306 GB, free: 8.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.6837, allocations: 59.36 kB / 0.7307 GB, free: 8.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.6839, allocations: 113.8 kB / 0.7308 GB, free: 8.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.6839, allocations: 33.69 kB / 0.7308 GB, free: 8.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.684, allocations: 88 kB / 0.7309 GB, free: 8.258 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.6841, allocations: 23.75 kB / 0.7309 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.6841, allocations: 4 kB / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6842, allocations: 318.8 kB / 0.7312 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.6843, allocations: 16 kB / 0.7312 GB, free: 7.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.6844, allocations: 52.22 kB / 0.7313 GB, free: 7.828 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.6844, allocations: 20 kB / 0.7313 GB, free: 7.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6844, allocations: 0 / 0.7313 GB, free: 7.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001432/0.6846, allocations: 97.45 kB / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6846, allocations: 8 kB / 0.7314 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6846, allocations: 0 / 0.7314 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.6846, allocations: 4 kB / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.6847, allocations: 11.98 kB / 0.7314 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.6847, allocations: 7.953 kB / 0.7314 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.6848, allocations: 16.08 kB / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.6849, allocations: 4 kB / 0.7315 GB, free: 7.656 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 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,reset.y,$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.000114/0.685, allocations: 125.8 kB / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.685, allocations: 4.656 kB / 0.7316 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.685, allocations: 16.36 kB / 0.7316 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.685, allocations: 0 / 0.7316 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6851, allocations: 0 / 0.7316 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.6851, allocations: 3.953 kB / 0.7316 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.6856, allocations: 394.3 kB / 0.732 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6856, allocations: 3.938 kB / 0.732 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-06/0.6856, allocations: 0 / 0.732 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6856, allocations: 96 / 0.732 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.6856, allocations: 11.95 kB / 0.732 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6856, allocations: 0 / 0.732 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6856, allocations: 3.984 kB / 0.732 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.6858, allocations: 179.5 kB / 0.7322 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.6859, allocations: 89 kB / 0.7323 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.6859, allocations: 0 / 0.7323 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.686, allocations: 31.94 kB / 0.7323 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.6861, allocations: 7.984 kB / 0.7323 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.6861, allocations: 4 kB / 0.7323 GB, free: 6.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.224e-05/0.6862, allocations: 95.2 kB / 0.7324 GB, free: 6.605 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6862, allocations: 0 / 0.7324 GB, free: 6.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002322/0.6864, allocations: 16 kB / 0.7324 GB, free: 6.59 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 (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.0001696/0.6866, allocations: 101.5 kB / 0.7325 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.6868, allocations: 63.91 kB / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6868, allocations: 0 / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.6869, allocations: 28.41 kB / 0.7326 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.6872, allocations: 24.27 kB / 0.7326 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.6877, allocations: 183.4 kB / 0.7328 GB, free: 6.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.6881, allocations: 0.6887 MB / 0.7335 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.601e-05/0.6881, allocations: 8.656 kB / 0.7335 GB, free: 5.438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.6882, allocations: 11.44 kB / 0.7335 GB, free: 5.426 MB / 0.545 GB Notification: Performance of SimCode: time 2.093e-06/0.6882, allocations: 0 / 0.7335 GB, free: 5.426 MB / 0.545 GB Notification: Performance of Templates: time 0.003713/0.6919, allocations: 0.8933 MB / 0.7343 GB, free: 4.543 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: