Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001562/0.001562, allocations: 189.6 kB / 371.8 MB, free: 10.27 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.643/1.643, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009125/0.0009126, allocations: 91.42 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 16.12 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1927, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.0009404/0.1937, allocations: 0.5329 MB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.1939, allocations: 47.72 kB / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.1939, allocations: 4 kB / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.194, allocations: 3.938 kB / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/0.1941, allocations: 7.984 kB / 0.9801 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.39e-05/0.1941, allocations: 11.98 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.1942, allocations: 43.89 kB / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1943, allocations: 37.56 kB / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.1944, allocations: 19.86 kB / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.1944, allocations: 23.8 kB / 0.9802 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1944, allocations: 0 / 0.9802 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.1944, allocations: 8 kB / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1945, allocations: 11.94 kB / 0.9802 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.1945, allocations: 33.64 kB / 0.9802 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.07e-05/0.1946, allocations: 60.08 kB / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1946, allocations: 0 / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1946, allocations: 3.938 kB / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.1946, allocations: 4 kB / 0.9803 GB, free: 26.74 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003357/0.1949, allocations: 375 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.195, allocations: 12.02 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.195, allocations: 42.56 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.1951, allocations: 7.906 kB / 0.9807 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1953, allocations: 200.6 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1953, allocations: 8 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1953, allocations: 4 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1955, allocations: 92.73 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1955, allocations: 3.984 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1956, allocations: 12 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1956, allocations: 4 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.1957, allocations: 35.98 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.1962, allocations: 452.5 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.897e-05/0.1963, allocations: 41.17 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.1963, allocations: 3.984 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.1963, allocations: 34.66 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.1963, allocations: 3.938 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001953/0.1965, allocations: 49.67 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1966, allocations: 81.3 kB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1967, allocations: 173.9 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.1967, allocations: 29.7 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.1968, allocations: 107.9 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.1968, allocations: 8 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.1968, allocations: 0 / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.1969, allocations: 318.8 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.1969, allocations: 7.984 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.1969, allocations: 25.66 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.365e-05/0.197, allocations: 12 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.197, allocations: 0 / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.634e-05/0.1971, allocations: 73.39 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1971, allocations: 4 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1971, allocations: 0 / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1971, allocations: 0 / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.1972, allocations: 8 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1972, allocations: 0 / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.1972, allocations: 8.062 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1972, allocations: 0 / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 5.321e-05/0.1973, allocations: 114.4 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.1973, allocations: 19.78 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.1974, allocations: 12.56 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1974, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1974, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1974, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.1977, allocations: 490.6 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1977, allocations: 0 / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.1977, allocations: 4 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1977, allocations: 3.938 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1977, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1977, allocations: 4 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1977, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.649e-05/0.1978, allocations: 95.62 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.1979, allocations: 89.02 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1979, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.1979, allocations: 7.984 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.1979, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.1979, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.198, allocations: 136.9 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/0.198, allocations: 0 / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001801/0.1982, allocations: 8 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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.000269/0.1985, allocations: 0.7031 MB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.736e-05/0.1986, allocations: 15.94 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1986, allocations: 4 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.1986, allocations: 11.94 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.1987, allocations: 4 kB / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.1995, allocations: 0.7266 MB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.1996, allocations: 0.7082 MB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.1997, allocations: 4.438 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.1997, allocations: 27.42 kB / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.1997, allocations: 0 / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.2107, allocations: 1.575 MB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/0.2111, allocations: 209.7 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/1.678, allocations: 0 / 0.9873 GB, free: 19.23 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)