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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001606/0.001606, allocations: 194.2 kB / 16.13 MB, free: 6.656 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.635/1.635, allocations: 205.1 MB / 222 MB, free: 4.742 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.735/1.735, allocations: 251.7 MB / 0.5088 GB, free: 3.316 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.001988/0.001988, allocations: 63.91 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7115/0.7135, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002955/0.7165, allocations: 1.455 MB / 0.7252 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004632/0.717, allocations: 216.2 kB / 0.7254 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.7171, allocations: 4 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.7171, allocations: 3.938 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.7172, allocations: 7.922 kB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.7174, allocations: 19.97 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.7175, allocations: 63.72 kB / 0.7255 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.7176, allocations: 16 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.7177, allocations: 19.92 kB / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.7178, allocations: 15.92 kB / 0.7256 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.7178, allocations: 4 kB / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.7178, allocations: 4 kB / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.7178, allocations: 15.92 kB / 0.7256 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.7179, allocations: 23.91 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.718, allocations: 53.77 kB / 0.7257 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.718, allocations: 4 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.41e-07/0.718, allocations: 4 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.718, allocations: 0 / 0.7257 GB, free: 11.21 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.0005905/0.7186, allocations: 371.3 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.7187, allocations: 8.031 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.7187, allocations: 8.844 kB / 0.7261 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.7189, allocations: 180.2 kB / 0.7262 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.7189, allocations: 4.375 kB / 0.7262 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.7189, allocations: 4.375 kB / 0.7262 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.7191, allocations: 58.23 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.7191, allocations: 192 / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.7191, allocations: 7.922 kB / 0.7263 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.7191, allocations: 0 / 0.7263 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.97e-05/0.7192, allocations: 19.94 kB / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.7196, allocations: 284.9 kB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.7197, allocations: 50.5 kB / 0.7266 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.7198, allocations: 20.97 kB / 0.7267 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.7198, allocations: 0 / 0.7267 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.72, allocations: 87.22 kB / 0.7268 GB, free: 9.961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.72, allocations: 0 / 0.7268 GB, free: 9.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002613/0.7203, allocations: 105.6 kB / 0.7269 GB, free: 9.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.7203, allocations: 63.39 kB / 0.7269 GB, free: 9.777 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.7205, allocations: 118.1 kB / 0.727 GB, free: 9.652 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.7205, allocations: 29.7 kB / 0.7271 GB, free: 9.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.7205, allocations: 92.31 kB / 0.7271 GB, free: 9.523 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.7206, allocations: 27.8 kB / 0.7272 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.7206, allocations: 25.72 kB / 0.7272 GB, free: 9.465 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7208, allocations: 322.8 kB / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.7208, allocations: 15.94 kB / 0.7275 GB, free: 9.125 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.7209, allocations: 56.22 kB / 0.7276 GB, free: 9.055 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.721, allocations: 80.16 kB / 0.7276 GB, free: 8.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.721, allocations: 0 / 0.7276 GB, free: 8.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001401/0.7211, allocations: 101.5 kB / 0.7277 GB, free: 8.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7212, allocations: 4 kB / 0.7277 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7212, allocations: 4 kB / 0.7278 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7212, allocations: 0 / 0.7278 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.7212, allocations: 11.94 kB / 0.7278 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.7213, allocations: 0 / 0.7278 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.7214, allocations: 11.98 kB / 0.7278 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.7214, allocations: 8 kB / 0.7278 GB, free: 8.816 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.812e-05/0.7215, allocations: 128.5 kB / 0.7279 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.7215, allocations: 7.906 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.7215, allocations: 8.375 kB / 0.7279 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.7216, allocations: 7.938 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7216, allocations: 0 / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7216, allocations: 0 / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.7221, allocations: 370.4 kB / 0.7283 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7221, allocations: 4 kB / 0.7283 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-05/0.7221, allocations: 4 kB / 0.7283 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7221, allocations: 3.984 kB / 0.7283 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.7221, allocations: 0 / 0.7283 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7221, allocations: 0 / 0.7283 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7221, allocations: 4 kB / 0.7283 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.7223, allocations: 195.2 kB / 0.7285 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.7224, allocations: 89.02 kB / 0.7286 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.7224, allocations: 4 kB / 0.7286 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.7225, allocations: 8.172 kB / 0.7286 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.7226, allocations: 20 kB / 0.7286 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.7226, allocations: 7.938 kB / 0.7286 GB, free: 7.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.7227, allocations: 91.27 kB / 0.7287 GB, free: 7.785 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7227, allocations: 4 kB / 0.7287 GB, free: 7.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002214/0.7229, allocations: 12 kB / 0.7287 GB, free: 7.77 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.000138/0.7231, allocations: 115.1 kB / 0.7288 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.7232, allocations: 55.92 kB / 0.7289 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7232, allocations: 0 / 0.7289 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.7233, allocations: 31.92 kB / 0.7289 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.7236, allocations: 15.98 kB / 0.7289 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.724, allocations: 187.1 kB / 0.7291 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.7243, allocations: 0.6848 MB / 0.7298 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.7244, allocations: 8.672 kB / 0.7298 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.7244, allocations: 11.44 kB / 0.7298 GB, free: 6.605 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.7244, allocations: 0 / 0.7298 GB, free: 6.605 MB / 0.545 GB Notification: Performance of Templates: time 0.003352/0.7278, allocations: 0.9352 MB / 0.7307 GB, free: 5.68 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)