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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.346/1.346, 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.0008995/0.0008997, allocations: 174.3 kB / 325.8 MB, free: 2.688 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.472/1.472, allocations: 205 MB / 0.576 GB, free: 20.96 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.0007352/0.0007351, allocations: 91.89 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003142, allocations: 12.34 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2009, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0009602/0.2019, allocations: 0.592 MB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000109/0.202, allocations: 43.78 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.2021, allocations: 0 / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.2021, allocations: 7.922 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.001e-05/0.2022, allocations: 7.938 kB / 0.8968 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.77e-05/0.2023, allocations: 15.98 kB / 0.8969 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2024, allocations: 67.78 kB / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2025, allocations: 41.61 kB / 0.897 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.2026, allocations: 15.88 kB / 0.897 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.688e-05/0.2026, allocations: 31.78 kB / 0.897 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2026, allocations: 0 / 0.897 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.2027, allocations: 7.938 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.2027, allocations: 11.86 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.2027, allocations: 35.75 kB / 0.8971 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.81e-05/0.2028, allocations: 67.73 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2028, allocations: 3.938 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2028, allocations: 0 / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2028, allocations: 0 / 0.8971 GB, free: 67.12 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.0003105/0.2031, allocations: 372.5 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2032, allocations: 8.031 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.2032, allocations: 42.75 kB / 0.8975 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.2033, allocations: 20.73 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.2034, allocations: 192.2 kB / 0.8977 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.2034, allocations: 384 / 0.8977 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.2034, allocations: 12.38 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.2036, allocations: 95.25 kB / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2036, allocations: 3.938 kB / 0.8978 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.2036, allocations: 4 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2036, allocations: 0 / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.542e-05/0.2037, allocations: 39.92 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.2041, allocations: 448.6 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.091e-05/0.2041, allocations: 41.25 kB / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.2042, allocations: 17.78 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.2042, allocations: 0 / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/0.2042, allocations: 38.55 kB / 0.8984 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2042, allocations: 0 / 0.8984 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/0.2044, allocations: 61.47 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2044, allocations: 77.11 kB / 0.8985 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2045, allocations: 174.4 kB / 0.8987 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-06/0.2045, allocations: 25.7 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.2046, allocations: 115.9 kB / 0.8988 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.664e-06/0.2046, allocations: 7.891 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.2046, allocations: 9.719 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.2047, allocations: 326.8 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.2047, allocations: 8 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.2047, allocations: 21.64 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.2047, allocations: 29.72 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2047, allocations: 4 kB / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.675e-05/0.2048, allocations: 57.55 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2048, allocations: 11.94 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2048, allocations: 7.922 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2049, allocations: 3.938 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.2049, allocations: 4 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2049, allocations: 8.062 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.205, allocations: 3.938 kB / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.205, allocations: 4 kB / 0.8993 GB, free: 64.6 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.749e-05/0.205, allocations: 109.8 kB / 0.8994 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.2051, allocations: 19.75 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.2051, allocations: 12.55 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2051, allocations: 4 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2051, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2051, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.2054, allocations: 482.8 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2054, allocations: 0 / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.2054, allocations: 11.92 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2054, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2054, allocations: 4 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2054, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2054, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.585e-05/0.2055, allocations: 81.91 kB / 0.9 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.2055, allocations: 93 kB / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2056, allocations: 0 / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.2056, allocations: 0 / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.2056, allocations: 4 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2056, allocations: 0 / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.2057, allocations: 136.9 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2057, allocations: 0 / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001646/0.2059, allocations: 8 kB / 0.9003 GB, free: 63.54 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.0002139/0.2061, allocations: 0.6208 MB / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.027e-05/0.2062, allocations: 23.97 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2062, allocations: 0 / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.2062, allocations: 4 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.2064, allocations: 8 kB / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.2072, allocations: 1.4 MB / 0.9023 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.753e-05/0.2073, allocations: 0.6926 MB / 0.9029 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.2073, allocations: 12.42 kB / 0.9029 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.2074, allocations: 27.42 kB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2074, allocations: 0 / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.2178, allocations: 1.477 MB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/0.2179, allocations: 232 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.737, allocations: 0 / 0.9046 GB, free: 59.04 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)