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.002053/0.002053, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001934/0.001934, allocations: 220.3 kB / 23.02 MB, free: 2.965 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.681/1.681, allocations: 230.6 MB / 256.8 MB, free: 9.637 MB / 202.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.465/3.465, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 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.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 0.003905/0.003905, allocations: 77.89 kB / 1.177 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3977, allocations: 180 MB / 1.353 GB, free: 8.711 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00217/0.3999, allocations: 0.7355 MB / 1.354 GB, free: 7.98 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.4015, allocations: 1.089 MB / 1.355 GB, free: 6.879 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.4015, allocations: 3.938 kB / 1.355 GB, free: 6.875 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.4016, allocations: 3.938 kB / 1.355 GB, free: 6.871 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 9.637e-05/0.4017, allocations: 11.88 kB / 1.355 GB, free: 6.859 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.402, allocations: 62.31 kB / 1.355 GB, free: 6.801 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.4021, allocations: 71.83 kB / 1.355 GB, free: 6.73 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4022, allocations: 16.17 kB / 1.355 GB, free: 6.711 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.54e-05/0.4023, allocations: 27.86 kB / 1.355 GB, free: 6.684 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.4024, allocations: 31.91 kB / 1.355 GB, free: 6.652 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.4024, allocations: 4 kB / 1.355 GB, free: 6.648 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.4024, allocations: 19.92 kB / 1.355 GB, free: 6.629 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.4025, allocations: 23.86 kB / 1.355 GB, free: 6.605 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.4025, allocations: 23.86 kB / 1.355 GB, free: 6.582 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.4027, allocations: 79.69 kB / 1.355 GB, free: 6.504 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4027, allocations: 0 / 1.355 GB, free: 6.504 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4027, allocations: 0 / 1.355 GB, free: 6.504 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4027, allocations: 4 kB / 1.355 GB, free: 6.5 MB / 1.042 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.0006073/0.4033, allocations: 306 kB / 1.355 GB, free: 6.172 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4034, allocations: 8.922 kB / 1.355 GB, free: 6.164 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.4034, allocations: 12.88 kB / 1.355 GB, free: 6.152 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4035, allocations: 110.5 kB / 1.355 GB, free: 6.02 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4036, allocations: 4.375 kB / 1.355 GB, free: 6.016 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.4036, allocations: 12.31 kB / 1.355 GB, free: 6.004 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.4038, allocations: 66.22 kB / 1.356 GB, free: 5.934 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4038, allocations: 3.938 kB / 1.356 GB, free: 5.93 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4038, allocations: 4 kB / 1.356 GB, free: 5.926 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4038, allocations: 0 / 1.356 GB, free: 5.926 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.404, allocations: 43.95 kB / 1.356 GB, free: 5.883 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.4047, allocations: 268.3 kB / 1.356 GB, free: 5.59 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.4049, allocations: 46.56 kB / 1.356 GB, free: 5.535 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.405, allocations: 32.95 kB / 1.356 GB, free: 5.5 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.405, allocations: 0 / 1.356 GB, free: 5.5 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.4052, allocations: 79.41 kB / 1.356 GB, free: 5.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4052, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0005663/0.4058, allocations: 129.6 kB / 1.356 GB, free: 5.277 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.4059, allocations: 63.33 kB / 1.356 GB, free: 5.203 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.406, allocations: 117.8 kB / 1.356 GB, free: 5.078 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.406, allocations: 37.7 kB / 1.356 GB, free: 5.035 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.4061, allocations: 88.12 kB / 1.356 GB, free: 4.945 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.4061, allocations: 19.86 kB / 1.356 GB, free: 4.926 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.4062, allocations: 25.7 kB / 1.356 GB, free: 4.895 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4063, allocations: 326.8 kB / 1.357 GB, free: 4.566 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.4065, allocations: 27.98 kB / 1.357 GB, free: 4.539 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.4066, allocations: 73.92 kB / 1.357 GB, free: 4.445 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.4069, allocations: 113.9 kB / 1.357 GB, free: 4.312 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4069, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003336/0.4072, allocations: 137.4 kB / 1.357 GB, free: 4.172 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4072, allocations: 8 kB / 1.357 GB, free: 4.164 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4073, allocations: 4 kB / 1.357 GB, free: 4.16 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4073, allocations: 4 kB / 1.357 GB, free: 4.156 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.4074, allocations: 19.98 kB / 1.357 GB, free: 4.137 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.4074, allocations: 0 / 1.357 GB, free: 4.137 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.4075, allocations: 19.88 kB / 1.357 GB, free: 4.117 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4075, allocations: 4 kB / 1.357 GB, free: 4.113 MB / 1.042 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 0.0001191/0.4077, allocations: 125.9 kB / 1.357 GB, free: 3.98 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.4077, allocations: 7.953 kB / 1.357 GB, free: 3.973 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.4077, allocations: 12.38 kB / 1.357 GB, free: 3.957 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4077, allocations: 3.984 kB / 1.357 GB, free: 3.953 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4077, allocations: 0 / 1.357 GB, free: 3.953 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4077, allocations: 0 / 1.357 GB, free: 3.953 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.4083, allocations: 318.1 kB / 1.358 GB, free: 3.605 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4083, allocations: 3.938 kB / 1.358 GB, free: 3.602 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.4083, allocations: 11.98 kB / 1.358 GB, free: 3.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.4083, allocations: 3.984 kB / 1.358 GB, free: 3.586 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4083, allocations: 0 / 1.358 GB, free: 3.586 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4083, allocations: 4 kB / 1.358 GB, free: 3.582 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4083, allocations: 0 / 1.358 GB, free: 3.582 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.4087, allocations: 207.3 kB / 1.358 GB, free: 3.363 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.4087, allocations: 3.953 kB / 1.358 GB, free: 3.359 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.4087, allocations: 4 kB / 1.358 GB, free: 3.355 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.4088, allocations: 4 kB / 1.358 GB, free: 3.352 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.4088, allocations: 11.98 kB / 1.358 GB, free: 3.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.4088, allocations: 7.938 kB / 1.358 GB, free: 3.332 MB / 1.042 GB Notification: Performance of sorting global known variables: time 7.023e-05/0.4089, allocations: 91.27 kB / 1.358 GB, free: 3.242 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.4089, allocations: 0 / 1.358 GB, free: 3.242 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000258/0.4092, allocations: 19.94 kB / 1.358 GB, free: 3.223 MB / 1.042 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.0001823/0.4094, allocations: 107.2 kB / 1.358 GB, free: 3.109 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.4097, allocations: 80.41 kB / 1.358 GB, free: 3.031 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4097, allocations: 0 / 1.358 GB, free: 3.031 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.4098, allocations: 39.91 kB / 1.358 GB, free: 2.992 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4101, allocations: 9.688 kB / 1.358 GB, free: 2.984 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.4105, allocations: 154.2 kB / 1.358 GB, free: 2.805 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.019e-05/0.4106, allocations: 79.41 kB / 1.358 GB, free: 2.707 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.4106, allocations: 15.77 kB / 1.358 GB, free: 2.691 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.4107, allocations: 15.38 kB / 1.358 GB, free: 2.676 MB / 1.042 GB Notification: Performance of SimCode: time 4.3e-07/0.4107, allocations: 0 / 1.358 GB, free: 2.676 MB / 1.042 GB Notification: Performance of Templates: time 0.00424/0.4149, allocations: 1.058 MB / 1.359 GB, free: 1.645 MB / 1.042 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: 10.486500932835042]