Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 288.3 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 186 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 97.2 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004068, allocations: 11.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.296, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001129/0.2972, allocations: 449.9 kB / 0.9799 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2987, allocations: 1.142 MB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.2987, allocations: 0 / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.2988, allocations: 0 / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.2988, allocations: 11.92 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.2993, allocations: 126.5 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.582e-05/0.2994, allocations: 59.86 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2995, allocations: 11.98 kB / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.2996, allocations: 39.91 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.2997, allocations: 31.89 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.2997, allocations: 12 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.2998, allocations: 11.98 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.2998, allocations: 11.98 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.2999, allocations: 37.64 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3, allocations: 67.83 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3, allocations: 0 / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3, allocations: 0 / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3, allocations: 4 kB / 0.9814 GB, free: 25.7 MB / 0.6198 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.0005752/0.3006, allocations: 397.2 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3007, allocations: 12.03 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.3007, allocations: 11.89 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3009, allocations: 167 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.3009, allocations: 0 / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3009, allocations: 12 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.3012, allocations: 73.59 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3012, allocations: 4 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3012, allocations: 0 / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3012, allocations: 0 / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.3014, allocations: 55.88 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.3019, allocations: 332.7 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3021, allocations: 54.48 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.3021, allocations: 3.984 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.3024, allocations: 95.44 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.3024, allocations: 0 / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004238/0.3028, allocations: 157.5 kB / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3029, allocations: 63.33 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.3029, allocations: 121.7 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.303, allocations: 25.7 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3031, allocations: 88.33 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3031, allocations: 19.8 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.3031, allocations: 4 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.3032, allocations: 318.8 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3034, allocations: 55.95 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3035, allocations: 79.41 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.3037, allocations: 81.67 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3037, allocations: 0 / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003579/0.304, allocations: 211.1 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.3041, allocations: 37.69 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3041, allocations: 0 / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3041, allocations: 4 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.3042, allocations: 11.98 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3042, allocations: 4 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.3044, allocations: 55.92 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3045, allocations: 7.953 kB / 0.9838 GB, free: 22.93 MB / 0.6198 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,$whenCondition1,$PRE.booPul.y,booPul.y,$PRE.triggeredMax.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.688e-05/0.3046, allocations: 129.2 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.3046, allocations: 4 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.3049, allocations: 126 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3049, allocations: 0 / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3049, allocations: 4.469 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3049, allocations: 0 / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.3053, allocations: 378.4 kB / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3053, allocations: 0 / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.3053, allocations: 11.98 kB / 0.9845 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3053, allocations: 7.938 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.3054, allocations: 0 / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3054, allocations: 4 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3054, allocations: 3.938 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3056, allocations: 219.3 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.3057, allocations: 84.95 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3057, allocations: 11.98 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/0.3058, allocations: 4 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3058, allocations: 7.984 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.3059, allocations: 4 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.3059, allocations: 87.27 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3059, allocations: 0 / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002392/0.3061, allocations: 31.95 kB / 0.9849 GB, free: 21.74 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001512/0.3063, allocations: 103.2 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.3067, allocations: 175.3 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3067, allocations: 4.125 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3068, allocations: 43.97 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.3071, allocations: 11.98 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.3074, allocations: 166.6 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3076, allocations: 0.6887 MB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.3076, allocations: 11.92 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.3077, allocations: 11.44 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3077, allocations: 0 / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.003319/0.311, allocations: 1.226 MB / 0.9873 GB, free: 19.25 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)