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.721/1.721, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001076/0.001076, allocations: 187.3 kB / 377.1 MB, free: 1.504 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.753/1.753, allocations: 205.4 MB / 0.6367 GB, free: 8.609 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.0008437/0.0008437, allocations: 87.44 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2813, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8718/1.153, allocations: 139.5 MB / 1.125 GB, free: 35.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/1.153, allocations: 75.44 kB / 1.125 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006909/1.16, allocations: 2.586 MB / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.725e-06/1.16, allocations: 0 / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.703e-06/1.16, allocations: 0.6562 kB / 1.127 GB, free: 33.35 MB / 0.7292 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.0004797/1.161, allocations: 416.3 kB / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.161, allocations: 12.02 kB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/1.161, allocations: 9.969 kB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/1.161, allocations: 167.8 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/1.161, allocations: 4 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/1.161, allocations: 7.938 kB / 1.128 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/1.161, allocations: 77.03 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.161, allocations: 4.938 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.161, allocations: 0 / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/1.161, allocations: 0 / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/1.162, allocations: 59.5 kB / 1.128 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/1.162, allocations: 327.6 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/1.162, allocations: 55.92 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/1.162, allocations: 0 / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/1.163, allocations: 93.14 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/1.163, allocations: 4 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000417/1.163, allocations: 159.6 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/1.163, allocations: 51.41 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/1.163, allocations: 105.4 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/1.163, allocations: 29.7 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/1.163, allocations: 95.73 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/1.163, allocations: 11.81 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/1.163, allocations: 4.938 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/1.163, allocations: 326.3 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/1.163, allocations: 46.94 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/1.164, allocations: 89.5 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/1.164, allocations: 85.39 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.164, allocations: 0 / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003784/1.164, allocations: 208.3 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/1.164, allocations: 37.7 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.164, allocations: 1.359 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.164, allocations: 4 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/1.164, allocations: 12.14 kB / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.164, allocations: 7.938 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/1.165, allocations: 46.34 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/1.165, allocations: 7.469 kB / 1.13 GB, free: 30.8 MB / 0.7292 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.0001075/1.165, allocations: 121.8 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/1.165, allocations: 11.22 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/1.165, allocations: 132.1 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.165, allocations: 0.5625 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.165, allocations: 3.938 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.165, allocations: 3.469 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/1.165, allocations: 370.1 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.165, allocations: 0.75 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/1.166, allocations: 11.56 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.166, allocations: 0 / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.166, allocations: 4 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.166, allocations: 0 / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/1.166, allocations: 4.75 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/1.166, allocations: 229.3 kB / 1.13 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/1.166, allocations: 82.08 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/1.166, allocations: 0 / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/1.166, allocations: 11.52 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/1.166, allocations: 7.422 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/1.166, allocations: 4.625 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.297e-05/1.166, allocations: 87.83 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.166, allocations: 0 / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002476/1.166, allocations: 24 kB / 1.131 GB, free: 29.7 MB / 0.7292 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.0001557/1.167, allocations: 118.6 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003215/1.167, allocations: 177.3 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.167, allocations: 4.125 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/1.167, allocations: 47.61 kB / 1.131 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/1.167, allocations: 7.328 kB / 1.131 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/1.168, allocations: 178.5 kB / 1.131 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/1.168, allocations: 0.6929 MB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.488e-05/1.168, allocations: 9.844 kB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/1.168, allocations: 11.44 kB / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.168, allocations: 0 / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.003612/1.171, allocations: 1.213 MB / 1.133 GB, free: 27.78 MB / 0.7292 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)