Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.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.IntegerSwitch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",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.263/2.263, allocations: 248.5 MB / 261.1 MB, free: 6.043 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.001419/0.001419, allocations: 183.2 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001151/0.001151, allocations: 97.53 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.546e-05/4.558e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 106.3 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9576/1.172, allocations: 131.6 MB / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.172, allocations: 72.27 kB / 1.019 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006649/1.179, allocations: 1.613 MB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.462e-06/1.179, allocations: 0 / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.179, allocations: 0 / 1.021 GB, free: 2.109 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007723/1.179, allocations: 416.2 kB / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.179, allocations: 8.031 kB / 1.021 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/1.18, allocations: 42.11 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/1.18, allocations: 19.75 kB / 1.021 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/1.18, allocations: 185.9 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/1.18, allocations: 7.5 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/1.18, allocations: 11.88 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/1.18, allocations: 91.72 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.18, allocations: 7.938 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/1.18, allocations: 7.172 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.18, allocations: 4 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/1.18, allocations: 51.25 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007902/1.181, allocations: 394 kB / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/1.182, allocations: 81.8 kB / 1.022 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.69e-05/1.182, allocations: 30.73 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/1.182, allocations: 4 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/1.182, allocations: 99.92 kB / 1.022 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/1.182, allocations: 0 / 1.022 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003452/1.182, allocations: 108.3 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/1.182, allocations: 55.41 kB / 1.022 GB, free: 500 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/1.183, allocations: 148.2 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/1.183, allocations: 33.58 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/1.183, allocations: 105.6 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/1.183, allocations: 21.31 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/1.183, allocations: 10.94 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.183, allocations: 328.7 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/1.183, allocations: 24.5 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/1.183, allocations: 53.11 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.601e-05/1.183, allocations: 25.12 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.183, allocations: 4 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002919/1.184, allocations: 129.9 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.184, allocations: 13.19 kB / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.184, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.184, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/1.184, allocations: 23.92 kB / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.184, allocations: 4 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/1.184, allocations: 35.8 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/1.184, allocations: 4.781 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001127/1.184, allocations: 119.3 kB / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/1.184, allocations: 11.86 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/1.184, allocations: 19.98 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/1.184, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.184, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.184, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/1.185, allocations: 217.8 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.185, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/1.185, allocations: 11.94 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.185, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/1.185, allocations: 11.89 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.185, allocations: 3.984 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.185, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/1.185, allocations: 150.2 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/1.185, allocations: 89.02 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/1.185, allocations: 2.75 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.186, allocations: 27.92 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/1.186, allocations: 19.78 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/1.186, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001123/1.186, allocations: 109.7 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/1.186, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002878/1.186, allocations: 31.8 kB / 1.024 GB, free: 14.76 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0006487/1.187, allocations: 0.6792 MB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002747/1.187, allocations: 84.81 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.187, allocations: 192 / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/1.187, allocations: 54.36 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/1.188, allocations: 26.67 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/1.188, allocations: 199.6 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/1.189, allocations: 0.7126 MB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.499e-05/1.189, allocations: 17.14 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.981e-05/1.189, allocations: 39.98 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.189, allocations: 0 / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/1.213, allocations: 2.465 MB / 1.028 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004659/1.214, allocations: 181.1 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.741, allocations: 2.672 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB