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.007318/0.007318, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001244/0.001244, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.675/1.675, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.728/1.728, allocations: 251.7 MB / 0.5094 GB, free: 3.062 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.001387/0.001386, allocations: 67.91 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3032, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.003173/0.3065, allocations: 1.394 MB / 0.8294 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000714/0.3072, allocations: 220.6 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.3073, allocations: 0 / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.3073, allocations: 3.938 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.917e-05/0.3074, allocations: 11.86 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.3076, allocations: 19.97 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3078, allocations: 71.72 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3079, allocations: 12 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.308, allocations: 19.92 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.3081, allocations: 27.91 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3081, allocations: 4 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.3081, allocations: 4 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.3081, allocations: 19.91 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.3082, allocations: 19.94 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.3084, allocations: 63.72 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3084, allocations: 3.938 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3084, allocations: 0 / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3084, allocations: 4 kB / 0.8299 GB, free: 14.27 MB / 0.6544 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.0007236/0.3091, allocations: 367.3 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3092, allocations: 8.031 kB / 0.8303 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3092, allocations: 12.83 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3094, allocations: 176.2 kB / 0.8304 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3094, allocations: 8.375 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3095, allocations: 4.375 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3096, allocations: 58.23 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3096, allocations: 192 / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3096, allocations: 3.938 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3097, allocations: 0 / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/0.3097, allocations: 23.92 kB / 0.8305 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.3102, allocations: 272.9 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3104, allocations: 54.5 kB / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.3104, allocations: 24.97 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.3105, allocations: 4 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.3107, allocations: 87.22 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3107, allocations: 0 / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.000295/0.311, allocations: 101.6 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.311, allocations: 55.41 kB / 0.8311 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3112, allocations: 134 kB / 0.8312 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3112, allocations: 25.7 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.3113, allocations: 100 kB / 0.8313 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.3113, allocations: 11.81 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.3114, allocations: 33.7 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3116, allocations: 314.8 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.3116, allocations: 15.98 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.3117, allocations: 56.28 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.3118, allocations: 72.11 kB / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3118, allocations: 0 / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001548/0.312, allocations: 101.5 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.312, allocations: 12.09 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.312, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3121, allocations: 4 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.3121, allocations: 11.92 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.3121, allocations: 7.984 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.3122, allocations: 7.984 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3123, allocations: 4 kB / 0.832 GB, free: 11.88 MB / 0.6544 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 0.0001229/0.3124, allocations: 131.5 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.3124, allocations: 7.906 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.3125, allocations: 12.38 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3125, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3125, allocations: 7.922 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3125, allocations: 0 / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.313, allocations: 374.4 kB / 0.8325 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.313, allocations: 0 / 0.8325 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-06/0.3131, allocations: 0 / 0.8325 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3131, allocations: 4 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3131, allocations: 4 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3131, allocations: 3.938 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3131, allocations: 0 / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.3133, allocations: 195.7 kB / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.3134, allocations: 81.02 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3134, allocations: 11.98 kB / 0.8328 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3135, allocations: 11.98 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.3136, allocations: 15.92 kB / 0.8328 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3136, allocations: 8 kB / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.342e-05/0.3137, allocations: 91.27 kB / 0.8329 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3137, allocations: 0 / 0.8329 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002294/0.3139, allocations: 12 kB / 0.8329 GB, free: 10.83 MB / 0.6544 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.0001812/0.3141, allocations: 107.2 kB / 0.833 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.3143, allocations: 55.92 kB / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3143, allocations: 0 / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.3144, allocations: 35.91 kB / 0.8331 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.3147, allocations: 18.39 kB / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.3151, allocations: 177.7 kB / 0.8333 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.3154, allocations: 0.6969 MB / 0.834 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.3155, allocations: 8.656 kB / 0.834 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.3155, allocations: 11.44 kB / 0.834 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.3155, allocations: 0 / 0.834 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of Templates: time 0.003512/0.319, allocations: 1.058 MB / 0.835 GB, free: 8.621 MB / 0.6544 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)