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.IntegerToReal.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.IntegerToReal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, 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.001148/0.001148, allocations: 186.8 kB / 326.5 MB, free: 2.246 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.843/1.843, 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.0009346/0.0009347, allocations: 101.5 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 9.312 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.4572, allocations: 131.6 MB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.4576, allocations: 75.94 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002769/0.4604, allocations: 0.9344 MB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4604, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.4604, allocations: 4 kB / 1.03 GB, free: 11.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004665/0.4609, allocations: 360.8 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4609, allocations: 8.031 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.461, allocations: 38.5 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.461, allocations: 3.906 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.4612, allocations: 174.9 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4612, allocations: 4 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4612, allocations: 4 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.4614, allocations: 77.62 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4615, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4615, allocations: 4 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4615, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.4617, allocations: 63.94 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.4622, allocations: 292.6 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.4624, allocations: 70.53 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.4624, allocations: 8.094 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.4624, allocations: 30.56 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4625, allocations: 0 / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.000426/0.4629, allocations: 125.7 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.4629, allocations: 51.41 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.463, allocations: 104.9 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.463, allocations: 25.7 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.4631, allocations: 92.05 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.4631, allocations: 3.906 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.4631, allocations: 0 / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4633, allocations: 326.8 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.4634, allocations: 23.98 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.995e-05/0.4635, allocations: 27.97 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.4636, allocations: 27.98 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4636, allocations: 4 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002342/0.4638, allocations: 101.5 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4639, allocations: 4 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4639, allocations: 3.938 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4639, allocations: 4 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.464, allocations: 15.98 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4641, allocations: 0 / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.4641, allocations: 11.98 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4641, allocations: 3.953 kB / 1.032 GB, free: 8.734 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 (intToRea.u) * Number of discrete states: 0 () * Number of clocked 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.138e-05/0.4642, allocations: 113.8 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.4643, allocations: 4 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.4643, allocations: 7.891 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4643, allocations: 4.25 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4643, allocations: 0 / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4643, allocations: 4 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.4645, allocations: 169.6 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4645, allocations: 3.938 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.902e-05/0.4646, allocations: 19.97 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4647, allocations: 3.938 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4647, allocations: 12 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4647, allocations: 0 / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4647, allocations: 0 / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.465, allocations: 191.7 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.4651, allocations: 85.11 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4651, allocations: 0 / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.4652, allocations: 7.984 kB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.4653, allocations: 16.02 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.4653, allocations: 4 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.4653, allocations: 87.27 kB / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4653, allocations: 0 / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002191/0.4656, allocations: 15.94 kB / 1.032 GB, free: 7.902 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 (intToRea.u) * Number of discrete states: 0 () * Number of clocked 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.0006042/0.4662, allocations: 0.7415 MB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.4665, allocations: 67.94 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4665, allocations: 0 / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.4666, allocations: 35.92 kB / 1.033 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.4668, allocations: 11.36 kB / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.4678, allocations: 477 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.4681, allocations: 0.6848 MB / 1.034 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.95e-05/0.4681, allocations: 8 kB / 1.034 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.4682, allocations: 15.42 kB / 1.034 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of SimCode: time 4.408e-06/0.4682, allocations: 0 / 1.034 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.4798, allocations: 1.483 MB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.4802, allocations: 197.5 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.996, allocations: 3.938 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)