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.0006557/0.0006557, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008421/0.001498, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006804/0.0006804, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008229/0.001503, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9598/0.9598, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.064, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.929/1.929, allocations: 389.9 MB / 0.619 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5088/2.438, allocations: 127.1 MB / 0.7432 GB, free: 4.562 MB / 0.7136 GB " [Timeout remaining time 178] 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.743e-06/1.743e-06, allocations: 0 / 0.7445 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.207e-05, allocations: 5.656 kB / 0.7445 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001888/0.00191, allocations: 0.7322 MB / 0.7452 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.003408, allocations: 1.243 MB / 0.7464 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.003442, allocations: 0 / 0.7464 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.003465, allocations: 3.938 kB / 0.7464 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.003516, allocations: 20.28 kB / 0.7464 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.004003, allocations: 208.6 kB / 0.7466 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.004258, allocations: 182.2 kB / 0.7468 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.463e-05/0.004333, allocations: 7.984 kB / 0.7468 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.004495, allocations: 103.1 kB / 0.7469 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.004632, allocations: 55.23 kB / 0.747 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.004669, allocations: 19.94 kB / 0.747 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-05/0.004761, allocations: 28 kB / 0.747 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.004784, allocations: 7.984 kB / 0.747 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.004851, allocations: 40.62 kB / 0.7471 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.005046, allocations: 103.8 kB / 0.7472 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.582e-05/0.005062, allocations: 0.5312 kB / 0.7472 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.935e-06/0.005065, allocations: 4.625 kB / 0.7472 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.00508, allocations: 3.938 kB / 0.7472 GB, free: 0.5547 MB / 0.7136 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.0005057/0.005586, allocations: 356.3 kB / 0.7475 GB, free: 176 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.005619, allocations: 9.531 kB / 0.7475 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.005666, allocations: 12.92 kB / 0.7475 GB, free: 156 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.827e-05/0.005755, allocations: 109.8 kB / 0.7476 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.005779, allocations: 8.359 kB / 0.7476 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.005805, allocations: 13.34 kB / 0.7476 GB, free: 0 / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.005913, allocations: 58.94 kB / 0.7477 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005922, allocations: 3.938 kB / 0.7477 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.00593, allocations: 4.578 kB / 0.7477 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.005935, allocations: 0.5938 kB / 0.7477 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.005956, allocations: 8 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.006309, allocations: 188.8 kB / 0.7479 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.169e-05/0.00639, allocations: 39.12 kB / 0.7479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.006406, allocations: 11.56 kB / 0.748 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.006412, allocations: 4 kB / 0.748 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.006542, allocations: 83.31 kB / 0.748 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.006544, allocations: 0 / 0.748 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001621/0.006706, allocations: 87.5 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.00675, allocations: 59.39 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.006832, allocations: 118.6 kB / 0.7483 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.006861, allocations: 33.7 kB / 0.7483 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.006911, allocations: 88.36 kB / 0.7484 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.006932, allocations: 30.27 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.007021, allocations: 45.67 kB / 0.7485 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.007125, allocations: 322.8 kB / 0.7488 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.007239, allocations: 103.3 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.007374, allocations: 149.3 kB / 0.749 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.007542, allocations: 167.2 kB / 0.7492 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.007545, allocations: 0 / 0.7492 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003168/0.007862, allocations: 286.8 kB / 0.7495 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.00793, allocations: 67.39 kB / 0.7495 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.007938, allocations: 3.984 kB / 0.7495 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.007953, allocations: 4 kB / 0.7495 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.008008, allocations: 8 kB / 0.7495 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008013, allocations: 6.688 kB / 0.7495 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.008218, allocations: 39.91 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.008249, allocations: 15.98 kB / 0.7496 GB, free: 13.79 MB / 0.7292 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.0001039/0.008353, allocations: 125 kB / 0.7497 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.008368, allocations: 7.938 kB / 0.7497 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.008395, allocations: 8.438 kB / 0.7497 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.0084, allocations: 4 kB / 0.7497 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008402, allocations: 0 / 0.7497 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.008407, allocations: 3.984 kB / 0.7497 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.008636, allocations: 210.8 kB / 0.7499 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.00864, allocations: 7.938 kB / 0.7499 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.008656, allocations: 3.984 kB / 0.75 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.008668, allocations: 8.578 kB / 0.75 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.00867, allocations: 0.7812 kB / 0.75 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.008682, allocations: 4 kB / 0.75 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008684, allocations: 0.625 kB / 0.75 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.008687, allocations: 3.938 kB / 0.75 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.008822, allocations: 164.4 kB / 0.7501 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.008838, allocations: 0 / 0.7501 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.491e-05/0.008893, allocations: 9.094 kB / 0.7501 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.008923, allocations: 7.984 kB / 0.7501 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.008936, allocations: 3.938 kB / 0.7501 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.008967, allocations: 22.38 kB / 0.7502 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.008967, allocations: 3.938 kB / 0.7502 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002779/0.009245, allocations: 36 kB / 0.7502 GB, free: 13.12 MB / 0.7292 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.0001449/0.00939, allocations: 91.77 kB / 0.7503 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.009671, allocations: 264.3 kB / 0.7505 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.009677, allocations: 4 kB / 0.7505 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.009713, allocations: 24.78 kB / 0.7506 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.009951, allocations: 30.81 kB / 0.7506 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.01054, allocations: 167.4 kB / 0.7508 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.01058, allocations: 60.94 kB / 0.7508 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.01062, allocations: 8.812 kB / 0.7508 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.01074, allocations: 83.34 kB / 0.7509 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/0.01074, allocations: 3.938 kB / 0.7509 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of Templates: time 0.005416/0.01616, allocations: 2.378 MB / 0.7532 GB, free: 10.06 MB / 0.7292 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: 4.886517594568431]