Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Validation.Switch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.189/2.189, allocations: 248.5 MB / 261.1 MB, free: 6.012 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.001476/0.001476, allocations: 176.1 kB / 320.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.2 MB / 0.571 GB, free: 11.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.001139, allocations: 99.66 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.626e-05/5.654e-05, allocations: 4 kB / 0.7869 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2267, allocations: 106.2 MB / 0.8907 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8606/1.087, allocations: 131.5 MB / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.088, allocations: 73.02 kB / 1.019 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004652/1.092, allocations: 1.108 MB / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.092, allocations: 3.938 kB / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.658e-06/1.092, allocations: 4 kB / 1.02 GB, free: 2.672 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007326/1.093, allocations: 381.4 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.093, allocations: 8.031 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/1.093, allocations: 33.81 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/1.093, allocations: 7.906 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/1.093, allocations: 186.8 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.093, allocations: 4 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/1.093, allocations: 3.938 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/1.094, allocations: 52.94 kB / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.094, allocations: 3.938 kB / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/1.094, allocations: 0 / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.094, allocations: 0 / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/1.094, allocations: 31.31 kB / 1.021 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/1.094, allocations: 296.5 kB / 1.021 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/1.094, allocations: 38.02 kB / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/1.095, allocations: 26.03 kB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/1.095, allocations: 0 / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/1.095, allocations: 69.7 kB / 1.021 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/1.095, allocations: 0 / 1.021 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000248/1.095, allocations: 76.61 kB / 1.021 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/1.095, allocations: 51.41 kB / 1.021 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/1.095, allocations: 112.1 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/1.095, allocations: 29.64 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/1.095, allocations: 90.7 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/1.095, allocations: 19.45 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/1.095, allocations: 0 / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.095, allocations: 322.1 kB / 1.022 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/1.096, allocations: 11.44 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/1.096, allocations: 28.66 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/1.096, allocations: 18.73 kB / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.096, allocations: 0 / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001887/1.096, allocations: 76.12 kB / 1.022 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.096, allocations: 4 kB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.096, allocations: 32 / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.096, allocations: 7.938 kB / 1.022 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/1.096, allocations: 23.98 kB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.096, allocations: 3.953 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/1.096, allocations: 31.28 kB / 1.022 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/1.096, allocations: 4 kB / 1.022 GB, free: 0.5703 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.421e-05/1.097, allocations: 112.1 kB / 1.022 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/1.097, allocations: 7.906 kB / 1.022 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/1.097, allocations: 7.75 kB / 1.022 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.097, allocations: 0 / 1.022 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.097, allocations: 4 kB / 1.022 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.097, allocations: 7.938 kB / 1.022 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/1.097, allocations: 179.5 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.097, allocations: 0 / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/1.097, allocations: 31.42 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.097, allocations: 0 / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.097, allocations: 3.984 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.097, allocations: 0 / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.097, allocations: 0 / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/1.097, allocations: 99.11 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.707e-05/1.098, allocations: 89.02 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/1.098, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/1.098, allocations: 27.34 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/1.098, allocations: 7.984 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/1.098, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.512e-05/1.098, allocations: 95.33 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.098, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002438/1.098, allocations: 16 kB / 1.023 GB, free: 15.84 MB / 0.6511 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 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0005254/1.099, allocations: 0.641 MB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001829/1.099, allocations: 42.19 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.099, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/1.099, allocations: 26.81 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/1.099, allocations: 12.12 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/1.1, allocations: 136.6 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/1.1, allocations: 0.6887 MB / 1.024 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.843e-05/1.1, allocations: 12.17 kB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/1.1, allocations: 13.62 kB / 1.024 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of SimCode: time 7.82e-07/1.1, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/1.12, allocations: 1.735 MB / 1.026 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003093/1.12, allocations: 155.5 kB / 1.026 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/3.519, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.6511 GB