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.119/2.119, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.002008/0.002008, allocations: 184.7 kB / 325.6 MB, free: 2.852 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.559/2.559, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001105/0.001105, allocations: 94.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004964, allocations: 15.98 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.224, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2196/0.4436, allocations: 131.7 MB / 1.028 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.444, allocations: 75.95 kB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004642/0.4486, allocations: 1.118 MB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4487, allocations: 0 / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.4487, allocations: 4 kB / 1.029 GB, free: 12.36 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006872/0.4494, allocations: 388.3 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4494, allocations: 12.03 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.4495, allocations: 11.84 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.4497, allocations: 171 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.4497, allocations: 4 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.4497, allocations: 7.984 kB / 1.029 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.45, allocations: 81.66 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4501, allocations: 3.938 kB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4501, allocations: 0 / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.4501, allocations: 4 kB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.4505, allocations: 63.95 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.4511, allocations: 320.6 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.4514, allocations: 74.48 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.4514, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/0.4518, allocations: 87.48 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.4518, allocations: 4 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0007109/0.4525, allocations: 157.5 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.4526, allocations: 55.34 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.4527, allocations: 113.2 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4527, allocations: 25.7 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.4528, allocations: 92.16 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.4528, allocations: 27.72 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.4529, allocations: 4 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.453, allocations: 314.8 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.4532, allocations: 35.98 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.4534, allocations: 68.2 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.4536, allocations: 39.98 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4536, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004805/0.4541, allocations: 133.5 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4542, allocations: 8 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4542, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4542, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.4544, allocations: 23.92 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4544, allocations: 7.938 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.4546, allocations: 19.98 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.4546, allocations: 8.031 kB / 1.031 GB, free: 9.809 MB / 0.6823 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 () * Number of clocked 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.0001143/0.4548, allocations: 121.8 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.4548, allocations: 3.906 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.4553, allocations: 138.2 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4554, allocations: 0 / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4554, allocations: 3.984 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4554, allocations: 3.953 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.4562, allocations: 403.3 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4563, allocations: 384 / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.4564, allocations: 15.94 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.4564, allocations: 0 / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4564, allocations: 3.984 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4564, allocations: 7.891 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4565, allocations: 0 / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.4569, allocations: 215.5 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.457, allocations: 85.02 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.4571, allocations: 3.938 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.4573, allocations: 23.98 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.4573, allocations: 11.94 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.4574, allocations: 4 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.007e-05/0.4574, allocations: 91.27 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4574, allocations: 0 / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003269/0.4578, allocations: 16 kB / 1.032 GB, free: 8.578 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: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked 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.0001414/0.4579, allocations: 107.2 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.4584, allocations: 87.86 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4584, allocations: 0 / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.4586, allocations: 48.22 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.4589, allocations: 12 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.4595, allocations: 183.2 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.4598, allocations: 0.7063 MB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.354e-05/0.4598, allocations: 4 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.4599, allocations: 7.438 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.4599, allocations: 0 / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of Templates: time 0.003969/0.4639, allocations: 0.7639 MB / 1.034 GB, free: 6.605 MB / 0.6823 GB