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.572/2.572, allocations: 253.2 MB / 260.6 MB, free: 7.445 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.001455/0.001455, allocations: 176.8 kB / 319.9 MB, free: 3.043 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.275/2.275, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001041/0.001041, allocations: 78.72 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.763e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2173, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8962/1.114, allocations: 131.9 MB / 1.017 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.114, allocations: 77.31 kB / 1.018 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004484/1.118, allocations: 1.122 MB / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.119, allocations: 0 / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.119, allocations: 0 / 1.019 GB, free: 4.41 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.0006153/1.119, allocations: 381.7 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.119, allocations: 8.031 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/1.119, allocations: 6.312 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/1.119, allocations: 182.8 kB / 1.019 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/1.12, allocations: 4 kB / 1.019 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/1.12, allocations: 4 kB / 1.019 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001154/1.12, allocations: 23.56 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/1.12, allocations: 57.31 kB / 1.019 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/1.12, allocations: 0 / 1.019 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/1.12, allocations: 4 kB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.12, allocations: 0 / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/1.12, allocations: 278.4 kB / 1.02 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/1.121, allocations: 53.19 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/1.121, allocations: 23.67 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/1.121, allocations: 0 / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/1.121, allocations: 78.34 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/1.121, allocations: 0 / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002478/1.121, allocations: 79.27 kB / 1.02 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.121, allocations: 55.41 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.121, allocations: 113.2 kB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/1.121, allocations: 29.7 kB / 1.02 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/1.121, allocations: 84.08 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/1.122, allocations: 22.72 kB / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-06/1.122, allocations: 0 / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.122, allocations: 322.4 kB / 1.02 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/1.122, allocations: 19 kB / 1.02 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.824e-05/1.122, allocations: 51.05 kB / 1.02 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.465e-05/1.122, allocations: 19.11 kB / 1.02 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.122, allocations: 4 kB / 1.02 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002098/1.122, allocations: 79.92 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.122, allocations: 8 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.122, allocations: 3.938 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.122, allocations: 4.125 kB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/1.122, allocations: 23.92 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.123, allocations: 0 / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/1.123, allocations: 23.84 kB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/1.123, allocations: 4 kB / 1.021 GB, free: 2.316 MB / 0.6355 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.000108/1.123, allocations: 113.3 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/1.123, allocations: 4 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/1.123, allocations: 92.39 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.123, allocations: 3.938 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.123, allocations: 0 / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.123, allocations: 3.984 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/1.124, allocations: 342.9 kB / 1.021 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.124, allocations: 4 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/1.124, allocations: 15.92 kB / 1.021 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/1.124, allocations: 4 kB / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.124, allocations: 3.375 kB / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/1.124, allocations: 0 / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.124, allocations: 0 / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/1.124, allocations: 183.5 kB / 1.021 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/1.124, allocations: 85.09 kB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/1.124, allocations: 4 kB / 1.021 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/1.125, allocations: 11.98 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/1.125, allocations: 10.55 kB / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/1.125, allocations: 4 kB / 1.021 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.701e-05/1.125, allocations: 94.05 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.125, allocations: 0 / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003228/1.125, allocations: 19.5 kB / 1.022 GB, free: 1.316 MB / 0.6355 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.0001471/1.125, allocations: 103.2 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001791/1.125, allocations: 38.5 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.125, allocations: 0 / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/1.125, allocations: 27.97 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/1.126, allocations: 17.55 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/1.126, allocations: 111.9 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/1.127, allocations: 0.6924 MB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.877e-05/1.127, allocations: 11.94 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/1.127, allocations: 7.438 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/1.127, allocations: 4 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of Templates: time 0.004036/1.131, allocations: 0.7341 MB / 1.023 GB, free: 15.57 MB / 0.6511 GB