Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9814/0.9814, allocations: 177.1 MB / 204.7 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.984/1.984, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7754 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.479e-05, allocations: 6.219 kB / 0.7754 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001255/0.00127, allocations: 0.7306 MB / 0.7761 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.002445, allocations: 1.247 MB / 0.7773 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.002483, allocations: 1.219 kB / 0.7773 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.00251, allocations: 3.938 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.002572, allocations: 15.98 kB / 0.7773 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.003006, allocations: 209.1 kB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.003173, allocations: 179.1 kB / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.003228, allocations: 8 kB / 0.7777 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.003324, allocations: 104.4 kB / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.003413, allocations: 52.66 kB / 0.7779 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.003438, allocations: 16 kB / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.003497, allocations: 29.7 kB / 0.7779 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.003515, allocations: 11.94 kB / 0.7779 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.003559, allocations: 51.94 kB / 0.778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.003701, allocations: 143.6 kB / 0.7781 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003703, allocations: 0 / 0.7781 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.11e-07/0.003703, allocations: 2.75 kB / 0.7781 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.003707, allocations: 3.984 kB / 0.7781 GB, free: 2.516 MB / 0.7292 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.0003031/0.00401, allocations: 328.1 kB / 0.7784 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.004041, allocations: 17.33 kB / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.004072, allocations: 12.92 kB / 0.7785 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.596e-05/0.004137, allocations: 105.8 kB / 0.7786 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.004154, allocations: 8.375 kB / 0.7786 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.004173, allocations: 15.72 kB / 0.7786 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.357e-05/0.004237, allocations: 50.94 kB / 0.7786 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004244, allocations: 3.938 kB / 0.7786 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.00425, allocations: 8 kB / 0.7786 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004255, allocations: 3.938 kB / 0.7786 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.467e-05/0.004269, allocations: 11.92 kB / 0.7787 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.004512, allocations: 192.2 kB / 0.7788 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.015e-05/0.004572, allocations: 22.58 kB / 0.7789 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.203e-05/0.004584, allocations: 14.53 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-06/0.004588, allocations: 0 / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.231e-05/0.00467, allocations: 91.28 kB / 0.779 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.004671, allocations: 0.6562 kB / 0.779 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.000114/0.004785, allocations: 77.59 kB / 0.779 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.004815, allocations: 56.72 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.004875, allocations: 130.6 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.004895, allocations: 29.7 kB / 0.7792 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.004929, allocations: 88.38 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.004944, allocations: 29.36 kB / 0.7794 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.005, allocations: 41.67 kB / 0.7794 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.137e-05/0.005071, allocations: 322.8 kB / 0.7797 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.005143, allocations: 99.36 kB / 0.7798 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.609e-05/0.005229, allocations: 150.7 kB / 0.7799 GB, free: 452 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.005337, allocations: 167.1 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005339, allocations: 0 / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002137/0.005552, allocations: 285.2 kB / 0.7804 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.005589, allocations: 67.89 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.005594, allocations: 4.781 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.005603, allocations: 0 / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.005637, allocations: 12.08 kB / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.00564, allocations: 1.062 kB / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.005771, allocations: 44.5 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.00579, allocations: 16.56 kB / 0.7805 GB, free: 15.79 MB / 0.7448 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 6.797e-05/0.005858, allocations: 124.1 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.005869, allocations: 15.86 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.005887, allocations: 12.44 kB / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.005888, allocations: 0 / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.00589, allocations: 3.25 kB / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.005893, allocations: 0 / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.006036, allocations: 222.8 kB / 0.7809 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.006038, allocations: 3.938 kB / 0.7809 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-06/0.006044, allocations: 0 / 0.7809 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006046, allocations: 4 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006052, allocations: 3.984 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006053, allocations: 0 / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006054, allocations: 3.031 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.869e-05/0.006133, allocations: 155.5 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.006141, allocations: 11.89 kB / 0.781 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.006152, allocations: 7.984 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.949e-05/0.006182, allocations: 4 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.0062, allocations: 3.984 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.006211, allocations: 8 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.542e-05/0.006227, allocations: 25.31 kB / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006227, allocations: 0 / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001544/0.006381, allocations: 29.5 kB / 0.7811 GB, free: 15.12 MB / 0.7448 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 9.447e-05/0.006476, allocations: 92.3 kB / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.006669, allocations: 268.1 kB / 0.7815 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006671, allocations: 1.094 kB / 0.7815 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/0.0067, allocations: 32.78 kB / 0.7815 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.006844, allocations: 29.86 kB / 0.7815 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.007053, allocations: 161.8 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.068e-05/0.007083, allocations: 59.36 kB / 0.7817 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.007103, allocations: 10.03 kB / 0.7817 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.007195, allocations: 79.33 kB / 0.7818 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.007196, allocations: 0 / 0.7818 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.003506/0.0107, allocations: 2.307 MB / 0.7841 GB, free: 12.13 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.114069072529674]