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.001432/0.001432, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001654/0.001654, allocations: 184 kB / 17.22 MB, free: 5.934 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.612/1.612, allocations: 205.1 MB / 223.1 MB, free: 12.31 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 1.882/1.882, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001558/0.001558, allocations: 75.89 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3009, allocations: 114.5 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002322/0.3033, allocations: 0.6933 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.3049, allocations: 1.199 MB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.305, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.3051, allocations: 3.938 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.3051, allocations: 7.922 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.3059, allocations: 221.5 kB / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.3062, allocations: 187.7 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3063, allocations: 15.97 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3064, allocations: 67.89 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.3066, allocations: 63.84 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.3066, allocations: 16 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3068, allocations: 31.98 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.3068, allocations: 15.92 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.677e-05/0.3069, allocations: 63.81 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.3072, allocations: 155.8 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3072, allocations: 0 / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3072, allocations: 0 / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3072, allocations: 0 / 0.7867 GB, free: 1.121 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006713/0.3079, allocations: 442.7 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3079, allocations: 8.031 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.308, allocations: 8.938 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3081, allocations: 176.2 kB / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3082, allocations: 4.375 kB / 0.7874 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.3082, allocations: 12.38 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3084, allocations: 50.23 kB / 0.7874 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3084, allocations: 192 / 0.7874 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3084, allocations: 3.938 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3084, allocations: 4 kB / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.323e-05/0.3085, allocations: 19.86 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4986/0.8071, allocations: 350.5 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.8072, allocations: 42.72 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.8073, allocations: 16.02 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.8073, allocations: 2.438 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.8075, allocations: 93.77 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.8075, allocations: 0 / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003251/0.8079, allocations: 125.2 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.8079, allocations: 54.03 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.808, allocations: 124.5 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.8081, allocations: 31.08 kB / 0.7882 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.8081, allocations: 98.36 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.8081, allocations: 15.25 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/0.8083, allocations: 55.44 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.8083, allocations: 318.9 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.8085, allocations: 63.05 kB / 0.7888 GB, free: 48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.8086, allocations: 109.9 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.8088, allocations: 186 kB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8088, allocations: 0 / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004296/0.8093, allocations: 285.5 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/0.8094, allocations: 76.45 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8094, allocations: 2.844 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8094, allocations: 2.719 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.8095, allocations: 7.719 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8095, allocations: 5.578 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.8098, allocations: 57.23 kB / 0.7895 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.8098, allocations: 12.97 kB / 0.7895 GB, free: 47.67 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 0.0001031/0.8099, allocations: 126.6 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.81, allocations: 11.78 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.81, allocations: 12.09 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.81, allocations: 0 / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.81, allocations: 2.781 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.81, allocations: 3.188 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.8103, allocations: 356 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.8103, allocations: 0 / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.8103, allocations: 12.38 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8104, allocations: 1.719 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.8104, allocations: 0 / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8104, allocations: 2.875 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8104, allocations: 0 / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.8105, allocations: 207.8 kB / 0.7902 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.8106, allocations: 84.3 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.8106, allocations: 5.859 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.8107, allocations: 4.5 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.8107, allocations: 5.25 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.8107, allocations: 9.312 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.8108, allocations: 89.97 kB / 0.7904 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8108, allocations: 0 / 0.7904 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002709/0.8111, allocations: 38 kB / 0.7904 GB, free: 46.94 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * 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.0001668/0.8112, allocations: 105.3 kB / 0.7905 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.8116, allocations: 260.1 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8116, allocations: 0.5625 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.8116, allocations: 37.2 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.8119, allocations: 18.2 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.8123, allocations: 167.3 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.8124, allocations: 0.6921 MB / 0.7916 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.8124, allocations: 4.484 kB / 0.7916 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.8125, allocations: 12.53 kB / 0.7917 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.8125, allocations: 0 / 0.7917 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.004927/0.8174, allocations: 1.922 MB / 0.7935 GB, free: 45.83 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)