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.742/1.742, allocations: 285.4 MB / 298 MB, free: 6.012 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.001153/0.001153, allocations: 188.8 kB / 366.4 MB, free: 2.086 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.679/1.679, allocations: 205.1 MB / 0.6248 GB, free: 7.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009006/0.0009005, allocations: 92 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.68e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8719/0.8719, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2099/1.082, allocations: 138.4 MB / 1.106 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/1.082, allocations: 75.17 kB / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008386/1.091, allocations: 2.584 MB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/1.091, allocations: 0 / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.257e-06/1.091, allocations: 0 / 1.109 GB, free: 10.77 MB / 0.7136 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.0006359/1.091, allocations: 398.5 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/1.092, allocations: 14.44 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/1.092, allocations: 4 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/1.092, allocations: 174.9 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/1.092, allocations: 8 kB / 1.109 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/1.092, allocations: 4 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/1.092, allocations: 57.61 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.092, allocations: 1.188 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/1.092, allocations: 7.938 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/1.092, allocations: 3.094 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.259e-05/1.092, allocations: 20.84 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/1.093, allocations: 325.2 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/1.093, allocations: 39.23 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/1.093, allocations: 16.86 kB / 1.11 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/1.093, allocations: 0.5312 kB / 1.11 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/1.093, allocations: 73.8 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/1.093, allocations: 0 / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002551/1.094, allocations: 85.58 kB / 1.11 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/1.094, allocations: 67.34 kB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.094, allocations: 104.9 kB / 1.11 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/1.094, allocations: 29.7 kB / 1.11 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/1.094, allocations: 92.23 kB / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/1.094, allocations: 19.75 kB / 1.11 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/1.094, allocations: 0 / 1.11 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.094, allocations: 322.8 kB / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/1.094, allocations: 32 kB / 1.11 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/1.094, allocations: 63.42 kB / 1.111 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/1.094, allocations: 69.67 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.094, allocations: 1.969 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003322/1.095, allocations: 171.2 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/1.095, allocations: 41.69 kB / 1.111 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.095, allocations: 0 / 1.111 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.095, allocations: 4.156 kB / 1.111 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/1.095, allocations: 19.97 kB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.095, allocations: 0 / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/1.095, allocations: 47.88 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/1.095, allocations: 15.94 kB / 1.111 GB, free: 8.246 MB / 0.7136 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 () * 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.734e-05/1.095, allocations: 112.9 kB / 1.111 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/1.095, allocations: 4 kB / 1.111 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/1.096, allocations: 88.64 kB / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.096, allocations: 3.938 kB / 1.111 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.096, allocations: 1.625 kB / 1.111 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.096, allocations: 3.984 kB / 1.111 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/1.096, allocations: 346.4 kB / 1.111 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.096, allocations: 0 / 1.111 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/1.096, allocations: 15.98 kB / 1.111 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.096, allocations: 0 / 1.111 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/1.096, allocations: 0 / 1.111 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.096, allocations: 0 / 1.111 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.096, allocations: 1.688 kB / 1.111 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/1.096, allocations: 183.5 kB / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/1.096, allocations: 88.95 kB / 1.112 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/1.096, allocations: 3.984 kB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/1.096, allocations: 8.812 kB / 1.112 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/1.097, allocations: 3.984 kB / 1.112 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/1.097, allocations: 4 kB / 1.112 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.049e-05/1.097, allocations: 88.78 kB / 1.112 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.097, allocations: 0 / 1.112 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002801/1.097, allocations: 39.88 kB / 1.112 GB, free: 7.168 MB / 0.7136 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) * 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.0002154/1.097, allocations: 107.2 kB / 1.112 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000267/1.097, allocations: 143.3 kB / 1.112 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.097, allocations: 4 kB / 1.112 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/1.097, allocations: 23.98 kB / 1.112 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/1.098, allocations: 12 kB / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/1.098, allocations: 108.1 kB / 1.112 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/1.098, allocations: 0.6916 MB / 1.113 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.004e-05/1.098, allocations: 4.188 kB / 1.113 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/1.098, allocations: 11.44 kB / 1.113 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/1.098, allocations: 0 / 1.113 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of Templates: time 0.003992/1.102, allocations: 1.212 MB / 1.114 GB, free: 4.848 MB / 0.7136 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)