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.0009043/0.0009043, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.001477/0.001477, allocations: 169 kB / 24.25 MB, free: 208 kB / 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 0.9708/0.9708, allocations: 177.1 MB / 204.7 MB, free: 5.438 MB / 186.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.943/1.943, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 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.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.674e-06/1.674e-06, allocations: 0 / 0.7754 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.297e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002056/0.002079, allocations: 0.8013 MB / 0.7762 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.003768, allocations: 1.115 MB / 0.7773 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.481e-05/0.003843, allocations: 4.75 kB / 0.7773 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.01e-05/0.003893, allocations: 7.875 kB / 0.7773 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.004016, allocations: 17.83 kB / 0.7773 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.004409, allocations: 47.81 kB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.00458, allocations: 74.62 kB / 0.7774 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.004697, allocations: 26.58 kB / 0.7774 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.004807, allocations: 43.91 kB / 0.7775 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.004862, allocations: 23.95 kB / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.00488, allocations: 4 kB / 0.7775 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.00496, allocations: 23.92 kB / 0.7775 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.00498, allocations: 11.94 kB / 0.7775 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.005011, allocations: 25.62 kB / 0.7776 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.005145, allocations: 59.8 kB / 0.7776 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.005147, allocations: 0 / 0.7776 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005148, allocations: 0 / 0.7776 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005152, allocations: 4 kB / 0.7776 GB, free: 3.012 MB / 0.7292 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.000416/0.005568, allocations: 273.5 kB / 0.7779 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.005608, allocations: 9.344 kB / 0.7779 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.005643, allocations: 5.438 kB / 0.7779 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.005761, allocations: 134.3 kB / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.005772, allocations: 384 / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.005788, allocations: 10.91 kB / 0.778 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.005917, allocations: 62.94 kB / 0.7781 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.005927, allocations: 192 / 0.7781 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.005935, allocations: 4.375 kB / 0.7781 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005942, allocations: 4.125 kB / 0.7781 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.578e-05/0.005968, allocations: 15.92 kB / 0.7781 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.00633, allocations: 183 kB / 0.7783 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.917e-05/0.00642, allocations: 30.58 kB / 0.7783 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.006439, allocations: 12.89 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.006458, allocations: 3.984 kB / 0.7783 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.124e-05/0.006539, allocations: 63.45 kB / 0.7784 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.00654, allocations: 2.531 kB / 0.7784 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001342/0.006675, allocations: 57.67 kB / 0.7785 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.006718, allocations: 55.34 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.006811, allocations: 126.7 kB / 0.7786 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.006827, allocations: 29.7 kB / 0.7787 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.006867, allocations: 92.03 kB / 0.7787 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.00689, allocations: 23.81 kB / 0.7788 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.006935, allocations: 31.44 kB / 0.7788 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.007032, allocations: 318.8 kB / 0.7791 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.007058, allocations: 11.98 kB / 0.7791 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.007105, allocations: 46.45 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.007472, allocations: 76.09 kB / 0.7792 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.007475, allocations: 1.125 kB / 0.7792 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001274/0.007602, allocations: 79.02 kB / 0.7793 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.007619, allocations: 7.938 kB / 0.7793 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.007625, allocations: 0.625 kB / 0.7793 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.007636, allocations: 4 kB / 0.7793 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.007741, allocations: 28.81 kB / 0.7793 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.007745, allocations: 320 / 0.7793 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.007795, allocations: 13.39 kB / 0.7794 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.007807, allocations: 4 kB / 0.7794 GB, free: 1.047 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 7.677e-05/0.007883, allocations: 113.8 kB / 0.7795 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.007898, allocations: 12.58 kB / 0.7795 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.007924, allocations: 12.44 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007926, allocations: 1.562 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.007929, allocations: 4 kB / 0.7795 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.007933, allocations: 0 / 0.7795 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.008163, allocations: 222.7 kB / 0.7797 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.008167, allocations: 4.812 kB / 0.7797 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.008203, allocations: 4 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.008206, allocations: 0.9375 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.008214, allocations: 4 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.008217, allocations: 4.875 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.008219, allocations: 7.922 kB / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.008421, allocations: 147.5 kB / 0.7799 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.008445, allocations: 12.42 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.008461, allocations: 8.516 kB / 0.7799 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.008564, allocations: 1.406 kB / 0.7799 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.0086, allocations: 11.98 kB / 0.7799 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.008607, allocations: 3.984 kB / 0.7799 GB, free: 452 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.695e-05/0.008634, allocations: 17.02 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.008634, allocations: 1.312 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001666/0.0088, allocations: 23.98 kB / 0.78 GB, free: 408 kB / 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.0001481/0.008948, allocations: 81.86 kB / 0.78 GB, free: 316 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.009052, allocations: 40.77 kB / 0.7801 GB, free: 272 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.009055, allocations: 0.5938 kB / 0.7801 GB, free: 272 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.009087, allocations: 25.94 kB / 0.7801 GB, free: 244 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.009256, allocations: 16.42 kB / 0.7801 GB, free: 228 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.009559, allocations: 158 kB / 0.7803 GB, free: 40 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.009609, allocations: 67.28 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.009636, allocations: 9.297 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.009691, allocations: 63.39 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.009692, allocations: 0 / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.002749/0.01244, allocations: 1.057 MB / 0.7814 GB, free: 14.89 MB / 0.7448 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.069835439324379]