Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.0008844/0.0008845, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00522/0.00522, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.226/1.226, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.602/1.602, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004717/0.0004717, allocations: 13.97 kB / 0.6744 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1837, allocations: 116.3 MB / 0.788 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.000939/0.1847, allocations: 0.5711 MB / 0.7886 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.1848, allocations: 35.8 kB / 0.7886 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.1849, allocations: 0 / 0.7886 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.1849, allocations: 15.86 kB / 0.7886 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.185, allocations: 15.92 kB / 0.7886 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.315e-05/0.1851, allocations: 15.98 kB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.1852, allocations: 59.84 kB / 0.7887 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1853, allocations: 37.39 kB / 0.7887 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.1853, allocations: 19.81 kB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.1854, allocations: 27.8 kB / 0.7888 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.1854, allocations: 0 / 0.7888 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.1854, allocations: 4 kB / 0.7888 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.1855, allocations: 7.922 kB / 0.7888 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.1855, allocations: 57.45 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.001e-05/0.1856, allocations: 75.89 kB / 0.7889 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1856, allocations: 0 / 0.7889 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1856, allocations: 0 / 0.7889 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.1856, allocations: 0 / 0.7889 GB, free: 10.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.0003682/0.186, allocations: 379.2 kB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.186, allocations: 8.031 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.1861, allocations: 42.75 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.1861, allocations: 12.84 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1863, allocations: 204 kB / 0.7895 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1863, allocations: 4.375 kB / 0.7895 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1863, allocations: 8.375 kB / 0.7895 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1865, allocations: 95.94 kB / 0.7896 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1865, allocations: 7.875 kB / 0.7896 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1865, allocations: 4 kB / 0.7896 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1865, allocations: 0 / 0.7896 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.1866, allocations: 35.98 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.1871, allocations: 448.7 kB / 0.7901 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.1872, allocations: 50.16 kB / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.1872, allocations: 17.72 kB / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.1872, allocations: 0 / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1873, allocations: 42.5 kB / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1873, allocations: 0 / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.1874, allocations: 57.53 kB / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1875, allocations: 81.05 kB / 0.7903 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1876, allocations: 171.3 kB / 0.7905 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1877, allocations: 25.7 kB / 0.7905 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.1877, allocations: 112 kB / 0.7906 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-06/0.1877, allocations: 4.156 kB / 0.7906 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.1878, allocations: 13.72 kB / 0.7907 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.1879, allocations: 322.8 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.1879, allocations: 8 kB / 0.791 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.1879, allocations: 25.69 kB / 0.791 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.188, allocations: 25.72 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.188, allocations: 0 / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.386e-05/0.1881, allocations: 65.55 kB / 0.7911 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1881, allocations: 10.75 kB / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1881, allocations: 0 / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1881, allocations: 3.984 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.1882, allocations: 8 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1882, allocations: 0 / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.1882, allocations: 7.844 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1882, allocations: 4 kB / 0.7911 GB, free: 8.059 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.256e-05/0.1883, allocations: 121.8 kB / 0.7912 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.1883, allocations: 11.84 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.1884, allocations: 16.55 kB / 0.7913 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1884, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1884, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1884, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.1888, allocations: 478.7 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1888, allocations: 4.062 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.1888, allocations: 11.98 kB / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1888, allocations: 0 / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1888, allocations: 0 / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1888, allocations: 3.938 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1888, allocations: 4 kB / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.049e-05/0.1889, allocations: 77.78 kB / 0.7918 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.189, allocations: 97.03 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.189, allocations: 0 / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.189, allocations: 0 / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.1891, allocations: 11.94 kB / 0.7919 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1891, allocations: 0 / 0.7919 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.007e-05/0.1892, allocations: 131.9 kB / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1892, allocations: 0 / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001867/0.1894, allocations: 8 kB / 0.792 GB, free: 6.988 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.0003401/0.1897, allocations: 0.6132 MB / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.839e-05/0.1898, allocations: 23.92 kB / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1898, allocations: 0 / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.1898, allocations: 4.219 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.19, allocations: 12.06 kB / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1911, allocations: 1.392 MB / 0.794 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1914, allocations: 0.6926 MB / 0.7947 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.1914, allocations: 8.422 kB / 0.7947 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.1915, allocations: 27.42 kB / 0.7948 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.1915, allocations: 0 / 0.7948 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.2016, allocations: 1.459 MB / 0.7962 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.2017, allocations: 204.6 kB / 0.7964 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.748, allocations: 7.938 kB / 0.7964 GB, free: 2.477 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)