Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.808/2.808, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 188.3 kB / 360.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.2 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001024, allocations: 85.91 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.49e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8459, allocations: 115.3 MB / 0.9634 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/1.089, allocations: 137.6 MB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.09, allocations: 67.97 kB / 1.098 GB, free: 2.816 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01265/1.102, allocations: 2.569 MB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/1.102, allocations: 0 / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.102, allocations: 0.7188 kB / 1.1 GB, free: 308 kB / 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.0007071/1.103, allocations: 398.4 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.103, allocations: 12.03 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/1.103, allocations: 6.047 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/1.103, allocations: 182.6 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.103, allocations: 0.9062 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/1.103, allocations: 8 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/1.104, allocations: 16.59 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/1.104, allocations: 54.17 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.104, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.104, allocations: 4.594 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/1.104, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/1.104, allocations: 299.6 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/1.104, allocations: 32.53 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/1.105, allocations: 18.64 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/1.105, allocations: 4.062 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/1.105, allocations: 78.14 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/1.105, allocations: 8 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002975/1.105, allocations: 77.59 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/1.105, allocations: 51.41 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/1.105, allocations: 101 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/1.105, allocations: 33.7 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/1.105, allocations: 88.23 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/1.106, allocations: 15.75 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/1.106, allocations: 4 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.106, allocations: 326.8 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/1.106, allocations: 32 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/1.106, allocations: 59.36 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/1.106, allocations: 47.53 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.106, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005719/1.107, allocations: 145.6 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/1.107, allocations: 34.48 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.107, allocations: 1.5 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.107, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/1.107, allocations: 11.98 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/1.107, allocations: 4 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/1.108, allocations: 55.92 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/1.108, allocations: 4 kB / 1.102 GB, free: 13.92 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.0001254/1.108, allocations: 117.2 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/1.108, allocations: 7.984 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/1.108, allocations: 82.28 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.108, allocations: 8 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.108, allocations: 3.938 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.108, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/1.109, allocations: 311 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.109, allocations: 4 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/1.109, allocations: 11.98 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.109, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.109, allocations: 1.312 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.109, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.109, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/1.109, allocations: 175.5 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/1.109, allocations: 81.02 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/1.109, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/1.109, allocations: 11.98 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/1.11, allocations: 11.92 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/1.11, allocations: 4 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.772e-05/1.11, allocations: 90.19 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/1.11, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004224/1.11, allocations: 31.92 kB / 1.103 GB, free: 12.89 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.0002143/1.11, allocations: 107.2 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000361/1.111, allocations: 138.4 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.111, allocations: 0 / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/1.111, allocations: 28.11 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/1.111, allocations: 17.38 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/1.111, allocations: 95.45 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/1.112, allocations: 0.6885 MB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.902e-05/1.112, allocations: 5.438 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/1.112, allocations: 15.44 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.112, allocations: 3.938 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.006323/1.118, allocations: 1.127 MB / 1.106 GB, free: 10.66 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)