Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.000983/0.0009829, allocations: 184.8 kB / 366.7 MB, free: 1.637 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.751/1.751, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008799/0.0008794, allocations: 93.48 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.146e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.7867, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2181/1.005, allocations: 138.7 MB / 1.109 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.005, allocations: 72.48 kB / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01046/1.016, allocations: 2.574 MB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/1.016, allocations: 0 / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.103e-05/1.016, allocations: 1.312 kB / 1.111 GB, free: 8.891 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.00068/1.016, allocations: 395.1 kB / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/1.016, allocations: 12.03 kB / 1.112 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/1.017, allocations: 10.56 kB / 1.112 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/1.017, allocations: 178.8 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/1.017, allocations: 0 / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/1.017, allocations: 11.98 kB / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001227/1.017, allocations: 12 kB / 1.112 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/1.017, allocations: 54.91 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.017, allocations: 0 / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/1.017, allocations: 2.156 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.017, allocations: 1.312 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/1.018, allocations: 298 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/1.018, allocations: 39.75 kB / 1.112 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/1.018, allocations: 17.67 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/1.018, allocations: 0 / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/1.018, allocations: 73.27 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.018, allocations: 4 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002778/1.019, allocations: 82.64 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/1.019, allocations: 59.39 kB / 1.113 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/1.019, allocations: 97 kB / 1.113 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/1.019, allocations: 29.7 kB / 1.113 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.019, allocations: 100.2 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/1.019, allocations: 21.62 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/1.019, allocations: 0 / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.019, allocations: 318.8 kB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/1.019, allocations: 32 kB / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/1.019, allocations: 61.83 kB / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/1.02, allocations: 43.97 kB / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.02, allocations: 0 / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004998/1.02, allocations: 137.6 kB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/1.02, allocations: 41.69 kB / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.02, allocations: 0 / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.02, allocations: 7.984 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/1.021, allocations: 11.98 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.021, allocations: 8.062 kB / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/1.021, allocations: 47.5 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/1.021, allocations: 7.984 kB / 1.113 GB, free: 6.516 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 0.0001186/1.021, allocations: 118.1 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/1.021, allocations: 4 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/1.021, allocations: 90.16 kB / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.021, allocations: 4 kB / 1.114 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.021, allocations: 1.688 kB / 1.114 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/1.021, allocations: 3.984 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/1.022, allocations: 307 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.022, allocations: 0 / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.022, allocations: 19.92 kB / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.022, allocations: 0 / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.022, allocations: 0 / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.022, allocations: 0 / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.022, allocations: 4 kB / 1.114 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/1.022, allocations: 175.5 kB / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/1.022, allocations: 81.02 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/1.022, allocations: 0 / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/1.022, allocations: 19.98 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/1.023, allocations: 4 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/1.023, allocations: 3.984 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.633e-05/1.023, allocations: 89.16 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/1.023, allocations: 0 / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004485/1.023, allocations: 23.94 kB / 1.114 GB, free: 5.496 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.0002088/1.023, allocations: 115.2 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003096/1.024, allocations: 131.4 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.024, allocations: 4 kB / 1.115 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/1.024, allocations: 23.94 kB / 1.115 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/1.024, allocations: 18.28 kB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/1.024, allocations: 89.17 kB / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/1.025, allocations: 0.6925 MB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.822e-05/1.025, allocations: 5.438 kB / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/1.025, allocations: 15.42 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/1.025, allocations: 0 / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of Templates: time 0.005004/1.03, allocations: 1.137 MB / 1.117 GB, free: 3.266 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)