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.001615/0.001615, allocations: 102 kB / 16.27 MB, free: 6.414 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.001472/0.001471, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.448/1.448, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.803/1.803, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.002297/0.002297, allocations: 67.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2609, allocations: 114.5 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002657/0.2637, allocations: 0.6861 MB / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.2657, allocations: 1.188 MB / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.2658, allocations: 3.938 kB / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.2658, allocations: 7.922 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.484e-05/0.266, allocations: 15.86 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008072/0.2668, allocations: 213.7 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.2671, allocations: 187.8 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2672, allocations: 4 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.2673, allocations: 79.81 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2675, allocations: 47.88 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.2675, allocations: 19.98 kB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.2676, allocations: 35.98 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.2677, allocations: 11.92 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2678, allocations: 63.81 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.268, allocations: 151.8 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.268, allocations: 3.984 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2681, allocations: 0 / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2681, allocations: 0 / 0.7867 GB, free: 1.164 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.0007235/0.2688, allocations: 434.7 kB / 0.7871 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.2689, allocations: 16.02 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.2689, allocations: 4.938 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.2691, allocations: 168.3 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.2692, allocations: 12.38 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.2692, allocations: 12.38 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2694, allocations: 54.17 kB / 0.7873 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2694, allocations: 4.125 kB / 0.7873 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2694, allocations: 7.938 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2694, allocations: 0 / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.2695, allocations: 15.98 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4162/0.6856, allocations: 354.5 kB / 0.7877 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.6858, allocations: 40.17 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.6858, allocations: 15.36 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.6859, allocations: 3.375 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.6861, allocations: 92.59 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 3.828e-06/0.6862, allocations: 0 / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003642/0.6865, allocations: 127.5 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.6866, allocations: 59.78 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/0.6867, allocations: 118.8 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.6867, allocations: 34.11 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.6868, allocations: 92.22 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.6868, allocations: 16.42 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.6869, allocations: 52.73 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.687, allocations: 320.3 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.6871, allocations: 67.7 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.6872, allocations: 114 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.6874, allocations: 179.6 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6874, allocations: 0 / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003848/0.6878, allocations: 284.7 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.6879, allocations: 69.06 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6879, allocations: 1.125 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.6879, allocations: 3.891 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.688, allocations: 11.75 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.688, allocations: 10.16 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.6883, allocations: 60.27 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.6884, allocations: 18.66 kB / 0.7894 GB, free: 47.7 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.041e-05/0.6885, allocations: 120.8 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.6885, allocations: 6.844 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.6885, allocations: 12.25 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6885, allocations: 1.938 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6885, allocations: 3.938 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6885, allocations: 3.375 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.6888, allocations: 356.8 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6888, allocations: 0 / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-06/0.6888, allocations: 8.688 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6888, allocations: 3.938 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.6889, allocations: 2.625 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6889, allocations: 0 / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6889, allocations: 0 / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.689, allocations: 206.6 kB / 0.7901 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.6891, allocations: 83.64 kB / 0.7902 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.6891, allocations: 13.11 kB / 0.7902 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.6891, allocations: 0 / 0.7902 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.6892, allocations: 5.812 kB / 0.7902 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.6892, allocations: 5.188 kB / 0.7902 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.6893, allocations: 94.8 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6893, allocations: 0 / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002791/0.6895, allocations: 32.41 kB / 0.7903 GB, free: 46.98 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.0001562/0.6897, allocations: 108.1 kB / 0.7904 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.6901, allocations: 263.3 kB / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6901, allocations: 0 / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.488e-05/0.6902, allocations: 37.5 kB / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.6905, allocations: 18.86 kB / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.6908, allocations: 191.8 kB / 0.7909 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.691, allocations: 0.691 MB / 0.7916 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.691, allocations: 13 kB / 0.7916 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of SimCode: time 1.673e-06/0.691, allocations: 0 / 0.7916 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.003274/0.6943, allocations: 1.494 MB / 0.7931 GB, free: 45.86 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)