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.277/2.277, allocations: 252.6 MB / 265.2 MB, free: 5.648 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002295/0.002295, allocations: 173.6 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.231/2.231, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001158/0.001158, allocations: 97.88 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.951e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2527, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.341, allocations: 131.7 MB / 1.024 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.342, allocations: 72.02 kB / 1.024 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006358/1.348, allocations: 1.464 MB / 1.025 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.348, allocations: 0 / 1.025 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.348, allocations: 4 kB / 1.025 GB, free: 1.465 MB / 0.6355 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.0006202/1.349, allocations: 370.7 kB / 1.025 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.349, allocations: 8.031 kB / 1.025 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/1.349, allocations: 7.906 kB / 1.025 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/1.349, allocations: 178.6 kB / 1.026 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/1.349, allocations: 0 / 1.026 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/1.349, allocations: 4 kB / 1.026 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/1.349, allocations: 63.53 kB / 1.026 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.349, allocations: 0 / 1.026 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.349, allocations: 0 / 1.026 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.349, allocations: 4 kB / 1.026 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/1.35, allocations: 22.55 kB / 1.026 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/1.35, allocations: 293.7 kB / 1.026 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/1.35, allocations: 48.75 kB / 1.026 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/1.35, allocations: 15.98 kB / 1.026 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/1.35, allocations: 7.938 kB / 1.026 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/1.351, allocations: 60.58 kB / 1.026 GB, free: 308 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.318e-06/1.351, allocations: 3.938 kB / 1.026 GB, free: 304 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000253/1.351, allocations: 83.64 kB / 1.026 GB, free: 224 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/1.351, allocations: 58.84 kB / 1.026 GB, free: 156 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.351, allocations: 108.3 kB / 1.026 GB, free: 44 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/1.351, allocations: 29.08 kB / 1.026 GB, free: 12 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/1.351, allocations: 87.39 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/1.351, allocations: 15.3 kB / 1.026 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/1.351, allocations: 4 kB / 1.026 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.351, allocations: 313.8 kB / 1.027 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/1.351, allocations: 11.5 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.709e-05/1.352, allocations: 44.19 kB / 1.027 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/1.352, allocations: 14.56 kB / 1.027 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.352, allocations: 4 kB / 1.027 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002112/1.352, allocations: 84.02 kB / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.352, allocations: 8 kB / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.352, allocations: 0.875 kB / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.352, allocations: 0 / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/1.352, allocations: 23.97 kB / 1.027 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.352, allocations: 4 kB / 1.027 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/1.352, allocations: 18.23 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/1.352, allocations: 4 kB / 1.027 GB, free: 15.4 MB / 0.6511 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 () * 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 9.962e-05/1.352, allocations: 111.7 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/1.353, allocations: 3.906 kB / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/1.353, allocations: 89.67 kB / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.353, allocations: 4 kB / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.353, allocations: 3.953 kB / 1.027 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.353, allocations: 3.984 kB / 1.027 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/1.353, allocations: 349 kB / 1.027 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.353, allocations: 0 / 1.027 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/1.354, allocations: 23.61 kB / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.354, allocations: 0 / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/1.354, allocations: 3.953 kB / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.354, allocations: 0 / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.354, allocations: 0 / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/1.354, allocations: 176.5 kB / 1.028 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/1.354, allocations: 85.09 kB / 1.028 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/1.354, allocations: 192 / 1.028 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/1.354, allocations: 23.94 kB / 1.028 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/1.354, allocations: 15.2 kB / 1.028 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/1.354, allocations: 3.984 kB / 1.028 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.548e-05/1.354, allocations: 91.77 kB / 1.028 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.354, allocations: 0 / 1.028 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002969/1.355, allocations: 12 kB / 1.028 GB, free: 14.38 MB / 0.6511 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) * 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.0001414/1.355, allocations: 106.8 kB / 1.028 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001801/1.355, allocations: 42.44 kB / 1.028 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.355, allocations: 0 / 1.028 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/1.355, allocations: 23.44 kB / 1.028 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/1.355, allocations: 11.42 kB / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/1.356, allocations: 104.1 kB / 1.028 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/1.356, allocations: 0.6927 MB / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.945e-05/1.356, allocations: 11.84 kB / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/1.356, allocations: 7.438 kB / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.253e-06/1.356, allocations: 7.938 kB / 1.029 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of Templates: time 0.004146/1.36, allocations: 0.7395 MB / 1.03 GB, free: 12.63 MB / 0.6511 GB