Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0009157/0.0009157, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003818/0.004734, 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.0009235/0.0009235, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.002142, 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.9951/0.9951, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09053/1.086, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.997/1.997, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5253/2.522, allocations: 127.1 MB / 0.7432 GB, free: 4.602 MB / 0.7136 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.7445 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.215e-05, allocations: 3.906 kB / 0.7445 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001297/0.00132, allocations: 0.7929 MB / 0.7452 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.00233, allocations: 1.126 MB / 0.7463 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.002365, allocations: 0 / 0.7463 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.002387, allocations: 4.75 kB / 0.7463 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.002425, allocations: 16.84 kB / 0.7464 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.002587, allocations: 59 kB / 0.7464 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.002681, allocations: 72.66 kB / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.002769, allocations: 20.86 kB / 0.7465 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.002856, allocations: 47.25 kB / 0.7466 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.002905, allocations: 29.75 kB / 0.7466 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.002922, allocations: 8 kB / 0.7466 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.002988, allocations: 19.98 kB / 0.7466 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.003004, allocations: 8 kB / 0.7466 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.003025, allocations: 16.66 kB / 0.7466 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.00314, allocations: 55.75 kB / 0.7467 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.686e-05/0.003157, allocations: 4.906 kB / 0.7467 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003158, allocations: 0 / 0.7467 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.003178, allocations: 1.969 kB / 0.7467 GB, free: 1.078 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004884/0.003667, allocations: 284.4 kB / 0.747 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.003707, allocations: 8.031 kB / 0.747 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.003739, allocations: 4.938 kB / 0.747 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.003828, allocations: 125.7 kB / 0.7471 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.003839, allocations: 5.719 kB / 0.7471 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.00385, allocations: 8.375 kB / 0.7471 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.003962, allocations: 70.88 kB / 0.7472 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.003969, allocations: 192 / 0.7472 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.003976, allocations: 2.812 kB / 0.7472 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.003984, allocations: 8.062 kB / 0.7472 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.004006, allocations: 8 kB / 0.7472 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.004313, allocations: 188.1 kB / 0.7474 GB, free: 320 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/0.004377, allocations: 32.77 kB / 0.7474 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.004393, allocations: 8.859 kB / 0.7474 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.004414, allocations: 7.984 kB / 0.7474 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/0.004486, allocations: 59.48 kB / 0.7475 GB, free: 188 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.004487, allocations: 0 / 0.7475 GB, free: 188 kB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001054/0.004593, allocations: 65.3 kB / 0.7475 GB, free: 120 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.004629, allocations: 55.41 kB / 0.7476 GB, free: 52 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.004716, allocations: 130.5 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.004729, allocations: 29.7 kB / 0.7477 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.004765, allocations: 92.08 kB / 0.7478 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.004782, allocations: 15.89 kB / 0.7479 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.004815, allocations: 25.7 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.004887, allocations: 326.8 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.004902, allocations: 8 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.004937, allocations: 53.98 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.004998, allocations: 69.36 kB / 0.7483 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005, allocations: 0 / 0.7483 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.937e-05/0.005079, allocations: 82.98 kB / 0.7484 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.005091, allocations: 7.938 kB / 0.7484 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.005096, allocations: 4.594 kB / 0.7484 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.005103, allocations: 0.5938 kB / 0.7484 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.005187, allocations: 23.97 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.005192, allocations: 12.5 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.005223, allocations: 8.594 kB / 0.7484 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.005231, allocations: 4 kB / 0.7485 GB, free: 15.09 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: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 5.705e-05/0.005288, allocations: 119 kB / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.005298, allocations: 11.92 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.005315, allocations: 4.969 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.005317, allocations: 4 kB / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.00532, allocations: 4.719 kB / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005323, allocations: 0 / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.005483, allocations: 220.1 kB / 0.7488 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.005485, allocations: 7.922 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.005505, allocations: 4 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.005513, allocations: 12.47 kB / 0.7488 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005515, allocations: 0.8438 kB / 0.7488 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.00552, allocations: 4 kB / 0.7488 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.00552, allocations: 0 / 0.7488 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005521, allocations: 1.688 kB / 0.7488 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.00561, allocations: 159.8 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.00562, allocations: 0 / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.197e-05/0.005652, allocations: 4 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.00568, allocations: 8.484 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.005684, allocations: 4 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.576e-05/0.0057, allocations: 21.58 kB / 0.749 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0057, allocations: 0 / 0.749 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001417/0.005841, allocations: 13.44 kB / 0.749 GB, free: 14.46 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.0001003/0.005942, allocations: 88.36 kB / 0.7491 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.255e-05/0.006024, allocations: 51.52 kB / 0.7492 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.006028, allocations: 0 / 0.7492 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.764e-05/0.006056, allocations: 20.84 kB / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.006193, allocations: 25.52 kB / 0.7492 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.006569, allocations: 160.9 kB / 0.7494 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.0066, allocations: 67.28 kB / 0.7494 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.006622, allocations: 4.562 kB / 0.7494 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.006672, allocations: 60.67 kB / 0.7495 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.006672, allocations: 4 kB / 0.7495 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.002483/0.009155, allocations: 1.093 MB / 0.7506 GB, free: 12.9 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.083261406049132]