Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.269/1.269, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009455/0.0009456, allocations: 166.6 kB / 325.8 MB, free: 2.684 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.465/1.465, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006596/0.0006596, allocations: 94.34 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003101, allocations: 8.938 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1693, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.0008189/0.1702, allocations: 0.5959 MB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.95e-05/0.1703, allocations: 51.66 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.1704, allocations: 0 / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.1704, allocations: 7.938 kB / 0.8968 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.1705, allocations: 11.92 kB / 0.8968 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-05/0.1705, allocations: 12 kB / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.1706, allocations: 63.83 kB / 0.8969 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1707, allocations: 49.59 kB / 0.897 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.1708, allocations: 19.81 kB / 0.897 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.1708, allocations: 23.8 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1709, allocations: 0 / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.1709, allocations: 4 kB / 0.897 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.1709, allocations: 11.92 kB / 0.897 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.1709, allocations: 27.75 kB / 0.8971 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.878e-05/0.171, allocations: 67.73 kB / 0.8971 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.171, allocations: 7.938 kB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.171, allocations: 4 kB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1711, allocations: 0 / 0.8971 GB, free: 67.1 MB / 0.6042 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.0003117/0.1714, allocations: 371.3 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1714, allocations: 8.031 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.1714, allocations: 38.75 kB / 0.8975 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.1715, allocations: 16.69 kB / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1716, allocations: 194.5 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1716, allocations: 12.38 kB / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1717, allocations: 4.375 kB / 0.8977 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1718, allocations: 99.05 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1718, allocations: 7.922 kB / 0.8978 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1718, allocations: 4 kB / 0.8978 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1718, allocations: 0 / 0.8978 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.1719, allocations: 39.98 kB / 0.8979 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.1723, allocations: 448.5 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.1723, allocations: 41.2 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.1724, allocations: 17.78 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.1724, allocations: 4.094 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.1724, allocations: 34.5 kB / 0.8984 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1724, allocations: 0 / 0.8984 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.1726, allocations: 61.48 kB / 0.8985 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.1726, allocations: 77.11 kB / 0.8985 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1727, allocations: 174.2 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.1727, allocations: 25.95 kB / 0.8987 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.1728, allocations: 119.8 kB / 0.8988 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.1728, allocations: 3.906 kB / 0.8988 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.1728, allocations: 9.719 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.1729, allocations: 326.8 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.1729, allocations: 8 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.1729, allocations: 17.72 kB / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.173, allocations: 37.64 kB / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.173, allocations: 0 / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.834e-05/0.173, allocations: 57.61 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1731, allocations: 7.938 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1731, allocations: 3.938 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.1731, allocations: 0 / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.1731, allocations: 15.92 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1732, allocations: 0 / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.1732, allocations: 3.938 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.1732, allocations: 8.062 kB / 0.8993 GB, free: 64.58 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.1732, allocations: 113.8 kB / 0.8994 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.1733, allocations: 15.75 kB / 0.8994 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.1733, allocations: 12.56 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1733, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1733, allocations: 3.984 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1733, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.1736, allocations: 482.8 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1736, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.1736, allocations: 4 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1737, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.1737, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1737, allocations: 4 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1737, allocations: 3.984 kB / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.938e-05/0.1737, allocations: 81.84 kB / 0.9 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.1738, allocations: 93 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1738, allocations: 4 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.1738, allocations: 4 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.1738, allocations: 0 / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.1738, allocations: 0 / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.1739, allocations: 128.9 kB / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1739, allocations: 0 / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001832/0.1741, allocations: 12.03 kB / 0.9002 GB, free: 63.53 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002152/0.1743, allocations: 0.6208 MB / 0.9008 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.653e-05/0.1744, allocations: 20.08 kB / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1744, allocations: 8 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.1744, allocations: 11.94 kB / 0.9009 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.1746, allocations: 8 kB / 0.9009 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/0.1754, allocations: 1.395 MB / 0.9023 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.997e-05/0.1755, allocations: 0.6926 MB / 0.9029 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.1756, allocations: 16.53 kB / 0.9029 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.1756, allocations: 23.44 kB / 0.903 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.1756, allocations: 4 kB / 0.903 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.186, allocations: 1.464 MB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.1862, allocations: 218.7 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.742, allocations: 5.406 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)