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.527/1.527, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001136, allocations: 183.7 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009547/0.0009541, allocations: 94.03 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 11.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2837, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.4656, allocations: 131.5 MB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.466, allocations: 75.91 kB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002264/0.4683, allocations: 0.7233 MB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.739e-06/0.4683, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.4684, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 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.0004526/0.4688, allocations: 351.2 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/0.4689, allocations: 12.03 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.4689, allocations: 38.56 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.469, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.4691, allocations: 167 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.4692, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4692, allocations: 3.938 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.4694, allocations: 61.64 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.4694, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.4694, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4694, allocations: 8 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.4697, allocations: 43.95 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.4701, allocations: 252.8 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.4703, allocations: 54.48 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.4703, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.4704, allocations: 30.56 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.266e-06/0.4704, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004476/0.4708, allocations: 105.6 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.4709, allocations: 51.41 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.471, allocations: 96.98 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.471, allocations: 33.77 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.4711, allocations: 84.14 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.4711, allocations: 3.906 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.4711, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4713, allocations: 318.8 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-05/0.4714, allocations: 23.97 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.4714, allocations: 27.98 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.541e-05/0.4715, allocations: 19.98 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4716, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002027/0.4718, allocations: 81.72 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4718, allocations: 4 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4718, allocations: 7.969 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4718, allocations: 0 / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4719, allocations: 8 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.472, allocations: 4 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.472, allocations: 12.02 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.472, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 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 9.408e-05/0.4721, allocations: 121.7 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.4722, allocations: 7.938 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.4722, allocations: 7.109 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4722, allocations: 0 / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4722, allocations: 4 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4722, allocations: 0 / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.4724, allocations: 161.6 kB / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4724, allocations: 0 / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.4725, allocations: 11.98 kB / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4725, allocations: 0 / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.4725, allocations: 0 / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4725, allocations: 4 kB / 1.031 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4725, allocations: 7.922 kB / 1.031 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.4728, allocations: 179.4 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.4728, allocations: 85.05 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.4729, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.473, allocations: 11.98 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.473, allocations: 11.97 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.473, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.4731, allocations: 83.45 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4731, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002036/0.4733, allocations: 8 kB / 1.032 GB, free: 8.574 MB / 0.6823 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.0005802/0.4739, allocations: 0.7131 MB / 1.032 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.4741, allocations: 55.92 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4741, allocations: 0 / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.791e-05/0.4742, allocations: 31.97 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.4744, allocations: 3.938 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.4749, allocations: 142.5 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.4752, allocations: 0.6809 MB / 1.033 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.556e-05/0.4752, allocations: 4.141 kB / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.4753, allocations: 15.42 kB / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.4753, allocations: 0 / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.4866, allocations: 1.163 MB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.4868, allocations: 195.9 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/1.947, allocations: 1.969 kB / 1.035 GB, free: 5.613 MB / 0.6823 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)