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.681/1.681, allocations: 288.3 MB / 303.2 MB, free: 8.164 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.001139/0.001139, allocations: 183.4 kB / 371.8 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.794/1.794, allocations: 205.4 MB / 0.6306 GB, free: 9.93 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.0009001/0.0009001, allocations: 82.94 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 15.38 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3209, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8409/1.162, allocations: 138.5 MB / 1.115 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.162, allocations: 77.19 kB / 1.115 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007552/1.17, allocations: 2.582 MB / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/1.17, allocations: 0 / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.17, allocations: 3.906 kB / 1.117 GB, free: 32.01 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.000526/1.17, allocations: 406.3 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.17, allocations: 11.69 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/1.17, allocations: 11.41 kB / 1.118 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/1.171, allocations: 170.9 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.171, allocations: 7.75 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/1.171, allocations: 6.828 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/1.171, allocations: 71.84 kB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.171, allocations: 0 / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/1.171, allocations: 3.875 kB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.171, allocations: 7.906 kB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/1.171, allocations: 54.56 kB / 1.118 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/1.172, allocations: 326.7 kB / 1.118 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/1.172, allocations: 55.17 kB / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/1.172, allocations: 0 / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/1.172, allocations: 99.5 kB / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/1.172, allocations: 0 / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004315/1.172, allocations: 149.5 kB / 1.119 GB, free: 30.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/1.173, allocations: 57.98 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/1.173, allocations: 103.4 kB / 1.119 GB, free: 30.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/1.173, allocations: 29.33 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/1.173, allocations: 94.59 kB / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/1.173, allocations: 19.47 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/1.173, allocations: 0 / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.173, allocations: 325.7 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/1.173, allocations: 55.41 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/1.173, allocations: 80.69 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/1.173, allocations: 87.64 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.173, allocations: 0 / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003863/1.174, allocations: 201.2 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/1.174, allocations: 47.98 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1.174, allocations: 0 / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.174, allocations: 0 / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/1.174, allocations: 17 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/1.174, allocations: 3.875 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/1.174, allocations: 45.31 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/1.174, allocations: 3.875 kB / 1.12 GB, free: 30.17 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 9.084e-05/1.174, allocations: 128 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/1.174, allocations: 7.719 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/1.175, allocations: 132.2 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1.175, allocations: 480 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.175, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/1.175, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/1.175, allocations: 376 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.175, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/1.175, allocations: 18.45 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.175, allocations: 6.688 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/1.175, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.175, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.175, allocations: 2.719 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/1.175, allocations: 219.3 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/1.175, allocations: 81.05 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/1.175, allocations: 6.375 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/1.176, allocations: 10.84 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/1.176, allocations: 7.125 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/1.176, allocations: 3.844 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.067e-05/1.176, allocations: 93.7 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.176, allocations: 0 / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002526/1.176, allocations: 23.28 kB / 1.121 GB, free: 29.38 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.0001514/1.176, allocations: 113.7 kB / 1.121 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003504/1.176, allocations: 180.7 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.176, allocations: 3.969 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/1.177, allocations: 39.88 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/1.177, allocations: 13.02 kB / 1.121 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/1.177, allocations: 180.3 kB / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/1.177, allocations: 0.6893 MB / 1.122 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.124e-05/1.177, allocations: 8 kB / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/1.177, allocations: 11.31 kB / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.177, allocations: 0 / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of Templates: time 0.003328/1.181, allocations: 1.22 MB / 1.123 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)