Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.001185/0.001185, allocations: 186.5 kB / 321.3 MB, free: 14.65 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.812/1.812, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008657/0.0008659, allocations: 93.22 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.386e-05/5.398e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2611, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7927/1.054, allocations: 131.4 MB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/1.054, allocations: 71.02 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002219/1.056, allocations: 0.7312 MB / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/1.056, allocations: 0 / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.056, allocations: 0 / 1.021 GB, free: 2.594 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.0003724/1.057, allocations: 338.7 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.057, allocations: 8.031 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/1.057, allocations: 37.88 kB / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/1.057, allocations: 0 / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/1.057, allocations: 167 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/1.057, allocations: 6.734 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/1.057, allocations: 0 / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/1.057, allocations: 41.19 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.057, allocations: 7.984 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/1.057, allocations: 4 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.057, allocations: 0 / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/1.057, allocations: 11.56 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/1.058, allocations: 251.7 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.486e-05/1.058, allocations: 26.27 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/1.058, allocations: 12.3 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/1.058, allocations: 11.92 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.058, allocations: 30.56 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/1.058, allocations: 0 / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001737/1.058, allocations: 52.41 kB / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/1.058, allocations: 51.41 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/1.058, allocations: 89 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/1.058, allocations: 25.7 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/1.058, allocations: 87.48 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/1.058, allocations: 7.906 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/1.058, allocations: 0 / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.058, allocations: 322 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/1.058, allocations: 4 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/1.058, allocations: 10.94 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/1.059, allocations: 11.5 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.059, allocations: 0 / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.363e-05/1.059, allocations: 44.59 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.059, allocations: 9.875 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.059, allocations: 3.938 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.059, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/1.059, allocations: 15.98 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.059, allocations: 0 / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/1.059, allocations: 6.719 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/1.059, allocations: 4 kB / 1.023 GB, free: 0.7695 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.228e-05/1.059, allocations: 116.3 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/1.059, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/1.059, allocations: 7.078 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/1.059, allocations: 4 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.059, allocations: 0 / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/1.059, allocations: 0 / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/1.059, allocations: 160.9 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.059, allocations: 0.875 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.756e-05/1.059, allocations: 14.69 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.059, allocations: 4 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/1.059, allocations: 3.984 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.059, allocations: 4 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.059, allocations: 0 / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/1.06, allocations: 138.1 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/1.06, allocations: 88.5 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/1.06, allocations: 0 / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/1.06, allocations: 12.03 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/1.06, allocations: 7.172 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/1.06, allocations: 4 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.159e-05/1.06, allocations: 79.28 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.06, allocations: 0 / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002342/1.06, allocations: 15.92 kB / 1.023 GB, free: 56 kB / 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.0004373/1.06, allocations: 0.6866 MB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.812e-05/1.061, allocations: 15.44 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.061, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/1.061, allocations: 16.25 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/1.061, allocations: 2.25 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/1.061, allocations: 101.7 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.061, allocations: 0.6809 MB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.407e-05/1.061, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/1.061, allocations: 11.44 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/1.062, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01065/1.072, allocations: 1.163 MB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/1.072, allocations: 186 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.574, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)