Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.467/2.467, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001984/0.001983, allocations: 186.4 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.503/2.503, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 106.2 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004975, allocations: 12.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2375, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2414/0.4789, allocations: 131.8 MB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003631/0.4794, allocations: 75.94 kB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007833/0.4872, allocations: 1.461 MB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4873, allocations: 0 / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.4873, allocations: 4 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007287/0.488, allocations: 388.4 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4881, allocations: 8.031 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.4882, allocations: 8 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4883, allocations: 174.9 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.4884, allocations: 7.969 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.4884, allocations: 4 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.4887, allocations: 69.66 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4887, allocations: 4 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4888, allocations: 4 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.4888, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.4891, allocations: 59.89 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.4897, allocations: 288.8 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.49, allocations: 58.55 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.49, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.4903, allocations: 91.42 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.4904, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006986/0.4911, allocations: 149.5 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.4911, allocations: 59.42 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4913, allocations: 105 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.4913, allocations: 29.7 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.4914, allocations: 89 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.4914, allocations: 19.66 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.4914, allocations: 8 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4916, allocations: 314.8 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.4918, allocations: 31.97 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.492, allocations: 50.5 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.4922, allocations: 39.97 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4922, allocations: 0 / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004482/0.4927, allocations: 117.6 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4927, allocations: 6.031 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4927, allocations: 0 / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4928, allocations: 0 / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.4929, allocations: 19.98 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.493, allocations: 8.578 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.4931, allocations: 23.98 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4932, allocations: 3.938 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001185/0.4933, allocations: 117.8 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.4933, allocations: 7.906 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.4939, allocations: 122 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4939, allocations: 0 / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4939, allocations: 0 / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.4939, allocations: 4.047 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.4947, allocations: 390.5 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4948, allocations: 7.984 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4949, allocations: 11.98 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4949, allocations: 0 / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4949, allocations: 0 / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4949, allocations: 3.953 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4949, allocations: 0 / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.4955, allocations: 219.3 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.4955, allocations: 81.02 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.4956, allocations: 7.984 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.4958, allocations: 19.98 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.4958, allocations: 12.12 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4959, allocations: 4 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.4959, allocations: 87.22 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.496, allocations: 0 / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003066/0.4963, allocations: 12 kB / 1.032 GB, free: 8.336 MB / 0.6823 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 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * 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.0001483/0.4964, allocations: 107.2 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.4969, allocations: 75.89 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4969, allocations: 4 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4971, allocations: 40.03 kB / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.4974, allocations: 8 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.4979, allocations: 174.6 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.4984, allocations: 0.6926 MB / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.229e-05/0.4984, allocations: 7.859 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.4985, allocations: 11.44 kB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of SimCode: time 6.22e-07/0.4985, allocations: 0 / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of Templates: time 0.003893/0.5024, allocations: 0.7353 MB / 1.034 GB, free: 6.426 MB / 0.6823 GB