Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.199/2.199, allocations: 248.7 MB / 256.2 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001431, allocations: 175.4 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001692/0.001692, allocations: 86 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.076e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1919, allocations: 106.2 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8604/1.052, allocations: 131.6 MB / 1.013 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.053, allocations: 75.33 kB / 1.013 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002774/1.055, allocations: 0.7462 MB / 1.013 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.372e-06/1.056, allocations: 0 / 1.013 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.056, allocations: 4 kB / 1.013 GB, free: 6.723 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005023/1.056, allocations: 330.5 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.056, allocations: 8.031 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/1.056, allocations: 12.34 kB / 1.014 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.056, allocations: 178.6 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/1.056, allocations: 3.984 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/1.056, allocations: 0 / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.001e-05/1.056, allocations: 15.69 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/1.057, allocations: 45.5 kB / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.057, allocations: 0 / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.057, allocations: 0 / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/1.057, allocations: 0 / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/1.057, allocations: 239.7 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.771e-05/1.057, allocations: 33.89 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/1.057, allocations: 11.98 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/1.057, allocations: 6.703 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/1.057, allocations: 58.78 kB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/1.057, allocations: 0 / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000194/1.058, allocations: 52.11 kB / 1.014 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.058, allocations: 59.39 kB / 1.014 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/1.058, allocations: 99.44 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/1.058, allocations: 29.7 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/1.058, allocations: 82.95 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/1.058, allocations: 7.891 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/1.058, allocations: 0 / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.058, allocations: 326.3 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/1.058, allocations: 7.188 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/1.058, allocations: 26.27 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/1.058, allocations: 12 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.058, allocations: 0 / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001322/1.058, allocations: 59.78 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.058, allocations: 8 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.058, allocations: 0 / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.058, allocations: 0 / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/1.059, allocations: 20.08 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.059, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.754e-05/1.059, allocations: 7.984 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/1.059, allocations: 4 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.744e-05/1.059, allocations: 112.1 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001515/1.059, allocations: 58.31 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/1.059, allocations: 3.906 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/1.059, allocations: 19.34 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.059, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.059, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.059, allocations: 3.953 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/1.06, allocations: 278.9 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.06, allocations: 144 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.858e-05/1.06, allocations: 11.98 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.06, allocations: 3.984 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/1.06, allocations: 4 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.06, allocations: 4 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/1.06, allocations: 3.953 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/1.06, allocations: 148.6 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/1.06, allocations: 92.33 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/1.06, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.06, allocations: 7.984 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.996e-05/1.06, allocations: 11.95 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/1.06, allocations: 0 / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.02e-05/1.06, allocations: 87.53 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/1.06, allocations: 4 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003041/1.061, allocations: 4 kB / 1.016 GB, free: 3.973 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: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005158/1.061, allocations: 0.6815 MB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001161/1.061, allocations: 26.42 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.061, allocations: 0 / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/1.061, allocations: 13 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/1.062, allocations: 9.906 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/1.062, allocations: 123.4 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/1.062, allocations: 0.6848 MB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.502e-05/1.062, allocations: 4 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/1.062, allocations: 14.42 kB / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/1.062, allocations: 4 kB / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/1.096, allocations: 0.9322 MB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005067/1.096, allocations: 164.3 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.306, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB