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.224/2.224, allocations: 248.7 MB / 256.2 MB, free: 7.113 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.001543/0.001543, allocations: 171.6 kB / 315.4 MB, free: 4.035 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.225/2.225, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 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.001134/0.001134, allocations: 78.06 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.46e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2447, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8395/1.084, allocations: 131.4 MB / 1.012 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.085, allocations: 71.31 kB / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002874/1.087, allocations: 0.7295 MB / 1.013 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/1.088, allocations: 3.938 kB / 1.013 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.034e-06/1.088, allocations: 0 / 1.013 GB, free: 6.645 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.0004959/1.088, allocations: 347.5 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.088, allocations: 8.031 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/1.088, allocations: 0 / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/1.088, allocations: 171 kB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/1.088, allocations: 1.688 kB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/1.088, allocations: 3.984 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.095e-05/1.088, allocations: 14 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/1.089, allocations: 44.31 kB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.089, allocations: 0 / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.089, allocations: 0 / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/1.089, allocations: 0 / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/1.089, allocations: 238.3 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/1.089, allocations: 25.7 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/1.089, allocations: 16.3 kB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/1.089, allocations: 0 / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.089, allocations: 30.56 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.089, allocations: 0 / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002166/1.09, allocations: 48.84 kB / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/1.09, allocations: 59.44 kB / 1.014 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/1.09, allocations: 92.38 kB / 1.014 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/1.09, allocations: 25.7 kB / 1.014 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/1.09, allocations: 87.31 kB / 1.014 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/1.09, allocations: 0 / 1.014 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/1.09, allocations: 0 / 1.014 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.09, allocations: 318.8 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/1.09, allocations: 3.25 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/1.09, allocations: 11.31 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/1.09, allocations: 4 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.09, allocations: 0 / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/1.09, allocations: 48.84 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.09, allocations: 10.59 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.09, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.09, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/1.09, allocations: 11.98 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.091, allocations: 4.094 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/1.091, allocations: 13.17 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/1.091, allocations: 0 / 1.015 GB, free: 4.895 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 0.0001009/1.091, allocations: 112.6 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001165/1.091, allocations: 37.27 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/1.091, allocations: 7.984 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/1.091, allocations: 11.64 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.091, allocations: 0 / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.091, allocations: 4.031 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.091, allocations: 0 / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/1.091, allocations: 137.4 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.091, allocations: 3.938 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/1.091, allocations: 19.98 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.091, allocations: 0 / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/1.091, allocations: 3.938 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.091, allocations: 0.7812 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.091, allocations: 0 / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/1.092, allocations: 150.8 kB / 1.015 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/1.092, allocations: 77.11 kB / 1.015 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/1.092, allocations: 3.984 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.092, allocations: 8 kB / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/1.092, allocations: 11.23 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/1.092, allocations: 0 / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.431e-05/1.092, allocations: 87.48 kB / 1.015 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.092, allocations: 0 / 1.015 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003013/1.092, allocations: 8 kB / 1.015 GB, free: 4.156 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.000572/1.093, allocations: 0.6863 MB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001088/1.093, allocations: 17.59 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.093, allocations: 0 / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/1.093, allocations: 11.25 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/1.093, allocations: 0 / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/1.094, allocations: 92.12 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/1.094, allocations: 0.6845 MB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.111e-05/1.094, allocations: 4.125 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/1.094, allocations: 13.69 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/1.094, allocations: 3.938 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/1.132, allocations: 0.8331 MB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003487/1.133, allocations: 161.9 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.483, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.6355 GB