Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001377/0.001377, allocations: 189 kB / 377.1 MB, free: 1.516 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.63/1.63, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.0008579/0.000858, allocations: 90.42 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 116.3 MB / 0.9884 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.62/0.869, allocations: 138.5 MB / 1.124 GB, free: 35.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.8693, allocations: 70.59 kB / 1.124 GB, free: 35.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001698/0.871, allocations: 0.7155 MB / 1.124 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.432e-06/0.871, allocations: 0.5312 kB / 1.124 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.871, allocations: 0.75 kB / 1.124 GB, free: 35.25 MB / 0.7292 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.0003266/0.8713, allocations: 347.5 kB / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8714, allocations: 12.02 kB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.8714, allocations: 30.56 kB / 1.125 GB, free: 34.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.8715, allocations: 7.406 kB / 1.125 GB, free: 34.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.285e-05/0.8715, allocations: 167.1 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.8716, allocations: 0 / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.8716, allocations: 8.016 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.8718, allocations: 60.53 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.8718, allocations: 0 / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.8718, allocations: 0 / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.8719, allocations: 0.8438 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.872, allocations: 51.06 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.8723, allocations: 256.8 kB / 1.125 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.8725, allocations: 44.5 kB / 1.125 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.8725, allocations: 0 / 1.125 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.8725, allocations: 38.14 kB / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.8725, allocations: 0 / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.8729, allocations: 99.52 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.8729, allocations: 58.97 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.474e-05/0.873, allocations: 93.7 kB / 1.126 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.873, allocations: 26.64 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.873, allocations: 80.27 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.873, allocations: 9.984 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.873, allocations: 0 / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.8731, allocations: 326.5 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.8732, allocations: 15.52 kB / 1.126 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.8733, allocations: 31.03 kB / 1.126 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.271e-05/0.8734, allocations: 19.42 kB / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8734, allocations: 0 / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.8736, allocations: 87.58 kB / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8736, allocations: 4.656 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8736, allocations: 0 / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.8736, allocations: 4 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.8737, allocations: 11.52 kB / 1.126 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8737, allocations: 0 / 1.126 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.8738, allocations: 9.078 kB / 1.126 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.8738, allocations: 8.031 kB / 1.126 GB, free: 33.3 MB / 0.7292 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 () * Number of clocked 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 5.174e-05/0.8739, allocations: 110.4 kB / 1.126 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.8739, allocations: 4.453 kB / 1.126 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.8739, allocations: 11.12 kB / 1.126 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8739, allocations: 0 / 1.126 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8739, allocations: 0 / 1.126 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.874, allocations: 0.5625 kB / 1.126 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.8741, allocations: 169.4 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8741, allocations: 0 / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.8742, allocations: 16.06 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8742, allocations: 4 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.8742, allocations: 0 / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8742, allocations: 0 / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8742, allocations: 0.5 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.8744, allocations: 186.6 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.8744, allocations: 77.11 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.8745, allocations: 0 / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.8745, allocations: 12.02 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.8746, allocations: 8.125 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.8746, allocations: 0 / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.935e-05/0.8746, allocations: 83.31 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8746, allocations: 0 / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002086/0.8749, allocations: 17.06 kB / 1.127 GB, free: 32.56 MB / 0.7292 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 () * Number of clocked 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.0004003/0.8753, allocations: 0.721 MB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.8755, allocations: 54.11 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8755, allocations: 0 / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.8756, allocations: 26.61 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.8758, allocations: 4.938 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.8763, allocations: 149.8 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.8764, allocations: 0.6808 MB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.8764, allocations: 0 / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.8765, allocations: 15.98 kB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.8765, allocations: 0 / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.8878, allocations: 1.138 MB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.888, allocations: 196.5 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.474, allocations: 0 / 1.13 GB, free: 30.05 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)