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.001217/0.001217, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001488/0.001488, allocations: 161.3 kB / 24.96 MB, free: 8.129 MB / 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.9201/0.9201, allocations: 177.1 MB / 205.4 MB, free: 5.484 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.872/1.872, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.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 1.573e-06/1.573e-06, allocations: 0 / 0.7759 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.185e-05, allocations: 3.062 kB / 0.7759 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001404/0.001426, allocations: 0.7768 MB / 0.7767 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.002648, allocations: 1.251 MB / 0.7779 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.002697, allocations: 0 / 0.7779 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.002728, allocations: 3.938 kB / 0.7779 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.609e-05/0.002804, allocations: 8.047 kB / 0.7779 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.003216, allocations: 147.5 kB / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.00336, allocations: 114.5 kB / 0.7782 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.398e-05/0.003434, allocations: 20.34 kB / 0.7782 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.515e-05/0.003529, allocations: 63.89 kB / 0.7783 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.003607, allocations: 35.94 kB / 0.7783 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.003627, allocations: 11.94 kB / 0.7783 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.0037, allocations: 31.33 kB / 0.7783 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.003721, allocations: 15.97 kB / 0.7784 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.003763, allocations: 31.92 kB / 0.7784 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.003895, allocations: 99.73 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003897, allocations: 0 / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003898, allocations: 0 / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.003901, allocations: 0 / 0.7785 GB, free: 2.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003559/0.004257, allocations: 310.4 kB / 0.7788 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.004288, allocations: 9.344 kB / 0.7788 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.42e-05/0.004372, allocations: 16.56 kB / 0.7788 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.235e-05/0.004444, allocations: 109.8 kB / 0.7789 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.004457, allocations: 8.375 kB / 0.7789 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.004471, allocations: 12.31 kB / 0.7789 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/0.004565, allocations: 66.92 kB / 0.779 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004573, allocations: 4.172 kB / 0.779 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.004579, allocations: 384 / 0.779 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.004584, allocations: 384 / 0.779 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.004607, allocations: 15.92 kB / 0.779 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.004855, allocations: 184.7 kB / 0.7792 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/0.00491, allocations: 34.39 kB / 0.7792 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.004923, allocations: 8.859 kB / 0.7792 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.00494, allocations: 8.078 kB / 0.7792 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.915e-05/0.005019, allocations: 63.38 kB / 0.7793 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.005021, allocations: 0 / 0.7793 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001182/0.005139, allocations: 73.53 kB / 0.7794 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.005168, allocations: 55.41 kB / 0.7794 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.892e-05/0.005227, allocations: 118.7 kB / 0.7795 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.005241, allocations: 25.7 kB / 0.7796 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.005283, allocations: 94.86 kB / 0.7797 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.005299, allocations: 19.89 kB / 0.7797 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.005342, allocations: 33.69 kB / 0.7797 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.00541, allocations: 318.8 kB / 0.78 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.005457, allocations: 49.69 kB / 0.7801 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.993e-05/0.005507, allocations: 77.12 kB / 0.7801 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.005577, allocations: 94.14 kB / 0.7802 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005579, allocations: 0 / 0.7802 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001259/0.005705, allocations: 166.1 kB / 0.7804 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.005732, allocations: 37.64 kB / 0.7804 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005737, allocations: 0 / 0.7804 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005748, allocations: 4.531 kB / 0.7804 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.005809, allocations: 12.92 kB / 0.7804 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.005812, allocations: 0 / 0.7804 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.005887, allocations: 41.17 kB / 0.7805 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.005899, allocations: 4 kB / 0.7805 GB, free: 0.5586 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 6.199e-05/0.005961, allocations: 123.3 kB / 0.7806 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.005969, allocations: 7.984 kB / 0.7806 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.066e-05/0.00605, allocations: 62.05 kB / 0.7807 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.006052, allocations: 0 / 0.7807 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.006054, allocations: 0.5625 kB / 0.7807 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.006058, allocations: 4 kB / 0.7807 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.006184, allocations: 203.5 kB / 0.7809 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006185, allocations: 1.781 kB / 0.7809 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.006218, allocations: 11.98 kB / 0.7809 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.00622, allocations: 3.938 kB / 0.7809 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.006226, allocations: 4 kB / 0.7809 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006227, allocations: 0 / 0.7809 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.006228, allocations: 5 kB / 0.7809 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.793e-05/0.006316, allocations: 147.5 kB / 0.781 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.006324, allocations: 7.984 kB / 0.781 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.006336, allocations: 5.219 kB / 0.781 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.006372, allocations: 11.98 kB / 0.781 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.0064, allocations: 3.984 kB / 0.7811 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.006405, allocations: 4.875 kB / 0.7811 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.238e-05/0.006418, allocations: 8.859 kB / 0.7811 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006418, allocations: 0.875 kB / 0.7811 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001538/0.006572, allocations: 27.95 kB / 0.7811 GB, free: 15.88 MB / 0.7448 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 9.803e-05/0.00667, allocations: 90.47 kB / 0.7812 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.006807, allocations: 153.9 kB / 0.7813 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.006809, allocations: 0 / 0.7813 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.006838, allocations: 21.41 kB / 0.7813 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.006972, allocations: 9.203 kB / 0.7814 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.007338, allocations: 178.2 kB / 0.7815 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.007369, allocations: 59.34 kB / 0.7816 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.007391, allocations: 4.938 kB / 0.7816 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.007463, allocations: 68.3 kB / 0.7816 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.007463, allocations: 4 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.002867/0.01033, allocations: 1.606 MB / 0.7832 GB, free: 13.72 MB / 0.7448 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: 4.852659960277379]