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.001925/0.001925, allocations: 80.55 kB / 19.95 MB, free: 4.605 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.002015/0.002015, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 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.584/1.584, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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 3.348/3.348, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] 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.484e-06/2.484e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.509e-05, allocations: 5.094 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001828/0.001863, allocations: 0.6661 MB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.003681, allocations: 1.228 MB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.00373, allocations: 0 / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.003764, allocations: 7.922 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.003834, allocations: 11.88 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.004506, allocations: 217.7 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.004769, allocations: 183.6 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.004861, allocations: 19.98 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.005016, allocations: 95.86 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.005172, allocations: 59.84 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.005214, allocations: 16 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-05/0.005296, allocations: 23.98 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.005324, allocations: 15.97 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.005432, allocations: 55.89 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.00572, allocations: 179.6 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005724, allocations: 0 / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.31e-07/0.005724, allocations: 0 / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.005729, allocations: 4 kB / 1.004 GB, free: 10.25 MB / 0.9636 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.0005875/0.006317, allocations: 365.5 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.006372, allocations: 13.34 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.006431, allocations: 8.938 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.006553, allocations: 121.6 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.00658, allocations: 8.375 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.006616, allocations: 8.375 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.006751, allocations: 54.23 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.006763, allocations: 3.938 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.006773, allocations: 0 / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.006778, allocations: 0 / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.006824, allocations: 15.98 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.007522, allocations: 280.4 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.007624, allocations: 38.5 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.007655, allocations: 8.859 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.007664, allocations: 0 / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.007842, allocations: 99.38 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.007843, allocations: 0 / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003357/0.008179, allocations: 133.5 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.008234, allocations: 55.41 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.008363, allocations: 121.8 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.008399, allocations: 33.7 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.008482, allocations: 92.33 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.008508, allocations: 19.89 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.008613, allocations: 53.69 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.008781, allocations: 314.8 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.008975, allocations: 123.4 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.009218, allocations: 169.4 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.009483, allocations: 189.3 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.009488, allocations: 3.938 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005566/0.01004, allocations: 352.2 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/0.01011, allocations: 67.39 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01012, allocations: 0 / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.01014, allocations: 4 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.01021, allocations: 15.92 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01021, allocations: 0 / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.01056, allocations: 59.98 kB / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.01059, allocations: 15.98 kB / 1.007 GB, free: 7.152 MB / 0.9636 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.000128/0.01072, allocations: 125.8 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.01074, allocations: 7.953 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.01077, allocations: 12.53 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01077, allocations: 3.984 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01078, allocations: 4 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01078, allocations: 3.938 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.01115, allocations: 298.1 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01115, allocations: 0 / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.01117, allocations: 3.984 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01117, allocations: 0 / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01118, allocations: 12 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01118, allocations: 480 / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01118, allocations: 0 / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.01142, allocations: 203.3 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.01142, allocations: 0 / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.01145, allocations: 15.98 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.0115, allocations: 0 / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.01154, allocations: 7.984 kB / 1.007 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.01156, allocations: 4 kB / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.062e-05/0.01163, allocations: 95.75 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01163, allocations: 0 / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002825/0.01191, allocations: 35.95 kB / 1.007 GB, free: 6.273 MB / 0.9636 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.0002025/0.01211, allocations: 111.2 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.01255, allocations: 290 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.01255, allocations: 7.938 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.01262, allocations: 27.94 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.01294, allocations: 21.42 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.01334, allocations: 164.6 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.018e-05/0.01342, allocations: 75.64 kB / 1.008 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.01344, allocations: 8.734 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.01347, allocations: 12.5 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of SimCode: time 3.11e-07/0.01347, allocations: 0 / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of Templates: time 0.005793/0.01926, allocations: 2.116 MB / 1.01 GB, free: 3.422 MB / 0.9636 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: 9.073116591200233]