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.259/2.259, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001434/0.001433, allocations: 182.9 kB / 315.4 MB, free: 4.012 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.038/2.038, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 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.001063/0.001062, allocations: 102.5 kB / 0.6704 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.476e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2267, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8638/1.091, allocations: 131.8 MB / 1.013 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/1.091, allocations: 66.72 kB / 1.013 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006726/1.098, allocations: 1.448 MB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.637e-06/1.098, allocations: 4 kB / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.098, allocations: 3.938 kB / 1.014 GB, free: 5.602 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.0007332/1.098, allocations: 393.8 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.099, allocations: 8.031 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/1.099, allocations: 7.906 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/1.099, allocations: 179 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/1.099, allocations: 4 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/1.099, allocations: 4 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001919/1.099, allocations: 46.61 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/1.099, allocations: 74.22 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.099, allocations: 0 / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/1.099, allocations: 0 / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.099, allocations: 4 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006854/1.1, allocations: 320.1 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/1.101, allocations: 89.66 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/1.101, allocations: 28.33 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/1.101, allocations: 3.984 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/1.101, allocations: 42.55 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/1.101, allocations: 0 / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003014/1.101, allocations: 84.66 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/1.101, allocations: 55.41 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/1.101, allocations: 110.8 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/1.101, allocations: 25.7 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/1.102, allocations: 96.53 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/1.102, allocations: 15.44 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/1.102, allocations: 4 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.102, allocations: 322.8 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/1.102, allocations: 23.81 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.644e-05/1.102, allocations: 15.69 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/1.102, allocations: 23.55 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.102, allocations: 0 / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002235/1.102, allocations: 88.27 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.102, allocations: 4 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.102, allocations: 3.984 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.102, allocations: 4 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/1.103, allocations: 38.47 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.103, allocations: 3.953 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/1.103, allocations: 15.98 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.103, allocations: 0 / 1.016 GB, free: 3.48 MB / 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 (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.853e-05/1.103, allocations: 115.6 kB / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002371/1.103, allocations: 85.08 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/1.103, allocations: 3.906 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/1.104, allocations: 97.39 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.104, allocations: 3.953 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.104, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/1.104, allocations: 4 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/1.104, allocations: 169.7 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.104, allocations: 4 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/1.104, allocations: 35.91 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.104, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/1.104, allocations: 3.984 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/1.104, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.104, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/1.105, allocations: 190.5 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/1.105, allocations: 81.02 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/1.105, allocations: 0 / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/1.105, allocations: 19.98 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.105, allocations: 19.78 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/1.105, allocations: 11.92 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.46e-05/1.105, allocations: 94.98 kB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.105, allocations: 0 / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003186/1.106, allocations: 16 kB / 1.017 GB, free: 2.531 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: 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.0006296/1.106, allocations: 0.7317 MB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002109/1.106, allocations: 55.36 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.106, allocations: 3.938 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.107, allocations: 35.56 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/1.107, allocations: 11.92 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/1.107, allocations: 141.7 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/1.108, allocations: 0.6924 MB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001284/1.108, allocations: 20.09 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/1.108, allocations: 27.05 kB / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/1.108, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/1.144, allocations: 1.889 MB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/1.145, allocations: 139.9 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/3.443, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB