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.786/1.786, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.001304/0.001304, allocations: 176.8 kB / 366.7 MB, free: 1.688 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.494/1.494, allocations: 205.3 MB / 0.626 GB, free: 7.195 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.00078/0.00078, allocations: 91.31 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.983e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7394, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2777/1.017, allocations: 137.8 MB / 1.108 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/1.018, allocations: 75.94 kB / 1.108 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002725/1.02, allocations: 0.7164 MB / 1.109 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/1.02, allocations: 0 / 1.109 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.02, allocations: 0.5938 kB / 1.109 GB, free: 11.53 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.0004806/1.021, allocations: 340.4 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.97e-05/1.021, allocations: 12.03 kB / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/1.021, allocations: 0.7188 kB / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/1.021, allocations: 166.9 kB / 1.109 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/1.021, allocations: 4.562 kB / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/1.021, allocations: 0 / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.992e-05/1.021, allocations: 16.77 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.021, allocations: 38.38 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.021, allocations: 3.938 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.021, allocations: 1.094 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.021, allocations: 0 / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/1.022, allocations: 226.8 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.817e-05/1.022, allocations: 27.08 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/1.022, allocations: 17.55 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/1.022, allocations: 4.547 kB / 1.11 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.022, allocations: 31.28 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/1.022, allocations: 5.406 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001984/1.022, allocations: 42.61 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.022, allocations: 51.41 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/1.022, allocations: 97.77 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/1.022, allocations: 25.7 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/1.023, allocations: 80.73 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/1.023, allocations: 9.188 kB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/1.023, allocations: 0 / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.023, allocations: 321.1 kB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/1.023, allocations: 4.75 kB / 1.11 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/1.023, allocations: 9.125 kB / 1.11 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/1.023, allocations: 11.94 kB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.023, allocations: 0 / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001062/1.023, allocations: 39.02 kB / 1.11 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.023, allocations: 8 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.023, allocations: 0 / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.023, allocations: 1.281 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/1.023, allocations: 15.92 kB / 1.11 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/1.023, allocations: 1.469 kB / 1.11 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/1.023, allocations: 11.98 kB / 1.11 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/1.023, allocations: 2.031 kB / 1.11 GB, free: 9.77 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 9.515e-05/1.023, allocations: 104.9 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001181/1.024, allocations: 45.69 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/1.024, allocations: 3.906 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/1.024, allocations: 8.719 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.024, allocations: 4 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/1.024, allocations: 0.8438 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/1.024, allocations: 0 / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/1.024, allocations: 143 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.024, allocations: 3.5 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/1.024, allocations: 9.406 kB / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.024, allocations: 3.984 kB / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/1.024, allocations: 0 / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.024, allocations: 5.094 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.024, allocations: 7.938 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/1.024, allocations: 133.2 kB / 1.111 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/1.024, allocations: 85.09 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/1.024, allocations: 192 / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/1.025, allocations: 8 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/1.025, allocations: 11.98 kB / 1.111 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.025, allocations: 0 / 1.111 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.631e-05/1.025, allocations: 79.28 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/1.025, allocations: 0 / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003698/1.025, allocations: 14.05 kB / 1.111 GB, free: 9.035 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.0005508/1.026, allocations: 0.6915 MB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.984e-05/1.026, allocations: 16 kB / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.026, allocations: 0 / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/1.026, allocations: 12 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/1.026, allocations: 2.062 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/1.027, allocations: 93.8 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/1.027, allocations: 0.6768 MB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.633e-05/1.027, allocations: 4 kB / 1.112 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/1.027, allocations: 11.38 kB / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/1.027, allocations: 0 / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/1.049, allocations: 0.8378 MB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/1.049, allocations: 150.1 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.682, allocations: 6.5 kB / 1.113 GB, free: 6.457 MB / 0.7136 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)