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.001031/0.001031, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001203/0.001203, allocations: 161 kB / 24.17 MB, free: 332 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 1.091/1.091, allocations: 177.2 MB / 204.6 MB, free: 5.48 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 2.057/2.057, allocations: 389.6 MB / 0.6354 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 2.254e-06/2.254e-06, allocations: 0 / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.339e-05, allocations: 3.859 kB / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001453/0.001476, allocations: 0.7373 MB / 0.7759 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.002759, allocations: 1.249 MB / 0.7772 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.002801, allocations: 0 / 0.7772 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.002828, allocations: 3.938 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.002905, allocations: 19.5 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.003391, allocations: 207.4 kB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.003591, allocations: 182.4 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.343e-05/0.003665, allocations: 14.94 kB / 0.7776 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.00378, allocations: 95.88 kB / 0.7777 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.003888, allocations: 55.89 kB / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.003914, allocations: 16 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.003988, allocations: 23.94 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.00401, allocations: 19.91 kB / 0.7778 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.00406, allocations: 55.95 kB / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.004222, allocations: 139.6 kB / 0.778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004224, allocations: 0.625 kB / 0.778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004224, allocations: 0.6875 kB / 0.778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.004228, allocations: 0 / 0.778 GB, free: 2.609 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.0003388/0.004567, allocations: 332.7 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.004599, allocations: 13.97 kB / 0.7783 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.004636, allocations: 12.92 kB / 0.7783 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.07e-05/0.004717, allocations: 118.4 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.004734, allocations: 4.375 kB / 0.7784 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.004755, allocations: 20.98 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.736e-05/0.004832, allocations: 54.94 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.00484, allocations: 4.844 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.004846, allocations: 0 / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004851, allocations: 1.25 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.362e-05/0.004864, allocations: 4 kB / 0.7785 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.005144, allocations: 192.1 kB / 0.7787 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/0.005207, allocations: 35.45 kB / 0.7787 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/0.00522, allocations: 12.84 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-06/0.005223, allocations: 0.5312 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.432e-05/0.005317, allocations: 88.81 kB / 0.7788 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.005318, allocations: 0 / 0.7788 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001361/0.005455, allocations: 85.59 kB / 0.7789 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.005483, allocations: 51.41 kB / 0.7789 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.005549, allocations: 127.7 kB / 0.7791 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.005571, allocations: 33.7 kB / 0.7791 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.005614, allocations: 92.84 kB / 0.7792 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.005628, allocations: 19.84 kB / 0.7792 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.005691, allocations: 50.42 kB / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.005764, allocations: 318.8 kB / 0.7796 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.005841, allocations: 105 kB / 0.7797 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.755e-05/0.005929, allocations: 145.8 kB / 0.7798 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.006047, allocations: 163.4 kB / 0.7799 GB, free: 340 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.006049, allocations: 0 / 0.7799 GB, free: 340 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002049/0.006254, allocations: 278 kB / 0.7802 GB, free: 32 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.006306, allocations: 67.39 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.00631, allocations: 0 / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.006325, allocations: 4 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.731e-05/0.006362, allocations: 13.14 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.006365, allocations: 4 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.006503, allocations: 36.62 kB / 0.7803 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.006523, allocations: 13.11 kB / 0.7803 GB, free: 15.89 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 7.049e-05/0.006593, allocations: 123.2 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.006606, allocations: 15.86 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.006625, allocations: 8.938 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.006628, allocations: 7.938 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006629, allocations: 0.5312 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006632, allocations: 1.781 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.006786, allocations: 210.8 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.006789, allocations: 3.938 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-06/0.006797, allocations: 8 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006799, allocations: 1.219 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.006808, allocations: 7.984 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00681, allocations: 4 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006811, allocations: 0 / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.424e-05/0.006895, allocations: 160.5 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.006906, allocations: 11.89 kB / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.006919, allocations: 3.984 kB / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.228e-05/0.006951, allocations: 5.312 kB / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.00698, allocations: 7.984 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.00699, allocations: 0 / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.648e-05/0.007006, allocations: 17.94 kB / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007006, allocations: 0 / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001737/0.00718, allocations: 39.92 kB / 0.781 GB, free: 15.22 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 0.0001028/0.007283, allocations: 81.98 kB / 0.781 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.00749, allocations: 272.3 kB / 0.7813 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.007494, allocations: 4 kB / 0.7813 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.007519, allocations: 21.41 kB / 0.7813 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.007684, allocations: 30.27 kB / 0.7813 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.007914, allocations: 168.7 kB / 0.7815 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.00795, allocations: 56.3 kB / 0.7816 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.007977, allocations: 12.72 kB / 0.7816 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.00808, allocations: 80.38 kB / 0.7817 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.00808, allocations: 0 / 0.7817 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.003651/0.01173, allocations: 2.308 MB / 0.7839 GB, free: 12.23 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2738179988227785]