Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Integers.Validation.Max,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.352/2.352, allocations: 248.5 MB / 261.1 MB, free: 6.07 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.001462/0.001462, allocations: 193.9 kB / 320.4 MB, free: 15.34 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.08/2.08, allocations: 205.1 MB / 0.571 GB, free: 11.75 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.001187/0.001186, allocations: 102 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.516e-05/4.55e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.218, allocations: 106.2 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8528/1.071, allocations: 131.6 MB / 1.019 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/1.071, allocations: 75.88 kB / 1.019 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006978/1.078, allocations: 1.463 MB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/1.078, allocations: 4 kB / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.078, allocations: 0 / 1.021 GB, free: 2.379 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007563/1.079, allocations: 388.5 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.079, allocations: 12.03 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.311e-05/1.079, allocations: 38.05 kB / 1.021 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/1.079, allocations: 7.906 kB / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/1.079, allocations: 175.8 kB / 1.021 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/1.079, allocations: 11.38 kB / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/1.08, allocations: 4 kB / 1.021 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/1.08, allocations: 81.22 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.08, allocations: 4 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/1.08, allocations: 3.25 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.08, allocations: 4 kB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/1.08, allocations: 49.23 kB / 1.021 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/1.081, allocations: 340.7 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/1.082, allocations: 91.8 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/1.082, allocations: 33.36 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/1.082, allocations: 3.984 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/1.082, allocations: 30.56 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/1.082, allocations: 3.938 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003546/1.082, allocations: 93.69 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.082, allocations: 55.41 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/1.082, allocations: 114.7 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/1.082, allocations: 25.7 kB / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/1.082, allocations: 94.34 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/1.082, allocations: 19.62 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/1.082, allocations: 0 / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.083, allocations: 322.3 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/1.083, allocations: 20.12 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/1.083, allocations: 20 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/1.083, allocations: 26.11 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.083, allocations: 0 / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002624/1.083, allocations: 93.44 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/1.083, allocations: 10.19 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.083, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.083, allocations: 3.953 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/1.084, allocations: 30.97 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.084, allocations: 3.938 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/1.084, allocations: 19.98 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/1.084, allocations: 6.938 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * 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 9.523e-05/1.084, allocations: 112.1 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/1.084, allocations: 7.906 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/1.084, allocations: 100.6 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.085, allocations: 11.95 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.085, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.085, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/1.085, allocations: 194.4 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.085, allocations: 0 / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/1.085, allocations: 31.97 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/1.085, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/1.085, allocations: 3.984 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.085, allocations: 7.938 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.085, allocations: 3.953 kB / 1.023 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/1.086, allocations: 195.5 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/1.086, allocations: 85.02 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/1.086, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/1.086, allocations: 22.67 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.086, allocations: 22.97 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/1.086, allocations: 3.953 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.686e-05/1.086, allocations: 94.7 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.145e-06/1.086, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003195/1.087, allocations: 19.19 kB / 1.024 GB, free: 15.24 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 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006872/1.087, allocations: 0.7354 MB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002591/1.088, allocations: 54.8 kB / 1.024 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.088, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/1.088, allocations: 41.55 kB / 1.024 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/1.088, allocations: 11.17 kB / 1.024 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/1.089, allocations: 144 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/1.089, allocations: 0.6965 MB / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000125/1.089, allocations: 12.19 kB / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/1.089, allocations: 29.03 kB / 1.025 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.362e-06/1.089, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/1.113, allocations: 2.248 MB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/1.113, allocations: 157.2 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.546, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.6511 GB