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.002117/0.002116, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002337/0.002337, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.892/1.892, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.697/1.697, allocations: 251.7 MB / 0.5092 GB, free: 3.098 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.001766/0.001767, allocations: 67.91 kB / 0.6223 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6923/0.694, allocations: 104.7 MB / 0.7245 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002993/0.6971, allocations: 1.386 MB / 0.7259 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005227/0.6976, allocations: 224.2 kB / 0.7261 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.013e-05/0.6977, allocations: 0 / 0.7261 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.6977, allocations: 11.92 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.6979, allocations: 7.875 kB / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.6981, allocations: 23.97 kB / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.6982, allocations: 67.72 kB / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.6984, allocations: 11.97 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.6985, allocations: 23.94 kB / 0.7262 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.6985, allocations: 23.91 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.6986, allocations: 4 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.6986, allocations: 12 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.6986, allocations: 11.92 kB / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.6987, allocations: 23.92 kB / 0.7263 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.6988, allocations: 61.75 kB / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6988, allocations: 0 / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6988, allocations: 0 / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.6989, allocations: 0 / 0.7264 GB, free: 11 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.0007861/0.6996, allocations: 367.4 kB / 0.7267 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.6997, allocations: 12.03 kB / 0.7267 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.6998, allocations: 12.84 kB / 0.7267 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.6999, allocations: 180.1 kB / 0.7269 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.7, allocations: 384 / 0.7269 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.7, allocations: 8.375 kB / 0.7269 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.7001, allocations: 54.22 kB / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.7001, allocations: 192 / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.7002, allocations: 7.938 kB / 0.727 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.7002, allocations: 0 / 0.727 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.354e-05/0.7003, allocations: 19.98 kB / 0.727 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.7008, allocations: 284.8 kB / 0.7273 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.7009, allocations: 50.52 kB / 0.7273 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.701, allocations: 20.97 kB / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.701, allocations: 0 / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.7012, allocations: 87.22 kB / 0.7274 GB, free: 9.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.7012, allocations: 0 / 0.7274 GB, free: 9.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002953/0.7015, allocations: 105.6 kB / 0.7275 GB, free: 9.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.7016, allocations: 55.41 kB / 0.7276 GB, free: 9.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.7017, allocations: 122.1 kB / 0.7277 GB, free: 9.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.7017, allocations: 33.64 kB / 0.7277 GB, free: 9.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.7018, allocations: 92.38 kB / 0.7278 GB, free: 9.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.7018, allocations: 23.81 kB / 0.7278 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.7019, allocations: 33.7 kB / 0.7279 GB, free: 9.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.702, allocations: 310.8 kB / 0.7282 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.7021, allocations: 27.92 kB / 0.7282 GB, free: 8.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.7021, allocations: 48.28 kB / 0.7282 GB, free: 8.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.7022, allocations: 76.16 kB / 0.7283 GB, free: 8.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7022, allocations: 7.938 kB / 0.7283 GB, free: 8.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001332/0.7024, allocations: 97.61 kB / 0.7284 GB, free: 8.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7024, allocations: 5.719 kB / 0.7284 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7024, allocations: 7.969 kB / 0.7284 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.7024, allocations: 4 kB / 0.7284 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.7025, allocations: 11.94 kB / 0.7284 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7025, allocations: 8.094 kB / 0.7284 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.7026, allocations: 11.98 kB / 0.7285 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.7026, allocations: 4 kB / 0.7285 GB, free: 8.598 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 9.858e-05/0.7027, allocations: 117.8 kB / 0.7286 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.7028, allocations: 7.906 kB / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.7028, allocations: 16.36 kB / 0.7286 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7028, allocations: 0 / 0.7286 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.7028, allocations: 0 / 0.7286 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7028, allocations: 8 kB / 0.7286 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.7033, allocations: 374.4 kB / 0.729 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7033, allocations: 0 / 0.729 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.7034, allocations: 4 kB / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7034, allocations: 0 / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.7034, allocations: 0 / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7034, allocations: 0 / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7034, allocations: 7.922 kB / 0.729 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.7037, allocations: 191.3 kB / 0.7292 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.7037, allocations: 89 kB / 0.7292 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.7038, allocations: 0 / 0.7292 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.7039, allocations: 12.17 kB / 0.7293 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.704, allocations: 11.92 kB / 0.7293 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.704, allocations: 7.938 kB / 0.7293 GB, free: 7.668 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.7041, allocations: 99.27 kB / 0.7294 GB, free: 7.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7041, allocations: 0 / 0.7294 GB, free: 7.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002429/0.7043, allocations: 12 kB / 0.7294 GB, free: 7.559 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.0001732/0.7045, allocations: 111.1 kB / 0.7295 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.7047, allocations: 63.91 kB / 0.7295 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7047, allocations: 0 / 0.7295 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.7048, allocations: 27.94 kB / 0.7296 GB, free: 7.352 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.7051, allocations: 20.17 kB / 0.7296 GB, free: 7.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.7055, allocations: 174.6 kB / 0.7298 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.7059, allocations: 0.6846 MB / 0.7304 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.7059, allocations: 12.66 kB / 0.7304 GB, free: 6.406 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.706, allocations: 11.44 kB / 0.7304 GB, free: 6.395 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.706, allocations: 4 kB / 0.7305 GB, free: 6.391 MB / 0.545 GB Notification: Performance of Templates: time 0.003779/0.7098, allocations: 1.063 MB / 0.7315 GB, free: 5.34 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)