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.001028/0.001028, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009321/0.0009321, allocations: 161 kB / 24.16 MB, free: 336 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 1.006/1.006, allocations: 177.2 MB / 204.6 MB, free: 5.48 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 2.076/2.076, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 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 2.945e-06/2.945e-06, allocations: 0 / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.519e-05, allocations: 5.828 kB / 0.7752 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00183/0.001855, allocations: 0.7969 MB / 0.776 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003135, allocations: 1.122 MB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.00319, allocations: 0 / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.003227, allocations: 3.938 kB / 0.7771 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/0.003314, allocations: 20.61 kB / 0.7771 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.003593, allocations: 48.92 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.003697, allocations: 76.86 kB / 0.7772 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.003782, allocations: 24.09 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.003868, allocations: 36.91 kB / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.003915, allocations: 31.89 kB / 0.7773 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.00393, allocations: 4 kB / 0.7773 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.003997, allocations: 20.58 kB / 0.7773 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.004017, allocations: 12.7 kB / 0.7774 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.004043, allocations: 27.91 kB / 0.7774 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.00417, allocations: 61.25 kB / 0.7774 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004173, allocations: 0 / 0.7774 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.233e-06/0.004174, allocations: 0 / 0.7774 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.004179, allocations: 3.984 kB / 0.7774 GB, free: 3.07 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.0003532/0.004533, allocations: 265.6 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.004569, allocations: 13.34 kB / 0.7777 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.004601, allocations: 10.11 kB / 0.7777 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.004695, allocations: 113.7 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.004706, allocations: 8.375 kB / 0.7778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.004717, allocations: 9.531 kB / 0.7778 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.004829, allocations: 62.94 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.004838, allocations: 4.172 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.004846, allocations: 1.312 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.004853, allocations: 8.125 kB / 0.7779 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.004872, allocations: 11.92 kB / 0.7779 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.005209, allocations: 193.5 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.005284, allocations: 35.23 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.005302, allocations: 10.58 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.00532, allocations: 4.125 kB / 0.7782 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.665e-05/0.005397, allocations: 63.36 kB / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.005398, allocations: 0 / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001347/0.005533, allocations: 62.72 kB / 0.7783 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.00557, allocations: 51.41 kB / 0.7783 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.005646, allocations: 130.6 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.005658, allocations: 26.27 kB / 0.7785 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.005695, allocations: 95.86 kB / 0.7786 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.005713, allocations: 19.83 kB / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.005752, allocations: 33.69 kB / 0.7786 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.005829, allocations: 318.8 kB / 0.7789 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.005848, allocations: 8 kB / 0.7789 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.005885, allocations: 49.94 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.592e-05/0.005951, allocations: 76.67 kB / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005954, allocations: 0 / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.866e-05/0.006052, allocations: 82.66 kB / 0.7791 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.006067, allocations: 11.94 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.006072, allocations: 0 / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.006086, allocations: 4.562 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.006171, allocations: 15.98 kB / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.006177, allocations: 9.875 kB / 0.7792 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.006211, allocations: 11.89 kB / 0.7792 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.006224, allocations: 11.98 kB / 0.7792 GB, free: 1.094 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 6.25e-05/0.006287, allocations: 115.1 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.006298, allocations: 7.938 kB / 0.7793 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.006318, allocations: 8.438 kB / 0.7793 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.006322, allocations: 4.812 kB / 0.7793 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006323, allocations: 0 / 0.7793 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.006328, allocations: 3.984 kB / 0.7793 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.00652, allocations: 219.8 kB / 0.7795 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.006524, allocations: 7.938 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.006553, allocations: 8.516 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.006555, allocations: 0.9375 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.006561, allocations: 0 / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006562, allocations: 0 / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006563, allocations: 0.5 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.258e-05/0.006645, allocations: 152.3 kB / 0.7797 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-06/0.006655, allocations: 11.88 kB / 0.7797 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.006664, allocations: 4 kB / 0.7797 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.375e-05/0.006698, allocations: 5.469 kB / 0.7797 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.006731, allocations: 7.984 kB / 0.7797 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.006736, allocations: 0 / 0.7797 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.006754, allocations: 16.84 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.006754, allocations: 0.625 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001572/0.006911, allocations: 17.22 kB / 0.7798 GB, free: 484 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.0001295/0.007041, allocations: 84.41 kB / 0.7798 GB, free: 388 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.444e-05/0.007135, allocations: 50.45 kB / 0.7799 GB, free: 336 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.007139, allocations: 4 kB / 0.7799 GB, free: 332 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.007169, allocations: 17.64 kB / 0.7799 GB, free: 312 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.007338, allocations: 23.2 kB / 0.7799 GB, free: 292 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.007629, allocations: 161.9 kB / 0.7801 GB, free: 100 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.007667, allocations: 60.28 kB / 0.7802 GB, free: 20 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.007694, allocations: 8 kB / 0.7802 GB, free: 12 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.00777, allocations: 68.16 kB / 0.7802 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.007771, allocations: 0 / 0.7802 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.002751/0.01052, allocations: 1.065 MB / 0.7813 GB, free: 14.95 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 -s gbode -gbm=radauIIA3 -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.127202484756708]