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.296/2.296, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001493/0.001492, allocations: 186 kB / 315.4 MB, free: 4.008 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.08/2.08, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001093/0.001093, allocations: 86.61 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.834e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.207, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9092/1.116, allocations: 131.9 MB / 1.013 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.117, allocations: 77.89 kB / 1.013 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00658/1.123, allocations: 1.605 MB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/1.123, allocations: 0 / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.687e-06/1.123, allocations: 0 / 1.015 GB, free: 5.387 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.0007949/1.124, allocations: 410.5 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.124, allocations: 8.031 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/1.124, allocations: 15.81 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/1.124, allocations: 193.7 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/1.124, allocations: 4 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/1.124, allocations: 4 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001906/1.125, allocations: 54.11 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/1.125, allocations: 80.98 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.125, allocations: 7.984 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/1.125, allocations: 0 / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/1.125, allocations: 4 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/1.126, allocations: 352 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/1.126, allocations: 76.89 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/1.126, allocations: 28.27 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/1.126, allocations: 4 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/1.126, allocations: 102.1 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.505e-06/1.126, allocations: 0 / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003194/1.127, allocations: 104.2 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/1.127, allocations: 55.41 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/1.127, allocations: 128.4 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/1.127, allocations: 25.7 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/1.127, allocations: 107.7 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/1.127, allocations: 23.34 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/1.127, allocations: 0 / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.127, allocations: 326.5 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/1.127, allocations: 26.78 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/1.127, allocations: 56.52 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.838e-05/1.127, allocations: 25.95 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.127, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002557/1.128, allocations: 112.7 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.128, allocations: 4 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.128, allocations: 7.953 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.128, allocations: 0 / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/1.128, allocations: 23.55 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/1.128, allocations: 4 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/1.128, allocations: 23.92 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/1.128, allocations: 8 kB / 1.017 GB, free: 3.027 MB / 0.6355 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.0001074/1.128, allocations: 116.5 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002393/1.129, allocations: 100.8 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/1.129, allocations: 11.86 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/1.129, allocations: 16.17 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.129, allocations: 4 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.129, allocations: 0.875 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.129, allocations: 0 / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/1.129, allocations: 192.7 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.129, allocations: 0 / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.544e-05/1.129, allocations: 11.94 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/1.129, allocations: 3.938 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/1.129, allocations: 15.06 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.129, allocations: 0 / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.129, allocations: 0 / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/1.13, allocations: 132.8 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/1.13, allocations: 85.02 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/1.13, allocations: 4 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/1.13, allocations: 27.92 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/1.13, allocations: 11.61 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/1.13, allocations: 7.984 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.755e-05/1.13, allocations: 102 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.13, allocations: 0 / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002879/1.13, allocations: 24 kB / 1.018 GB, free: 2.172 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: 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.0006461/1.131, allocations: 0.6789 MB / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002385/1.131, allocations: 69.88 kB / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.131, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/1.131, allocations: 46.19 kB / 1.018 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/1.132, allocations: 32.09 kB / 1.018 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/1.132, allocations: 189.9 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/1.133, allocations: 0.7196 MB / 1.019 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.959e-05/1.133, allocations: 4.781 kB / 1.019 GB, free: 436 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/1.133, allocations: 38.42 kB / 1.019 GB, free: 416 kB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/1.133, allocations: 0 / 1.019 GB, free: 416 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/1.168, allocations: 2.026 MB / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/1.169, allocations: 149.7 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.577, allocations: 3.938 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB