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.001332/0.001332, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001035/0.001035, allocations: 161 kB / 24.16 MB, free: 332 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.102/1.102, allocations: 177.2 MB / 204.6 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.993/1.993, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.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 2.325e-06/2.325e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.802e-05, allocations: 10.25 kB / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.0016/0.001629, allocations: 0.7816 MB / 0.7759 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.002987, allocations: 1.24 MB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.003041, allocations: 4.938 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.00307, allocations: 3.938 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.003153, allocations: 15.69 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.003615, allocations: 141.6 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.003776, allocations: 126.4 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.003857, allocations: 7.938 kB / 0.7774 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.003979, allocations: 71.88 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.004059, allocations: 35.92 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.00408, allocations: 8.594 kB / 0.7776 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.004164, allocations: 24.59 kB / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.004185, allocations: 15.92 kB / 0.7776 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.004226, allocations: 37.05 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.004376, allocations: 107.7 kB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004379, allocations: 0 / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.02e-07/0.00438, allocations: 1.219 kB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.004383, allocations: 0 / 0.7777 GB, free: 2.797 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.0003906/0.004774, allocations: 306.4 kB / 0.778 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.004808, allocations: 10.28 kB / 0.778 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.004905, allocations: 12.92 kB / 0.778 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.004989, allocations: 106.7 kB / 0.7782 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.005001, allocations: 4.375 kB / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.005015, allocations: 8.375 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.005123, allocations: 71.55 kB / 0.7782 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.00513, allocations: 0.7188 kB / 0.7782 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.005137, allocations: 384 / 0.7782 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005142, allocations: 2.156 kB / 0.7782 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.794e-05/0.00517, allocations: 15.92 kB / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.005473, allocations: 180.2 kB / 0.7784 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.04e-05/0.005533, allocations: 35.28 kB / 0.7785 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.005549, allocations: 8.859 kB / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.005564, allocations: 4.562 kB / 0.7785 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.9e-05/0.005653, allocations: 71.36 kB / 0.7785 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.005655, allocations: 0 / 0.7785 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001334/0.005789, allocations: 73.55 kB / 0.7786 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.00582, allocations: 55.41 kB / 0.7787 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.005886, allocations: 118.6 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.005904, allocations: 29.7 kB / 0.7788 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.005943, allocations: 96.08 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.005961, allocations: 15.89 kB / 0.7789 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.006009, allocations: 33.69 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003583/0.006368, allocations: 314.8 kB / 0.7792 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.858e-05/0.006426, allocations: 56.59 kB / 0.7793 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/0.006482, allocations: 81.09 kB / 0.7794 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.00656, allocations: 93.05 kB / 0.7795 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.006563, allocations: 0 / 0.7795 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00014/0.006703, allocations: 157 kB / 0.7796 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.006736, allocations: 46.53 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006741, allocations: 0 / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.006755, allocations: 7.984 kB / 0.7797 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.006826, allocations: 8.531 kB / 0.7797 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006829, allocations: 5.328 kB / 0.7797 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.006907, allocations: 27.88 kB / 0.7797 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.006922, allocations: 5.312 kB / 0.7797 GB, free: 0.5664 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 7.069e-05/0.006992, allocations: 129.8 kB / 0.7798 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.007003, allocations: 4 kB / 0.7798 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.271e-05/0.007095, allocations: 62.64 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.007098, allocations: 0.5312 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.007099, allocations: 0 / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007102, allocations: 1.062 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.007259, allocations: 214.8 kB / 0.7801 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.007261, allocations: 0 / 0.7801 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.0073, allocations: 8.5 kB / 0.7801 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.007303, allocations: 4.469 kB / 0.7801 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.007309, allocations: 0.9375 kB / 0.7801 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.007312, allocations: 3.984 kB / 0.7801 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007313, allocations: 0 / 0.7801 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007415, allocations: 148 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.007422, allocations: 4.875 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.007439, allocations: 11.88 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.00748, allocations: 9.688 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.007509, allocations: 3.984 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.007515, allocations: 4 kB / 0.7803 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.909e-05/0.007534, allocations: 20.83 kB / 0.7803 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007534, allocations: 0 / 0.7803 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001651/0.007699, allocations: 25.45 kB / 0.7803 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 0.0001176/0.007817, allocations: 88.34 kB / 0.7804 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.007968, allocations: 146.8 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.007971, allocations: 0 / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/0.008002, allocations: 25.7 kB / 0.7806 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.0001603/0.008162, allocations: 12.56 kB / 0.7806 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.008592, allocations: 174.9 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.008628, allocations: 55.36 kB / 0.7808 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.008658, allocations: 8.922 kB / 0.7808 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.008739, allocations: 63.36 kB / 0.7809 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.00874, allocations: 0.8438 kB / 0.7809 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.003452/0.01219, allocations: 1.607 MB / 0.7825 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.150081045925617]