Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001216/0.001216, allocations: 104.9 kB / 16.36 MB, free: 6.258 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.001358/0.001358, allocations: 190.5 kB / 17.3 MB, free: 5.848 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.566/1.566, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.001/2.001, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.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.001553/0.001553, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2448, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001925/0.2468, allocations: 0.6895 MB / 0.7855 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2482, allocations: 1.191 MB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.2483, allocations: 0 / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.2483, allocations: 7.938 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.2484, allocations: 19.84 kB / 0.7867 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.2491, allocations: 221.2 kB / 0.7869 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.2493, allocations: 183.8 kB / 0.7871 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.2494, allocations: 19.98 kB / 0.7871 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.2495, allocations: 67.88 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2497, allocations: 71.77 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.2497, allocations: 16 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-05/0.2498, allocations: 35.92 kB / 0.7873 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.2498, allocations: 4 kB / 0.7873 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.2499, allocations: 59.81 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.2501, allocations: 159.6 kB / 0.7875 GB, free: 460 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2501, allocations: 0 / 0.7875 GB, free: 460 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2501, allocations: 3.938 kB / 0.7875 GB, free: 456 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.2502, allocations: 4 kB / 0.7875 GB, free: 452 kB / 0.6544 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.4666/0.7167, allocations: 437.7 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.7168, allocations: 9.906 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.7169, allocations: 8.719 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.717, allocations: 170.7 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.717, allocations: 10.42 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.7171, allocations: 8.594 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.7172, allocations: 53.19 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7172, allocations: 192 / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.7173, allocations: 3.938 kB / 0.7881 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.7173, allocations: 4.938 kB / 0.7881 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.7173, allocations: 11.55 kB / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.7179, allocations: 355 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.718, allocations: 42.23 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.7181, allocations: 16.53 kB / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.7181, allocations: 0 / 0.7886 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.7183, allocations: 96.94 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.7183, allocations: 0 / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003004/0.7187, allocations: 130.7 kB / 0.7888 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.7187, allocations: 54.09 kB / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.7188, allocations: 118.8 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.7188, allocations: 31.64 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.7189, allocations: 95.11 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.7189, allocations: 22.14 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.719, allocations: 51.19 kB / 0.7891 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.7191, allocations: 320.6 kB / 0.7894 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.7193, allocations: 63.55 kB / 0.7895 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.7194, allocations: 114 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.7196, allocations: 182 kB / 0.7898 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7196, allocations: 6.562 kB / 0.7898 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003862/0.72, allocations: 282.2 kB / 0.7901 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.7201, allocations: 67.59 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7201, allocations: 2.016 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7201, allocations: 2.656 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.7202, allocations: 8.578 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7202, allocations: 5.656 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.7205, allocations: 57.97 kB / 0.7902 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.7206, allocations: 11.86 kB / 0.7902 GB, free: 47.19 MB / 0.6544 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 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/0.7207, allocations: 128.9 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.7207, allocations: 9.719 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.7207, allocations: 10.94 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7208, allocations: 2.625 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7208, allocations: 0 / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.7208, allocations: 83.64 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.7208, allocations: 5.578 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.7208, allocations: 6.703 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.7209, allocations: 9.703 kB / 0.7904 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001767/0.7211, allocations: 178.6 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001799/0.7213, allocations: 283.2 kB / 0.7909 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.691e-05/0.7213, allocations: 26.95 kB / 0.7909 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.7214, allocations: 92.3 kB / 0.791 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of Backend: time 4.61e-07/0.7214, allocations: 1.469 kB / 0.791 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005993/0.722, allocations: 323.4 kB / 0.7913 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004681/0.7225, allocations: 0.602 MB / 0.7919 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.004966/0.7274, allocations: 1.961 MB / 0.7938 GB, free: 45.74 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)