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.00108/0.00108, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.004331/0.004331, allocations: 169.6 kB / 25.05 MB, free: 9.238 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.9328/0.9328, allocations: 177.1 MB / 205.5 MB, free: 5.445 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.865/1.865, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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 2.094e-06/2.094e-06, allocations: 0 / 0.7761 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.944e-05, allocations: 4 kB / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001377/0.001396, allocations: 0.7807 MB / 0.7769 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002596, allocations: 1.235 MB / 0.7781 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.002643, allocations: 8.812 kB / 0.7781 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.00268, allocations: 3.938 kB / 0.7781 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.815e-05/0.002748, allocations: 4.703 kB / 0.7781 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.003105, allocations: 145.2 kB / 0.7782 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.003245, allocations: 128.1 kB / 0.7784 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.129e-05/0.003316, allocations: 8 kB / 0.7784 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.003413, allocations: 63.94 kB / 0.7784 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.003492, allocations: 35.88 kB / 0.7785 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.003513, allocations: 12 kB / 0.7785 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.488e-05/0.003588, allocations: 23.98 kB / 0.7785 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.003605, allocations: 11.98 kB / 0.7785 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.003644, allocations: 38.66 kB / 0.7785 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.003772, allocations: 111.6 kB / 0.7787 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003773, allocations: 0 / 0.7787 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.72e-07/0.003774, allocations: 0 / 0.7787 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.003777, allocations: 0 / 0.7787 GB, free: 2.738 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.0003416/0.004119, allocations: 298.5 kB / 0.7789 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.004151, allocations: 9.344 kB / 0.7789 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.00423, allocations: 15.27 kB / 0.779 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.66e-05/0.004297, allocations: 113.7 kB / 0.7791 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.004308, allocations: 4.375 kB / 0.7791 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.004326, allocations: 16.36 kB / 0.7791 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.028e-05/0.004416, allocations: 70.84 kB / 0.7792 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.004427, allocations: 192 / 0.7792 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.004434, allocations: 1 kB / 0.7792 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.004437, allocations: 384 / 0.7792 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.00446, allocations: 16.61 kB / 0.7792 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.004707, allocations: 176.8 kB / 0.7793 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.908e-05/0.004766, allocations: 39.41 kB / 0.7794 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.263e-05/0.004779, allocations: 8.859 kB / 0.7794 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.004792, allocations: 0.5312 kB / 0.7794 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.298e-05/0.004885, allocations: 64.12 kB / 0.7794 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.004886, allocations: 0.7188 kB / 0.7795 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001374/0.005023, allocations: 73.53 kB / 0.7795 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.005057, allocations: 56.84 kB / 0.7796 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.00512, allocations: 114.7 kB / 0.7797 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.005139, allocations: 29.7 kB / 0.7797 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.005178, allocations: 100 kB / 0.7798 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.005195, allocations: 12.56 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.005249, allocations: 33.69 kB / 0.7799 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.00533, allocations: 320.5 kB / 0.7802 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.005391, allocations: 57.69 kB / 0.7802 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.005455, allocations: 81.05 kB / 0.7803 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.633e-05/0.005541, allocations: 93.84 kB / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005543, allocations: 0 / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001628/0.005706, allocations: 170.8 kB / 0.7805 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.005736, allocations: 41.64 kB / 0.7806 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.00574, allocations: 0 / 0.7806 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.005749, allocations: 4 kB / 0.7806 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.005813, allocations: 12.86 kB / 0.7806 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005816, allocations: 0 / 0.7806 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.005907, allocations: 25.25 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.005925, allocations: 11.98 kB / 0.7806 GB, free: 0.4961 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 0.0001425/0.006067, allocations: 119.5 kB / 0.7807 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.006079, allocations: 4 kB / 0.7808 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.487e-05/0.006164, allocations: 62.36 kB / 0.7808 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.006165, allocations: 0 / 0.7808 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.006168, allocations: 4.516 kB / 0.7808 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006171, allocations: 1.062 kB / 0.7808 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.006324, allocations: 218.8 kB / 0.781 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006325, allocations: 0 / 0.781 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.00636, allocations: 12.52 kB / 0.781 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.006363, allocations: 5.062 kB / 0.781 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.006369, allocations: 0 / 0.781 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.00637, allocations: 0 / 0.781 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006371, allocations: 0 / 0.781 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.006475, allocations: 156.4 kB / 0.7812 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.006483, allocations: 7.984 kB / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.006496, allocations: 4.531 kB / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.006547, allocations: 4.719 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.006574, allocations: 7.922 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.006581, allocations: 9.219 kB / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.636e-05/0.006597, allocations: 13.31 kB / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006598, allocations: 0 / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001986/0.006796, allocations: 23.95 kB / 0.7813 GB, free: 15.81 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.665e-05/0.006893, allocations: 94.31 kB / 0.7813 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.007052, allocations: 145.9 kB / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.007054, allocations: 1.094 kB / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.154e-05/0.007086, allocations: 20.84 kB / 0.7815 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.0001722/0.007258, allocations: 22.09 kB / 0.7815 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.007646, allocations: 176.5 kB / 0.7817 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.007683, allocations: 60.72 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.007709, allocations: 4 kB / 0.7818 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.007791, allocations: 67.36 kB / 0.7818 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.007792, allocations: 1.281 kB / 0.7818 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.003417/0.01121, allocations: 1.604 MB / 0.7834 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: 4.816000321879983]