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.001166/0.001166, 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.001206/0.001206, allocations: 195.7 kB / 16.14 MB, free: 6.707 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.239/1.239, allocations: 205.1 MB / 222 MB, free: 4.969 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.564/1.564, 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.001328/0.001328, allocations: 69.17 kB / 0.6709 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1811, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001974/0.1831, allocations: 0.9138 MB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001008/0.1832, allocations: 51.72 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.1833, allocations: 0 / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.1833, allocations: 3.938 kB / 0.7837 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.1834, allocations: 7.938 kB / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.744e-05/0.1835, allocations: 15.98 kB / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.1836, allocations: 63.84 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1837, allocations: 41.39 kB / 0.7839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.1837, allocations: 27.8 kB / 0.7839 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.1838, allocations: 31.78 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1838, allocations: 4 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.1838, allocations: 4 kB / 0.7839 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.1839, allocations: 15.92 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.1839, allocations: 31.8 kB / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.813e-05/0.184, allocations: 79.92 kB / 0.784 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.184, allocations: 0 / 0.784 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.31e-07/0.184, allocations: 0 / 0.784 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.184, allocations: 3.938 kB / 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.0003955/0.1844, allocations: 391.1 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1845, allocations: 8.031 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.1845, allocations: 46.69 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.1845, allocations: 8.844 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1847, allocations: 200.1 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-06/0.1847, allocations: 8.375 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1847, allocations: 8.375 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1849, allocations: 103.8 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1849, allocations: 7.922 kB / 0.7848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1849, allocations: 0 / 0.7848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1849, allocations: 4 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.185, allocations: 39.97 kB / 0.7848 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.1855, allocations: 441.7 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.024e-05/0.1856, allocations: 41.14 kB / 0.7853 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.1856, allocations: 13.84 kB / 0.7853 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1856, allocations: 8.031 kB / 0.7853 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1856, allocations: 34.56 kB / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.1856, allocations: 0 / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.1858, allocations: 61.39 kB / 0.7854 GB, free: 11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1858, allocations: 85.09 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.186, allocations: 171.3 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.186, allocations: 29.95 kB / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.1861, allocations: 108 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/0.1861, allocations: 7.891 kB / 0.7858 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1861, allocations: 17.72 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.1862, allocations: 322.8 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.1862, allocations: 4 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.1863, allocations: 17.72 kB / 0.7861 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.674e-05/0.1863, allocations: 41.64 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1863, allocations: 0 / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.06e-05/0.1864, allocations: 49.61 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1864, allocations: 11.94 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1864, allocations: 0 / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.066e-06/0.1864, allocations: 0 / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.1865, allocations: 11.92 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1865, allocations: 4 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.1866, allocations: 11.97 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1866, 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.845e-05/0.1866, allocations: 118.4 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.1867, allocations: 19.72 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.1867, allocations: 16.55 kB / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1867, allocations: 0 / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1867, allocations: 0 / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1867, allocations: 0 / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.1871, allocations: 482.8 kB / 0.7869 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1871, allocations: 0 / 0.7869 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.1871, allocations: 4 kB / 0.7869 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1872, allocations: 3.984 kB / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.1872, allocations: 0 / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1872, allocations: 0 / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1872, allocations: 4 kB / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.012e-05/0.1873, allocations: 89.75 kB / 0.787 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.1873, allocations: 89 kB / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.1873, allocations: 0 / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.1874, allocations: 0 / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.1874, allocations: 4 kB / 0.7871 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.1874, allocations: 0 / 0.7871 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.22e-05/0.1875, allocations: 128 kB / 0.7872 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1875, allocations: 4.031 kB / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001776/0.1877, allocations: 8 kB / 0.7872 GB, free: 8.98 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.0003142/0.188, allocations: 0.617 MB / 0.7878 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.1881, allocations: 24.02 kB / 0.7878 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1881, allocations: 0 / 0.7878 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.575e-05/0.1881, allocations: 11.94 kB / 0.7878 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.1882, allocations: 10.66 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.001071/0.1893, allocations: 1.389 MB / 0.7892 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.1895, allocations: 0.6965 MB / 0.7899 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.742e-05/0.1896, allocations: 12.42 kB / 0.7899 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.1896, allocations: 27.42 kB / 0.7899 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.1896, allocations: 0 / 0.7899 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009703/0.1993, allocations: 1.532 MB / 0.7914 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.1995, allocations: 206 kB / 0.7916 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/1.697, allocations: 3.938 kB / 0.7916 GB, free: 4.359 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)