Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001233/0.001233, allocations: 198.5 kB / 16.14 MB, free: 6.715 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.241/1.241, allocations: 205.1 MB / 222 MB, free: 4.988 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.578/1.578, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001318/0.001318, allocations: 68.08 kB / 0.6709 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1833, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001838/0.1852, allocations: 0.9061 MB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.388e-05/0.1853, allocations: 55.7 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.1854, allocations: 0 / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.1854, allocations: 3.938 kB / 0.7837 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.1855, allocations: 11.88 kB / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.891e-05/0.1855, allocations: 15.98 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.884e-05/0.1856, allocations: 63.84 kB / 0.7838 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1857, allocations: 45.36 kB / 0.7839 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.1858, allocations: 31.8 kB / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.1859, allocations: 31.78 kB / 0.7839 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1859, allocations: 4 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.1859, allocations: 4 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1859, allocations: 15.94 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.186, allocations: 31.8 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.502e-05/0.186, allocations: 79.91 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1861, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.41e-07/0.1861, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.826e-06/0.1861, allocations: 0 / 0.7841 GB, free: 12.59 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.0003488/0.1864, allocations: 391.1 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1865, allocations: 12.03 kB / 0.7844 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1865, allocations: 34.75 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.1865, allocations: 20.72 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1867, allocations: 200.1 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.1867, allocations: 4.375 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1867, allocations: 8.375 kB / 0.7847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1869, allocations: 99.86 kB / 0.7848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1869, allocations: 7.875 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1869, allocations: 0 / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1869, allocations: 7.984 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.187, allocations: 39.98 kB / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.1874, allocations: 437.8 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.943e-05/0.1875, allocations: 45.08 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.1875, allocations: 17.84 kB / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.1875, allocations: 0 / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.1876, allocations: 38.5 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1876, allocations: 0 / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001444/0.1877, allocations: 57.45 kB / 0.7854 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1878, allocations: 89.28 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1879, allocations: 171.3 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.1879, allocations: 25.7 kB / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.188, allocations: 108 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.188, allocations: 7.906 kB / 0.7858 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.188, allocations: 13.72 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.1881, allocations: 322.8 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.1881, allocations: 8 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.1882, allocations: 25.7 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.1882, allocations: 25.72 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1882, allocations: 0 / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.995e-05/0.1883, allocations: 65.55 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1883, allocations: 7.938 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1883, allocations: 0 / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1883, allocations: 0 / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.1884, allocations: 16.05 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1884, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.1884, allocations: 7.844 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1885, allocations: 4 kB / 0.7863 GB, free: 10.04 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 6.267e-05/0.1885, allocations: 121.7 kB / 0.7864 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1886, allocations: 11.84 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.1886, allocations: 16.55 kB / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1886, allocations: 0 / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1886, allocations: 0 / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1886, allocations: 7.938 kB / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.189, allocations: 478.8 kB / 0.7869 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.189, allocations: 0 / 0.7869 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.189, allocations: 7.984 kB / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.189, allocations: 0 / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.189, allocations: 0 / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.189, allocations: 0 / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.189, allocations: 4 kB / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.827e-05/0.1891, allocations: 89.83 kB / 0.787 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.1892, allocations: 93 kB / 0.7871 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1892, allocations: 0 / 0.7871 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.1892, allocations: 0 / 0.7871 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.1892, allocations: 4 kB / 0.7871 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.1892, allocations: 0 / 0.7871 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.1893, allocations: 136 kB / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1893, allocations: 0 / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001785/0.1895, allocations: 8 kB / 0.7872 GB, free: 8.969 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.0002916/0.1898, allocations: 0.6132 MB / 0.7878 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.61e-05/0.1899, allocations: 23.92 kB / 0.7878 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1899, allocations: 0 / 0.7878 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-05/0.1899, allocations: 8 kB / 0.7878 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.19, allocations: 6.812 kB / 0.7878 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1911, allocations: 1.396 MB / 0.7892 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1913, allocations: 0.6926 MB / 0.7899 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.1914, allocations: 12.42 kB / 0.7899 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.1914, allocations: 27.42 kB / 0.7899 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.1914, allocations: 0 / 0.7899 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009565/0.201, allocations: 1.525 MB / 0.7914 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.2012, allocations: 220.2 kB / 0.7916 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.744, allocations: 0 / 0.7916 GB, free: 4.375 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)