Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.802/4.802, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002526/0.002525, allocations: 361.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.328/4.328, allocations: 410.7 MB / 1.113 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002746/0.002746, allocations: 188.2 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004961, allocations: 12 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7286, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/0.941, allocations: 138.3 MB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.9413, allocations: 74.38 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.9532, allocations: 2.27 MB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9533, allocations: 0.5 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.9533, allocations: 4.594 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006253/0.9539, allocations: 418.8 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.954, allocations: 11.62 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.9541, allocations: 10.78 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.9542, allocations: 168.4 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.9542, allocations: 7.984 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.9543, allocations: 12 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.9547, allocations: 81.53 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.9547, allocations: 1.5 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.9547, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.9547, allocations: 3.938 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.9552, allocations: 58.55 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.9559, allocations: 350.4 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.9562, allocations: 70.39 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.9565, allocations: 32.97 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.9565, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.9569, allocations: 103.5 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.615e-06/0.9569, allocations: 7.375 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0009/0.9578, allocations: 166.3 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.9579, allocations: 51.41 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.958, allocations: 120.5 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.9581, allocations: 25.7 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.9582, allocations: 100.7 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.9583, allocations: 16.42 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.9583, allocations: 8 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.9584, allocations: 320.9 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.9588, allocations: 51.97 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.9592, allocations: 100 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.9596, allocations: 88.2 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9597, allocations: 0.7812 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00102/0.9607, allocations: 225.7 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/0.9608, allocations: 43.22 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.9608, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.9608, allocations: 4 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.9611, allocations: 23.88 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.9611, allocations: 4.312 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.9617, allocations: 55.64 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.9617, allocations: 7.938 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001504/0.9619, allocations: 119.5 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.962, allocations: 7.906 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/0.9626, allocations: 144.1 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.9626, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.9627, allocations: 4.516 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.9627, allocations: 0.5625 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008142/0.9635, allocations: 385.6 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.9635, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.9637, allocations: 8.938 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.9637, allocations: 3.984 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.9638, allocations: 9.875 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.9638, allocations: 7.953 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9638, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.9644, allocations: 221.9 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.9645, allocations: 85.64 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.9645, allocations: 0 / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.9647, allocations: 12.7 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.9648, allocations: 13.31 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.9648, allocations: 4 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.535e-05/0.9649, allocations: 91.27 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.3e-07/0.9649, allocations: 0.625 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006557/0.9656, allocations: 29 kB / 1.602 GB, free: 139.5 MB / 0.8542 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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.0001894/0.9658, allocations: 115.7 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000731/0.9666, allocations: 198.1 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9666, allocations: 3.938 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.9669, allocations: 39.98 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.9674, allocations: 12.53 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.968, allocations: 182.7 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.9682, allocations: 0.6926 MB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.119e-05/0.9683, allocations: 11.08 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.9683, allocations: 11.38 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.9683, allocations: 4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.005952/0.9743, allocations: 1.26 MB / 1.605 GB, free: 137 MB / 0.8542 GB