Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 189.2 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 222.1 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.3 MB / 0.5486 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.33 kB / 0.6711 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1942, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001881/0.1961, allocations: 0.9138 MB / 0.7839 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001104/0.1962, allocations: 39.78 kB / 0.7839 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.1963, allocations: 8 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.1963, allocations: 3.938 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.1964, allocations: 3.938 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.542e-05/0.1965, allocations: 19.98 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.525e-05/0.1966, allocations: 67.78 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1967, allocations: 37.39 kB / 0.784 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.1968, allocations: 31.86 kB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.1968, allocations: 31.78 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1968, allocations: 8 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.1969, allocations: 8 kB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1969, allocations: 15.92 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.013e-05/0.1969, allocations: 43.67 kB / 0.7842 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.491e-05/0.197, allocations: 75.92 kB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.197, allocations: 4 kB / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.197, allocations: 0 / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.197, allocations: 0 / 0.7843 GB, free: 12.47 MB / 0.6075 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.0003781/0.1974, allocations: 395.1 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1975, allocations: 8.031 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.1975, allocations: 38.75 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.1975, allocations: 12.75 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1977, allocations: 199.4 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1977, allocations: 4.375 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1978, allocations: 8.375 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1979, allocations: 103.9 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1979, allocations: 3.938 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1979, allocations: 8 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1979, allocations: 0 / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.198, allocations: 43.91 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.1985, allocations: 445.6 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.1986, allocations: 49.17 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.1986, allocations: 13.72 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.1986, allocations: 4.062 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.1986, allocations: 30.56 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1986, allocations: 4 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001534/0.1988, allocations: 57.48 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1988, allocations: 85.09 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.199, allocations: 171.2 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.199, allocations: 25.7 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.199, allocations: 112 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-06/0.1991, allocations: 7.891 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.1991, allocations: 17.97 kB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.1992, allocations: 322.8 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.1992, allocations: 4 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.1992, allocations: 21.72 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.1993, allocations: 33.64 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1993, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.996e-05/0.1994, allocations: 65.55 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1994, allocations: 7.938 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1994, allocations: 0 / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1994, allocations: 4 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.1995, allocations: 7.984 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1995, allocations: 0 / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.1995, allocations: 7.906 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.1995, allocations: 0 / 0.7865 GB, free: 9.926 MB / 0.6075 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 7.164e-05/0.1996, allocations: 118.4 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.1997, allocations: 15.91 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.1997, allocations: 16.55 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1997, allocations: 0 / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1997, allocations: 0 / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1997, allocations: 4 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.2001, allocations: 470.8 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.2001, allocations: 4 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.2001, allocations: 4.062 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.2001, allocations: 7.984 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.2001, allocations: 7.938 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2001, allocations: 0 / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2001, allocations: 3.938 kB / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.074e-05/0.2002, allocations: 81.84 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.2003, allocations: 88.91 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2003, allocations: 8.031 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.2003, allocations: 7.938 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.2003, allocations: 0 / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.2003, allocations: 0 / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.67e-05/0.2004, allocations: 124 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2004, allocations: 0 / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001752/0.2006, allocations: 8 kB / 0.7874 GB, free: 8.863 MB / 0.6075 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.0003114/0.2009, allocations: 0.6248 MB / 0.788 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.201, allocations: 23.92 kB / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.201, allocations: 0 / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.201, allocations: 8 kB / 0.788 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.2012, allocations: 10.78 kB / 0.788 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2022, allocations: 1.394 MB / 0.7894 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2025, allocations: 0.6963 MB / 0.7901 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.2025, allocations: 12.5 kB / 0.7901 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.2026, allocations: 27.42 kB / 0.7901 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2026, allocations: 0 / 0.7901 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.2149, allocations: 1.579 MB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.2151, allocations: 215.4 kB / 0.7919 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/1.912, allocations: 0 / 0.7919 GB, free: 4.227 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)