Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 194.9 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.685/1.685, allocations: 251.7 MB / 0.5088 GB, free: 3.266 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 72.47 kB / 0.6216 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/0.7453, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002549/0.7479, allocations: 1.538 MB / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000405/0.7483, allocations: 244 kB / 0.7255 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.7484, allocations: 0 / 0.7255 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.7484, allocations: 0 / 0.7255 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.7485, allocations: 11.86 kB / 0.7256 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.7487, allocations: 27.97 kB / 0.7256 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.7488, allocations: 59.84 kB / 0.7256 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.7489, allocations: 16.19 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.7489, allocations: 23.86 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.749, allocations: 27.91 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.749, allocations: 4 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.749, allocations: 7.938 kB / 0.7257 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.7491, allocations: 11.98 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.7491, allocations: 31.84 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.345e-05/0.7492, allocations: 59.78 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7492, allocations: 4 kB / 0.7258 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7492, allocations: 0 / 0.7258 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.7492, allocations: 0 / 0.7258 GB, free: 11.04 MB / 0.545 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.0005354/0.7498, allocations: 385.2 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.7498, allocations: 16.02 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.7499, allocations: 8.938 kB / 0.7262 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.75, allocations: 176.2 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.75, allocations: 4.312 kB / 0.7264 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.75, allocations: 8.375 kB / 0.7264 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.7502, allocations: 70.22 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7502, allocations: 7.875 kB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.7503, allocations: 4 kB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.7503, allocations: 4 kB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.7505, allocations: 59.88 kB / 0.7265 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.7509, allocations: 304.7 kB / 0.7268 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.7511, allocations: 62.55 kB / 0.7269 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.7512, allocations: 36.97 kB / 0.7269 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.7512, allocations: 3.938 kB / 0.7269 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.7514, allocations: 83.36 kB / 0.727 GB, free: 9.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.7514, allocations: 0 / 0.727 GB, free: 9.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004018/0.7519, allocations: 145.5 kB / 0.7271 GB, free: 9.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.7519, allocations: 55.41 kB / 0.7272 GB, free: 9.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.752, allocations: 125.8 kB / 0.7273 GB, free: 9.324 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.752, allocations: 25.7 kB / 0.7273 GB, free: 9.293 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.7521, allocations: 103.8 kB / 0.7274 GB, free: 9.188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.7521, allocations: 11.92 kB / 0.7274 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.7521, allocations: 33.64 kB / 0.7275 GB, free: 9.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7523, allocations: 326.8 kB / 0.7278 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.7524, allocations: 23.98 kB / 0.7278 GB, free: 8.785 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.7525, allocations: 60.27 kB / 0.7279 GB, free: 8.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.7527, allocations: 96.19 kB / 0.728 GB, free: 8.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7527, allocations: 0 / 0.728 GB, free: 8.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/0.753, allocations: 129.4 kB / 0.7281 GB, free: 8.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.753, allocations: 8.125 kB / 0.7281 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.753, allocations: 4 kB / 0.7281 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.753, allocations: 0 / 0.7281 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.7531, allocations: 15.98 kB / 0.7281 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7531, allocations: 0 / 0.7281 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.671e-05/0.7532, allocations: 15.92 kB / 0.7281 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.7532, allocations: 7.938 kB / 0.7281 GB, free: 8.418 MB / 0.545 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 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,$whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/0.7533, allocations: 129.8 kB / 0.7283 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.7534, allocations: 7.891 kB / 0.7283 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.7536, allocations: 114.4 kB / 0.7284 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7537, allocations: 0 / 0.7284 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.7537, allocations: 8 kB / 0.7284 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7537, allocations: 0 / 0.7284 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.7542, allocations: 402.2 kB / 0.7288 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7542, allocations: 0 / 0.7288 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.7542, allocations: 7.984 kB / 0.7288 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.7542, allocations: 4 kB / 0.7288 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.7543, allocations: 0 / 0.7288 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.7543, allocations: 3.938 kB / 0.7288 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7543, allocations: 0 / 0.7288 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.7546, allocations: 215.9 kB / 0.729 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.7546, allocations: 81.02 kB / 0.7291 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.7546, allocations: 11.92 kB / 0.7291 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.7547, allocations: 11.92 kB / 0.7291 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.7548, allocations: 7.984 kB / 0.7291 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.7548, allocations: 8 kB / 0.7291 GB, free: 7.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.7548, allocations: 91.27 kB / 0.7292 GB, free: 7.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7548, allocations: 4 kB / 0.7292 GB, free: 7.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002252/0.7551, allocations: 12 kB / 0.7292 GB, free: 7.215 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.7552, allocations: 99.47 kB / 0.7293 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.7555, allocations: 75.97 kB / 0.7294 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7555, allocations: 0 / 0.7294 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.7556, allocations: 48.14 kB / 0.7294 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.7559, allocations: 15.92 kB / 0.7294 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.7563, allocations: 191.6 kB / 0.7296 GB, free: 6.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.7565, allocations: 0.6926 MB / 0.7303 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.7566, allocations: 7.984 kB / 0.7303 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.7566, allocations: 11.44 kB / 0.7303 GB, free: 6.023 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.7566, allocations: 0 / 0.7303 GB, free: 6.023 MB / 0.545 GB Notification: Performance of Templates: time 0.00282/0.7594, allocations: 0.8092 MB / 0.7311 GB, free: 5.223 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)