Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.295/2.295, allocations: 248.5 MB / 261 MB, free: 6.02 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.001445/0.001444, allocations: 172.9 kB / 320.4 MB, free: 15.32 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.003/2.003, allocations: 205.2 MB / 0.571 GB, free: 11.78 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.00118/0.001179, allocations: 97.73 kB / 0.6754 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.563e-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.3 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8952/1.113, allocations: 131.2 MB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/1.114, allocations: 71.02 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003856/1.118, allocations: 0.7272 MB / 1.02 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.424e-06/1.118, allocations: 0 / 1.02 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.118, allocations: 0 / 1.02 GB, free: 3.312 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000757/1.118, allocations: 343.3 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001134/1.119, allocations: 12.03 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.767e-05/1.119, allocations: 34.5 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/1.119, allocations: 0 / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/1.119, allocations: 173.6 kB / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/1.119, allocations: 0 / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/1.119, allocations: 0 / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/1.119, allocations: 44.38 kB / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.119, allocations: 4 kB / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.119, allocations: 0 / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.119, allocations: 0 / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.794e-05/1.12, allocations: 11.69 kB / 1.02 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/1.12, allocations: 257.7 kB / 1.02 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/1.121, allocations: 26.39 kB / 1.02 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/1.121, allocations: 16.86 kB / 1.02 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/1.121, allocations: 0 / 1.02 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/1.121, allocations: 38.55 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/1.121, allocations: 0 / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002294/1.121, allocations: 48.84 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/1.121, allocations: 58.61 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/1.121, allocations: 96.94 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/1.121, allocations: 25.7 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/1.121, allocations: 87.11 kB / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/1.121, allocations: 3.984 kB / 1.021 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/1.121, allocations: 3.938 kB / 1.021 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.121, allocations: 313.1 kB / 1.021 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/1.121, allocations: 7.125 kB / 1.021 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/1.121, allocations: 4 kB / 1.021 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/1.122, allocations: 10.23 kB / 1.021 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.122, allocations: 64 / 1.021 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001232/1.122, allocations: 57.28 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.122, allocations: 4 kB / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.122, allocations: 4 kB / 1.021 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.122, allocations: 0 / 1.021 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/1.122, allocations: 11.98 kB / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.122, allocations: 0 / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/1.122, allocations: 15.94 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/1.122, allocations: 4.031 kB / 1.021 GB, free: 1.469 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.577e-05/1.122, allocations: 104.4 kB / 1.021 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/1.122, allocations: 0 / 1.021 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/1.122, allocations: 11.08 kB / 1.021 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.122, allocations: 0 / 1.021 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/1.122, allocations: 3.938 kB / 1.021 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.122, allocations: 0 / 1.021 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/1.123, allocations: 160.8 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/1.123, allocations: 0 / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/1.123, allocations: 19.55 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.123, allocations: 4 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.123, allocations: 0 / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.123, allocations: 0 / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.123, allocations: 0 / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/1.123, allocations: 143.1 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/1.123, allocations: 84.77 kB / 1.022 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.123, allocations: 4.031 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/1.123, allocations: 11.98 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/1.123, allocations: 4 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/1.123, allocations: 0 / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.267e-05/1.123, allocations: 90.77 kB / 1.022 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.123, allocations: 0 / 1.022 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002809/1.124, allocations: 8 kB / 1.022 GB, free: 0.7656 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000511/1.124, allocations: 0.6843 MB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001158/1.124, allocations: 15.94 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.124, allocations: 3.938 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/1.124, allocations: 11.69 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/1.125, allocations: 8.141 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/1.125, allocations: 89.7 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.125, allocations: 0.6809 MB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.349e-05/1.125, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/1.126, allocations: 19.36 kB / 1.023 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of SimCode: time 1.103e-06/1.126, allocations: 0 / 1.023 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/1.146, allocations: 1.153 MB / 1.024 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003715/1.146, allocations: 166 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.464, allocations: 4 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB