Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.IntegerToReal,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001265/0.001265, allocations: 180.8 kB / 366.7 MB, free: 1.684 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.843/1.843, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0009679/0.0009679, allocations: 93.62 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.089e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8509/0.8509, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/1.091, allocations: 138 MB / 1.108 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/1.091, allocations: 72.92 kB / 1.108 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003569/1.095, allocations: 0.914 MB / 1.109 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.323e-06/1.095, allocations: 0.5938 kB / 1.109 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.223e-06/1.095, allocations: 0.9375 kB / 1.109 GB, free: 11.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000564/1.095, allocations: 351.5 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/1.095, allocations: 8.875 kB / 1.109 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/1.095, allocations: 3.906 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/1.096, allocations: 175.5 kB / 1.11 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/1.096, allocations: 0.5625 kB / 1.11 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/1.096, allocations: 5.875 kB / 1.11 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/1.096, allocations: 20.66 kB / 1.11 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/1.096, allocations: 54.3 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.096, allocations: 0 / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/1.096, allocations: 0.8438 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.096, allocations: 4 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/1.097, allocations: 270.4 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/1.097, allocations: 47.95 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/1.097, allocations: 20.55 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/1.097, allocations: 4.531 kB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.097, allocations: 32.03 kB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/1.097, allocations: 0 / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002417/1.097, allocations: 54.28 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/1.097, allocations: 55.34 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/1.097, allocations: 97.84 kB / 1.11 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/1.097, allocations: 26.3 kB / 1.11 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/1.097, allocations: 92.78 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/1.098, allocations: 11.84 kB / 1.11 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/1.098, allocations: 1.438 kB / 1.11 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.098, allocations: 314.8 kB / 1.111 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/1.098, allocations: 8 kB / 1.111 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/1.098, allocations: 17.55 kB / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.167e-05/1.098, allocations: 12.12 kB / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.098, allocations: 0 / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001308/1.098, allocations: 61.59 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.098, allocations: 6.719 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.098, allocations: 0 / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.098, allocations: 0 / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/1.098, allocations: 22.75 kB / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.098, allocations: 7.875 kB / 1.111 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/1.098, allocations: 11.16 kB / 1.111 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/1.098, allocations: 0 / 1.111 GB, free: 9.332 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 (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 0.0001138/1.099, allocations: 112.9 kB / 1.111 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001323/1.099, allocations: 53.69 kB / 1.111 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/1.099, allocations: 4 kB / 1.111 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/1.099, allocations: 8.344 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.099, allocations: 0 / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.099, allocations: 0.625 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.099, allocations: 0.6562 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/1.099, allocations: 158.1 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.099, allocations: 4.906 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.099, allocations: 15.98 kB / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.099, allocations: 0 / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.099, allocations: 0 / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.099, allocations: 0 / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.099, allocations: 11.94 kB / 1.111 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/1.099, allocations: 155.2 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/1.1, allocations: 81.11 kB / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/1.1, allocations: 4 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/1.1, allocations: 7.984 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/1.1, allocations: 7.984 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/1.1, allocations: 0 / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.378e-05/1.1, allocations: 93.97 kB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.1, allocations: 0 / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000346/1.1, allocations: 11.91 kB / 1.111 GB, free: 8.535 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.0006537/1.101, allocations: 0.6967 MB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001473/1.101, allocations: 31.98 kB / 1.112 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.101, allocations: 0 / 1.112 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/1.101, allocations: 16 kB / 1.112 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/1.101, allocations: 3.938 kB / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/1.102, allocations: 118.5 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/1.102, allocations: 0.6846 MB / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.765e-05/1.102, allocations: 8 kB / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/1.103, allocations: 19.42 kB / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of SimCode: time 3.2e-07/1.103, allocations: 0 / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/1.129, allocations: 1.153 MB / 1.114 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/1.129, allocations: 157 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.824, allocations: 1.859 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)