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.675/1.675, allocations: 288.4 MB / 304.3 MB, free: 8.137 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.0009922/0.0009921, allocations: 188.4 kB / 372.9 MB, free: 10.15 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.464/1.464, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.000708/0.000708, allocations: 88.23 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004305, allocations: 11.12 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2324, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7828/1.015, allocations: 138.5 MB / 1.116 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.016, allocations: 77.84 kB / 1.116 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007677/1.023, allocations: 2.591 MB / 1.119 GB, free: 32.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.444e-06/1.023, allocations: 0 / 1.119 GB, free: 32.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.809e-06/1.023, allocations: 3.844 kB / 1.119 GB, free: 32.06 MB / 0.698 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.0006154/1.024, allocations: 413.9 kB / 1.119 GB, free: 31.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.024, allocations: 11.66 kB / 1.119 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/1.024, allocations: 8.656 kB / 1.119 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/1.024, allocations: 169.6 kB / 1.119 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/1.024, allocations: 5.656 kB / 1.119 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/1.024, allocations: 8.031 kB / 1.119 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/1.025, allocations: 73.17 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.025, allocations: 192 / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/1.025, allocations: 7.781 kB / 1.119 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/1.025, allocations: 0 / 1.119 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/1.025, allocations: 50.53 kB / 1.119 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/1.025, allocations: 333.2 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/1.026, allocations: 54.19 kB / 1.12 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/1.026, allocations: 39.09 kB / 1.12 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/1.026, allocations: 0 / 1.12 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/1.026, allocations: 88.55 kB / 1.12 GB, free: 31.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/1.026, allocations: 4 kB / 1.12 GB, free: 31.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004394/1.026, allocations: 155.1 kB / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.026, allocations: 51.41 kB / 1.12 GB, free: 30.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/1.027, allocations: 122.6 kB / 1.12 GB, free: 30.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/1.027, allocations: 29.61 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/1.027, allocations: 91.67 kB / 1.12 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/1.027, allocations: 22.19 kB / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/1.027, allocations: 0 / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.027, allocations: 325.3 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/1.027, allocations: 49.94 kB / 1.121 GB, free: 30.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/1.027, allocations: 88.09 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/1.027, allocations: 141.3 kB / 1.121 GB, free: 30.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.027, allocations: 0 / 1.121 GB, free: 30.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00039/1.028, allocations: 208.5 kB / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/1.028, allocations: 37.27 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.028, allocations: 0 / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.028, allocations: 10.67 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/1.028, allocations: 14.62 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.028, allocations: 0 / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/1.028, allocations: 51.7 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/1.028, allocations: 10.62 kB / 1.121 GB, free: 30.16 MB / 0.698 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 0.0001105/1.028, allocations: 121.2 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/1.028, allocations: 3.906 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/1.029, allocations: 130.9 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.029, allocations: 0 / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.029, allocations: 0 / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.029, allocations: 0 / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/1.029, allocations: 376.5 kB / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.029, allocations: 0.5 kB / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/1.029, allocations: 14.55 kB / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.029, allocations: 0 / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.029, allocations: 7.938 kB / 1.122 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.029, allocations: 4 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.029, allocations: 0 / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/1.03, allocations: 217.3 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/1.03, allocations: 92.77 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/1.03, allocations: 0 / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/1.03, allocations: 10.88 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/1.03, allocations: 10.69 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/1.03, allocations: 4.312 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.709e-05/1.03, allocations: 95.73 kB / 1.122 GB, free: 29.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.03, allocations: 0 / 1.122 GB, free: 29.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002709/1.03, allocations: 19.38 kB / 1.122 GB, free: 29.36 MB / 0.698 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.0001741/1.03, allocations: 117 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003606/1.031, allocations: 184.3 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.031, allocations: 0 / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/1.031, allocations: 46.25 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/1.031, allocations: 14.33 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/1.032, allocations: 166.4 kB / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.032, allocations: 0.6887 MB / 1.123 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.901e-05/1.032, allocations: 3.844 kB / 1.123 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/1.032, allocations: 15.03 kB / 1.123 GB, free: 28.35 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/1.032, allocations: 0 / 1.123 GB, free: 28.35 MB / 0.698 GB Notification: Performance of Templates: time 0.003772/1.036, allocations: 1.25 MB / 1.125 GB, free: 28.24 MB / 0.698 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)