Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.IntegerToReal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.719/2.719, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001444/0.001444, allocations: 184.8 kB / 360.6 MB, free: 7.277 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.065/2.065, 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.001038/0.001038, allocations: 96.67 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.393e-05, allocations: 0 / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8338/0.8339, allocations: 115.3 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.242/1.076, allocations: 136.8 MB / 1.097 GB, free: 3.578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.076, allocations: 75.36 kB / 1.097 GB, free: 3.508 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00403/1.08, allocations: 0.912 MB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/1.08, allocations: 0 / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.08, allocations: 0.5 kB / 1.098 GB, free: 2.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000582/1.081, allocations: 348.7 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.081, allocations: 8.031 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/1.081, allocations: 5.109 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/1.081, allocations: 175.7 kB / 1.099 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/1.081, allocations: 7.984 kB / 1.099 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/1.081, allocations: 3.125 kB / 1.099 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001176/1.082, allocations: 20 kB / 1.099 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/1.082, allocations: 50.42 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.082, allocations: 0.9375 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.082, allocations: 3.938 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/1.082, allocations: 4 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/1.082, allocations: 267.1 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/1.082, allocations: 48.67 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/1.083, allocations: 13 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/1.083, allocations: 7.984 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.083, allocations: 31.38 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/1.083, allocations: 0.5938 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002313/1.083, allocations: 53.69 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/1.083, allocations: 56.19 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/1.083, allocations: 99.56 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/1.083, allocations: 26.23 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/1.083, allocations: 93.19 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/1.083, allocations: 13.62 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/1.083, allocations: 0 / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.083, allocations: 319.8 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/1.083, allocations: 12 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/1.083, allocations: 12.83 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/1.083, allocations: 8 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.083, allocations: 0.5 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001517/1.084, allocations: 65.62 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.084, allocations: 4.625 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/1.084, allocations: 0.5625 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.084, allocations: 2 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/1.084, allocations: 19.97 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.084, allocations: 0 / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/1.084, allocations: 12.5 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/1.084, allocations: 0 / 1.1 GB, free: 0.6953 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 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.668e-05/1.084, allocations: 118.5 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001514/1.084, allocations: 59.56 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/1.084, allocations: 0 / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/1.085, allocations: 9.188 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.085, allocations: 2.438 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.085, allocations: 3.125 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.085, allocations: 0 / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/1.085, allocations: 158.1 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.085, allocations: 2.375 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/1.085, allocations: 15.98 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.085, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.085, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.085, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/1.085, allocations: 6.875 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/1.085, allocations: 159.4 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/1.085, allocations: 81.11 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/1.085, allocations: 0 / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/1.086, allocations: 11.98 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.086, allocations: 12.05 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/1.086, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.53e-05/1.086, allocations: 85.97 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/1.086, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003183/1.086, allocations: 15.91 kB / 1.1 GB, free: 15.89 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 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.087, allocations: 0.6967 MB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001442/1.087, allocations: 27.98 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.087, allocations: 4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/1.087, allocations: 17.41 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/1.087, allocations: 7.141 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/1.088, allocations: 115.9 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/1.088, allocations: 0.6885 MB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.314e-05/1.088, allocations: 4 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/1.088, allocations: 15.42 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/1.088, allocations: 0 / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/1.125, allocations: 1.159 MB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003358/1.125, allocations: 153.4 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.458, allocations: 4 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)