Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 285.4 MB / 298 MB, free: 5.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 176.8 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.1 MB / 0.6248 GB, free: 7.711 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008967/0.0008966, allocations: 88.64 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.021e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7752/0.7753, allocations: 115.3 MB / 0.971 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/0.9859, allocations: 137.5 MB / 1.105 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.9862, allocations: 67.95 kB / 1.105 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001983/0.9882, allocations: 0.7118 MB / 1.106 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9882, allocations: 3.5 kB / 1.106 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.9883, allocations: 4 kB / 1.106 GB, free: 13.48 MB / 0.7136 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.0003864/0.9887, allocations: 345 kB / 1.106 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.9887, allocations: 8.031 kB / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.9888, allocations: 30.56 kB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.9888, allocations: 4 kB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.9889, allocations: 166.9 kB / 1.107 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.989, allocations: 4 kB / 1.107 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.989, allocations: 4 kB / 1.107 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.9891, allocations: 39.12 kB / 1.107 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9891, allocations: 5.234 kB / 1.107 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.9891, allocations: 0 / 1.107 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.9891, allocations: 4 kB / 1.107 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.9892, allocations: 16.83 kB / 1.107 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.9896, allocations: 249.4 kB / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.42e-05/0.9897, allocations: 31.77 kB / 1.107 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.9897, allocations: 13.61 kB / 1.107 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.9897, allocations: 2.438 kB / 1.107 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.9898, allocations: 30.56 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9898, allocations: 0 / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.9899, allocations: 45.64 kB / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.99, allocations: 52.25 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.9901, allocations: 96.98 kB / 1.107 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.9901, allocations: 27.58 kB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.9902, allocations: 80.14 kB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.9902, allocations: 15.19 kB / 1.107 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.9902, allocations: 0 / 1.107 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.9903, allocations: 318.2 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.9904, allocations: 8 kB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.9904, allocations: 8.797 kB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.9904, allocations: 8.531 kB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9904, allocations: 1.188 kB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.806e-05/0.9905, allocations: 45.64 kB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.9905, allocations: 4.875 kB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.9906, allocations: 0 / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.9906, allocations: 3.984 kB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.9907, allocations: 10.56 kB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.9907, allocations: 6.734 kB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.9908, allocations: 7.984 kB / 1.108 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.9908, allocations: 3.438 kB / 1.108 GB, free: 11.63 MB / 0.7136 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.349e-05/0.9909, allocations: 112.6 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.9909, allocations: 0 / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.991, allocations: 11.11 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.991, allocations: 0 / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.991, allocations: 0 / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.991, allocations: 4 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.9912, allocations: 161.5 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9912, allocations: 0 / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.9913, allocations: 15.8 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9913, allocations: 0 / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.9913, allocations: 0 / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9913, allocations: 0 / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9913, allocations: 0 / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.9914, allocations: 158.1 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.9915, allocations: 80.14 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.9915, allocations: 0 / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-05/0.9916, allocations: 13.58 kB / 1.108 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.9917, allocations: 3.984 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.9917, allocations: 0 / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.9917, allocations: 83.47 kB / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9917, allocations: 160 / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002118/0.992, allocations: 12 kB / 1.108 GB, free: 10.91 MB / 0.7136 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.0004695/0.9924, allocations: 0.6889 MB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.402e-05/0.9925, allocations: 16 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9926, allocations: 96 / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.9926, allocations: 12 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.9928, allocations: 5.547 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.9932, allocations: 96.97 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.9935, allocations: 0.6811 MB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.9935, allocations: 0 / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.9936, allocations: 19.5 kB / 1.11 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.9936, allocations: 3.375 kB / 1.11 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/1.005, allocations: 1.163 MB / 1.111 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.005, allocations: 175.7 kB / 1.111 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.551, allocations: 0 / 1.111 GB, free: 8.109 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)