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.001439/0.001439, allocations: 80.88 kB / 20.82 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.001694/0.001694, allocations: 165 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 1.003/1.003, allocations: 177.2 MB / 204.7 MB, free: 5.453 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.998/1.998, allocations: 389.6 MB / 0.6355 GB, free: 12.24 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.603e-06/1.603e-06, allocations: 0 / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.832e-05, allocations: 6.25 kB / 0.7754 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001352/0.001371, allocations: 0.781 MB / 0.7761 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.002881, allocations: 1.24 MB / 0.7773 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.002939, allocations: 0.7188 kB / 0.7773 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.002976, allocations: 3.938 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.636e-05/0.003062, allocations: 12.73 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.003461, allocations: 141 kB / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.003613, allocations: 115.8 kB / 0.7776 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.003691, allocations: 15.98 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.003803, allocations: 71.97 kB / 0.7777 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.003898, allocations: 36.55 kB / 0.7777 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.003917, allocations: 8 kB / 0.7777 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.003993, allocations: 31.97 kB / 0.7777 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.004011, allocations: 11.98 kB / 0.7778 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.004047, allocations: 36.41 kB / 0.7778 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.004175, allocations: 96.44 kB / 0.7779 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004178, allocations: 0 / 0.7779 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004178, allocations: 5.438 kB / 0.7779 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.004182, allocations: 3.938 kB / 0.7779 GB, free: 2.73 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.0003708/0.004552, allocations: 298.5 kB / 0.7782 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.004584, allocations: 13.34 kB / 0.7782 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.004662, allocations: 15.67 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.553e-05/0.004737, allocations: 117.7 kB / 0.7783 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.004751, allocations: 8.375 kB / 0.7783 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.004764, allocations: 4.375 kB / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.568e-05/0.00486, allocations: 66.92 kB / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.004868, allocations: 192 / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.004876, allocations: 4.375 kB / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.004882, allocations: 4 kB / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.004907, allocations: 11.88 kB / 0.7784 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.005153, allocations: 180.2 kB / 0.7786 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.00521, allocations: 22.58 kB / 0.7786 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.005223, allocations: 8.953 kB / 0.7786 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.005236, allocations: 3.984 kB / 0.7786 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.253e-05/0.005319, allocations: 79.36 kB / 0.7787 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.00532, allocations: 1.594 kB / 0.7787 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001221/0.005442, allocations: 65.61 kB / 0.7788 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.005475, allocations: 55.41 kB / 0.7788 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.005537, allocations: 118.6 kB / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.005555, allocations: 30.27 kB / 0.779 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.00559, allocations: 96.02 kB / 0.779 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.005608, allocations: 25.19 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.005651, allocations: 29.7 kB / 0.7791 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.005724, allocations: 318.8 kB / 0.7794 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.005771, allocations: 51.09 kB / 0.7795 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.005825, allocations: 85.05 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.005897, allocations: 93.62 kB / 0.7796 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005899, allocations: 0 / 0.7796 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001276/0.006026, allocations: 166.3 kB / 0.7798 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.006056, allocations: 41.62 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006061, allocations: 0 / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.006069, allocations: 0.625 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.006135, allocations: 17.06 kB / 0.7798 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.006138, allocations: 0 / 0.7798 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.006215, allocations: 32.98 kB / 0.7799 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.006227, allocations: 4 kB / 0.7799 GB, free: 0.4922 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.854e-05/0.006295, allocations: 118.3 kB / 0.78 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.006304, allocations: 4.969 kB / 0.78 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.006385, allocations: 73.97 kB / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.006387, allocations: 1.312 kB / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.006388, allocations: 0 / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.006391, allocations: 0 / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.006519, allocations: 210.8 kB / 0.7803 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.00652, allocations: 0.5312 kB / 0.7803 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.006548, allocations: 8.469 kB / 0.7803 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.006551, allocations: 7.938 kB / 0.7803 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.006557, allocations: 4.688 kB / 0.7803 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006558, allocations: 1.719 kB / 0.7803 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.006559, allocations: 0 / 0.7803 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.891e-05/0.006648, allocations: 151.5 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-06/0.006655, allocations: 3.984 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.00667, allocations: 7.938 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.006704, allocations: 3.25 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.006732, allocations: 11.98 kB / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.006735, allocations: 0 / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.543e-05/0.006751, allocations: 16.84 kB / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006751, allocations: 0 / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001448/0.006896, allocations: 27.95 kB / 0.7805 GB, free: 15.8 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.573e-05/0.006991, allocations: 80.36 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.007147, allocations: 160.8 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.007149, allocations: 0 / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.007176, allocations: 16.86 kB / 0.7807 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.007319, allocations: 11.98 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.007697, allocations: 178.4 kB / 0.7809 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.007731, allocations: 55.36 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.007755, allocations: 9.109 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.007828, allocations: 67.36 kB / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.007829, allocations: 3.938 kB / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.002989/0.01082, allocations: 1.604 MB / 0.7826 GB, free: 13.65 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: 5.071614350192249]