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.418/2.418, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001389/0.001389, allocations: 170.6 kB / 315.4 MB, free: 4.016 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.1/2.1, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 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.00115/0.00115, allocations: 98.45 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.38e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8897/1.096, allocations: 131.8 MB / 1.013 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.097, allocations: 76.3 kB / 1.013 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006974/1.104, allocations: 1.449 MB / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.104, allocations: 0 / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.104, allocations: 4 kB / 1.014 GB, free: 5.637 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.0007766/1.105, allocations: 393.9 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/1.105, allocations: 12.03 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/1.105, allocations: 7.906 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/1.105, allocations: 175 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/1.105, allocations: 4 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/1.105, allocations: 4 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000204/1.105, allocations: 55.86 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/1.105, allocations: 73.28 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.106, allocations: 0 / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/1.106, allocations: 0 / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.106, allocations: 0 / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/1.106, allocations: 311.7 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/1.107, allocations: 97.78 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/1.107, allocations: 28.42 kB / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/1.107, allocations: 3.938 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.107, allocations: 38.59 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/1.107, allocations: 0 / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003243/1.108, allocations: 89.08 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/1.108, allocations: 55.22 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/1.108, allocations: 104.9 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/1.108, allocations: 29.7 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/1.108, allocations: 91.73 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/1.108, allocations: 23.61 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/1.108, allocations: 0 / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.108, allocations: 318.8 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/1.108, allocations: 19.8 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/1.108, allocations: 23.69 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/1.108, allocations: 23.55 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.108, allocations: 0 / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002391/1.109, allocations: 81.56 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.109, allocations: 4 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.109, allocations: 0 / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.109, allocations: 0 / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/1.109, allocations: 31.97 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.109, allocations: 7.953 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/1.109, allocations: 27.59 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/1.109, allocations: 0 / 1.016 GB, free: 3.52 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 (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 0.0001326/1.109, allocations: 107.6 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002526/1.11, allocations: 97.17 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/1.11, allocations: 7.906 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/1.11, allocations: 97.33 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.11, allocations: 3.953 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.11, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.11, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/1.11, allocations: 169.7 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.11, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/1.111, allocations: 39.78 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/1.111, allocations: 4 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/1.111, allocations: 0 / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.111, allocations: 3.984 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.111, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/1.111, allocations: 178.9 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/1.111, allocations: 85.89 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/1.111, allocations: 4 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/1.112, allocations: 15.98 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.112, allocations: 27.33 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/1.112, allocations: 3.938 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.779e-05/1.112, allocations: 103 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.325e-06/1.112, allocations: 0 / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003504/1.112, allocations: 15.94 kB / 1.017 GB, free: 2.562 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 (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.000675/1.113, allocations: 0.7273 MB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002212/1.113, allocations: 51.34 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.113, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.113, allocations: 43.48 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/1.114, allocations: 8 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/1.114, allocations: 137.5 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/1.115, allocations: 0.6963 MB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001273/1.115, allocations: 12.19 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/1.115, allocations: 30.66 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/1.115, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/1.156, allocations: 1.894 MB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003591/1.157, allocations: 143.8 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.596, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.6511 GB