Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.322/2.322, allocations: 248.5 MB / 261 MB, free: 5.953 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.00147/0.001471, allocations: 184.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 1.974/1.974, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001163/0.001163, allocations: 98.05 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.646e-05, allocations: 8 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2249, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.123, allocations: 131.5 MB / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.124, allocations: 76.45 kB / 1.019 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007062/1.131, allocations: 1.462 MB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/1.131, allocations: 0 / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.059e-05/1.131, allocations: 4 kB / 1.021 GB, free: 2.059 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.0007329/1.131, allocations: 385.7 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.132, allocations: 8.031 kB / 1.021 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/1.132, allocations: 42.36 kB / 1.021 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/1.132, allocations: 7.906 kB / 1.021 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/1.132, allocations: 178.4 kB / 1.021 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/1.132, allocations: 4 kB / 1.021 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/1.132, allocations: 11.75 kB / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/1.132, allocations: 78.84 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.132, allocations: 0 / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/1.132, allocations: 7.5 kB / 1.021 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.132, allocations: 0 / 1.021 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/1.132, allocations: 47.92 kB / 1.021 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/1.133, allocations: 353.3 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/1.134, allocations: 87.48 kB / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/1.134, allocations: 37.16 kB / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/1.134, allocations: 0 / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.134, allocations: 34.56 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/1.134, allocations: 0 / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003501/1.135, allocations: 90.3 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.135, allocations: 55.41 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/1.135, allocations: 108.3 kB / 1.022 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.135, allocations: 25.7 kB / 1.022 GB, free: 476 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/1.135, allocations: 98.72 kB / 1.022 GB, free: 380 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/1.135, allocations: 19.19 kB / 1.022 GB, free: 364 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/1.135, allocations: 4 kB / 1.022 GB, free: 360 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.135, allocations: 317.8 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/1.135, allocations: 18.94 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/1.135, allocations: 30.33 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/1.135, allocations: 18.86 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.135, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002678/1.136, allocations: 95.16 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.136, allocations: 4 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.136, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.136, allocations: 11.95 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/1.136, allocations: 27.97 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/1.136, allocations: 4.25 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/1.136, allocations: 15.98 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/1.136, allocations: 7.984 kB / 1.023 GB, free: 15.84 MB / 0.6511 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 (min1.u1,min1.u2,min1.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.804e-05/1.137, allocations: 108.9 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/1.137, allocations: 7.906 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/1.137, allocations: 103 kB / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.137, allocations: 3.953 kB / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.137, allocations: 0 / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.137, allocations: 0 / 1.023 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/1.137, allocations: 202.9 kB / 1.023 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.137, allocations: 0 / 1.023 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/1.138, allocations: 31.97 kB / 1.023 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/1.138, allocations: 4 kB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/1.138, allocations: 7.797 kB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.138, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.138, allocations: 3.953 kB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/1.138, allocations: 189 kB / 1.023 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/1.138, allocations: 85.02 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/1.138, allocations: 7.984 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/1.138, allocations: 19.92 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.139, allocations: 16.53 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/1.139, allocations: 11.94 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.806e-05/1.139, allocations: 96.98 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.455e-06/1.139, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003145/1.139, allocations: 15.94 kB / 1.024 GB, free: 14.92 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 (min1.u1,min1.u2,min1.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.000675/1.14, allocations: 0.7373 MB / 1.024 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002461/1.14, allocations: 52.25 kB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.14, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/1.14, allocations: 45.67 kB / 1.024 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/1.14, allocations: 11.98 kB / 1.024 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/1.141, allocations: 145.8 kB / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/1.141, allocations: 0.6926 MB / 1.025 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001257/1.141, allocations: 16.17 kB / 1.025 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/1.142, allocations: 22.55 kB / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/1.142, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/1.167, allocations: 2.244 MB / 1.028 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000393/1.167, allocations: 157.4 kB / 1.028 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.609, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.6511 GB