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.TriggeredSampler.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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.329/2.329, allocations: 252.6 MB / 265.2 MB, free: 5.723 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.001503/0.001502, allocations: 185.4 kB / 324.5 MB, free: 14.39 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.226/2.226, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001146/0.001146, allocations: 110.9 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.622e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1944, allocations: 106.2 MB / 0.8949 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9588/1.153, allocations: 131.7 MB / 1.023 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.154, allocations: 68.47 kB / 1.024 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004857/1.159, allocations: 1.134 MB / 1.025 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.159, allocations: 0 / 1.025 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.159, allocations: 4 kB / 1.025 GB, free: 1.84 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006642/1.159, allocations: 374.2 kB / 1.025 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.159, allocations: 8.031 kB / 1.025 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/1.159, allocations: 4 kB / 1.025 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/1.16, allocations: 182.8 kB / 1.025 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/1.16, allocations: 11.75 kB / 1.025 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/1.16, allocations: 4 kB / 1.025 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/1.16, allocations: 65.98 kB / 1.025 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.16, allocations: 0 / 1.025 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/1.16, allocations: 0 / 1.025 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/1.16, allocations: 4 kB / 1.025 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/1.16, allocations: 30.05 kB / 1.025 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/1.161, allocations: 304.2 kB / 1.026 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/1.161, allocations: 53.89 kB / 1.026 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.882e-05/1.161, allocations: 22.23 kB / 1.026 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/1.161, allocations: 0 / 1.026 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/1.161, allocations: 78.72 kB / 1.026 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.605e-06/1.161, allocations: 0 / 1.026 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003486/1.162, allocations: 95.05 kB / 1.026 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.162, allocations: 58.78 kB / 1.026 GB, free: 496 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/1.162, allocations: 110.6 kB / 1.026 GB, free: 380 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/1.162, allocations: 29.64 kB / 1.026 GB, free: 344 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/1.162, allocations: 95.12 kB / 1.026 GB, free: 252 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/1.162, allocations: 23.09 kB / 1.026 GB, free: 232 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/1.162, allocations: 0 / 1.026 GB, free: 232 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.162, allocations: 321.4 kB / 1.026 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/1.162, allocations: 18.62 kB / 1.026 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/1.162, allocations: 42.98 kB / 1.027 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.628e-05/1.163, allocations: 22.92 kB / 1.027 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.163, allocations: 4 kB / 1.027 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002557/1.163, allocations: 97.11 kB / 1.027 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.163, allocations: 8 kB / 1.027 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/1.163, allocations: 0 / 1.027 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.163, allocations: 0 / 1.027 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/1.163, allocations: 27.88 kB / 1.027 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.163, allocations: 0 / 1.027 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/1.163, allocations: 27.83 kB / 1.027 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/1.163, allocations: 4 kB / 1.027 GB, free: 15.68 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001109/1.164, allocations: 108.6 kB / 1.027 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/1.164, allocations: 4 kB / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/1.164, allocations: 95.42 kB / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.164, allocations: 0 / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.164, allocations: 7.953 kB / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.164, allocations: 3.984 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/1.165, allocations: 365.7 kB / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.165, allocations: 3.938 kB / 1.027 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/1.165, allocations: 19.17 kB / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.165, allocations: 0 / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/1.165, allocations: 7.953 kB / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.165, allocations: 0.5625 kB / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.165, allocations: 48 / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/1.165, allocations: 196.5 kB / 1.027 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/1.165, allocations: 81.11 kB / 1.028 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/1.165, allocations: 0.625 kB / 1.028 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.165, allocations: 23.92 kB / 1.028 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/1.165, allocations: 10.67 kB / 1.028 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/1.165, allocations: 4.375 kB / 1.028 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.236e-05/1.166, allocations: 94.47 kB / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.166, allocations: 0 / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003298/1.166, allocations: 15.44 kB / 1.028 GB, free: 14.62 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: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001701/1.166, allocations: 95.25 kB / 1.028 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002197/1.166, allocations: 63.3 kB / 1.028 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.166, allocations: 0 / 1.028 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/1.166, allocations: 26.19 kB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/1.167, allocations: 12.34 kB / 1.028 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/1.167, allocations: 107.2 kB / 1.028 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/1.168, allocations: 0.6928 MB / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.508e-05/1.168, allocations: 11.95 kB / 1.029 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/1.168, allocations: 11.44 kB / 1.029 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.168, allocations: 0 / 1.029 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.00431/1.172, allocations: 0.7781 MB / 1.029 GB, free: 12.82 MB / 0.6511 GB