Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_0_0_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_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 8.0.0/package.mo): time 2.866/2.866, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001418/0.001418, allocations: 180.8 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001135/0.001134, allocations: 89.16 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.388e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8281/0.8282, allocations: 115.3 MB / 0.9634 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2406/1.069, allocations: 136.7 MB / 1.097 GB, free: 3.859 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.069, allocations: 67.97 kB / 1.097 GB, free: 3.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002741/1.072, allocations: 0.7017 MB / 1.098 GB, free: 3.102 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.993e-06/1.072, allocations: 0.5625 kB / 1.098 GB, free: 3.102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.216e-06/1.072, allocations: 0 / 1.098 GB, free: 3.102 MB / 0.698 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.0004739/1.073, allocations: 348.5 kB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.073, allocations: 8.031 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/1.073, allocations: 1.828 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.073, allocations: 181 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/1.073, allocations: 2.906 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.073, allocations: 0 / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.59e-05/1.073, allocations: 12 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/1.073, allocations: 38.44 kB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.073, allocations: 0 / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.073, allocations: 0.5938 kB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.073, allocations: 4 kB / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/1.074, allocations: 230.7 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.257e-05/1.074, allocations: 27.77 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/1.074, allocations: 15.2 kB / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/1.074, allocations: 4.625 kB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.074, allocations: 31.28 kB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.105e-06/1.074, allocations: 2.438 kB / 1.099 GB, free: 2.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001933/1.074, allocations: 42.56 kB / 1.099 GB, free: 2.043 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/1.074, allocations: 51.91 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/1.074, allocations: 93.62 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/1.074, allocations: 30.33 kB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/1.074, allocations: 84.14 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/1.074, allocations: 4.562 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/1.074, allocations: 0 / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.074, allocations: 323.8 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/1.074, allocations: 8.656 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/1.074, allocations: 10.62 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/1.075, allocations: 4.688 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.075, allocations: 2.031 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/1.075, allocations: 45.69 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.075, allocations: 5.094 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.075, allocations: 0 / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.075, allocations: 0 / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/1.075, allocations: 15.95 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.075, allocations: 0 / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.956e-05/1.075, allocations: 8 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/1.075, allocations: 2.5 kB / 1.099 GB, free: 1.34 MB / 0.698 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 9.501e-05/1.075, allocations: 112.7 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001192/1.075, allocations: 45.64 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/1.075, allocations: 6.031 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/1.075, allocations: 11.75 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/1.075, allocations: 3.984 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.075, allocations: 0 / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.075, allocations: 2.125 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/1.076, allocations: 139 kB / 1.1 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.076, allocations: 0 / 1.1 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/1.076, allocations: 16.14 kB / 1.1 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.076, allocations: 0 / 1.1 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.076, allocations: 4 kB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.076, allocations: 0 / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.076, allocations: 0 / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/1.076, allocations: 139.5 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/1.076, allocations: 81.05 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/1.076, allocations: 3.938 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.076, allocations: 17.98 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/1.076, allocations: 7.984 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/1.076, allocations: 4 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.806e-05/1.076, allocations: 78.66 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.076, allocations: 0 / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003191/1.077, allocations: 8 kB / 1.1 GB, free: 0.5977 MB / 0.698 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.0005194/1.077, allocations: 0.6876 MB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001072/1.077, allocations: 19.94 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.077, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/1.077, allocations: 15.98 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/1.078, allocations: 2.062 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/1.078, allocations: 96.2 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/1.079, allocations: 0.6768 MB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.613e-05/1.079, allocations: 4 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/1.079, allocations: 11.42 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.079, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/1.114, allocations: 0.8362 MB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/1.115, allocations: 158.5 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/3.305, allocations: 0 / 1.102 GB, free: 14.01 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)