Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0007523/0.0007523, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001875, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007391/0.0007391, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001816, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.017/1.017, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09508/1.112, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.993/1.993, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5003/2.493, allocations: 127.1 MB / 0.7435 GB, free: 4.539 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.7448 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.174e-05, allocations: 5.031 kB / 0.7448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002322/0.002353, allocations: 0.7783 MB / 0.7455 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.004121, allocations: 1.244 MB / 0.7468 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.004185, allocations: 0 / 0.7468 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.004222, allocations: 3.938 kB / 0.7468 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.442e-05/0.004296, allocations: 18.98 kB / 0.7468 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.004824, allocations: 142.2 kB / 0.7469 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.005041, allocations: 119 kB / 0.747 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.005133, allocations: 12.64 kB / 0.747 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.005296, allocations: 66.47 kB / 0.7471 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.005409, allocations: 42.44 kB / 0.7471 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.005437, allocations: 10.34 kB / 0.7471 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.005542, allocations: 27.92 kB / 0.7472 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.005573, allocations: 10.41 kB / 0.7472 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.005627, allocations: 22.41 kB / 0.7472 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.005831, allocations: 87.73 kB / 0.7473 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.005847, allocations: 0 / 0.7473 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.005848, allocations: 1.125 kB / 0.7473 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.005866, allocations: 0 / 0.7473 GB, free: 0.7305 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006302/0.006496, allocations: 314.1 kB / 0.7476 GB, free: 400 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.006534, allocations: 9.031 kB / 0.7476 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.006728, allocations: 97.97 kB / 0.7477 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.006844, allocations: 106.4 kB / 0.7478 GB, free: 144 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.006868, allocations: 4.375 kB / 0.7478 GB, free: 140 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.006897, allocations: 13.09 kB / 0.7478 GB, free: 128 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.007057, allocations: 70.8 kB / 0.7479 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.007067, allocations: 1.688 kB / 0.7479 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.007075, allocations: 384 / 0.7479 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.007084, allocations: 384 / 0.7479 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.007123, allocations: 19.91 kB / 0.7479 GB, free: 28 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.007501, allocations: 173.4 kB / 0.7481 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/0.007589, allocations: 39.62 kB / 0.7481 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.007609, allocations: 8.859 kB / 0.7481 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.007628, allocations: 0 / 0.7481 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.007757, allocations: 68.47 kB / 0.7482 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.007758, allocations: 0 / 0.7482 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001741/0.007932, allocations: 74.31 kB / 0.7482 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.007973, allocations: 51.41 kB / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.241e-05/0.008056, allocations: 119.5 kB / 0.7484 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.008081, allocations: 33.69 kB / 0.7484 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.008131, allocations: 92.08 kB / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.008151, allocations: 15.09 kB / 0.7485 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.008214, allocations: 33.69 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.008311, allocations: 322.8 kB / 0.7489 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.008384, allocations: 53.69 kB / 0.7489 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.008468, allocations: 85.05 kB / 0.749 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.008576, allocations: 93.03 kB / 0.7491 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.008579, allocations: 3.688 kB / 0.7491 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001989/0.008778, allocations: 164.9 kB / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.008826, allocations: 43.67 kB / 0.7493 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.008832, allocations: 0 / 0.7493 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.008847, allocations: 4 kB / 0.7493 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.008951, allocations: 11.98 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.008956, allocations: 4.312 kB / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.009075, allocations: 23.94 kB / 0.7493 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.009098, allocations: 12.67 kB / 0.7494 GB, free: 14.38 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.659e-05/0.009185, allocations: 119.4 kB / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.0092, allocations: 4 kB / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.009321, allocations: 69.97 kB / 0.7495 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.009327, allocations: 8.078 kB / 0.7496 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.009331, allocations: 4.859 kB / 0.7496 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.009336, allocations: 0 / 0.7496 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.009542, allocations: 214.8 kB / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.009544, allocations: 0.5625 kB / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.009607, allocations: 11.23 kB / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.00962, allocations: 7.938 kB / 0.7498 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.009623, allocations: 0 / 0.7498 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.00963, allocations: 0 / 0.7498 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.009632, allocations: 0 / 0.7498 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.009634, allocations: 0 / 0.7498 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.00976, allocations: 155.5 kB / 0.7499 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.00978, allocations: 3.938 kB / 0.7499 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.009861, allocations: 7.984 kB / 0.7499 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.009897, allocations: 10.69 kB / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.009906, allocations: 7.984 kB / 0.75 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.009933, allocations: 17.27 kB / 0.75 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009933, allocations: 0 / 0.75 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000245/0.01018, allocations: 19.95 kB / 0.75 GB, free: 13.68 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001646/0.01034, allocations: 90.12 kB / 0.7501 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.01054, allocations: 149.9 kB / 0.7502 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.01055, allocations: 0 / 0.7502 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.01059, allocations: 24.78 kB / 0.7502 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.01085, allocations: 98.84 kB / 0.7503 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.01184, allocations: 177.1 kB / 0.7505 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.01189, allocations: 55.89 kB / 0.7506 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.01193, allocations: 8.922 kB / 0.7506 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.01204, allocations: 71.36 kB / 0.7506 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of SimCode: time 1.563e-06/0.01204, allocations: 0.875 kB / 0.7506 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.004993/0.01704, allocations: 1.619 MB / 0.7522 GB, free: 11.4 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.040867458097637]