Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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_hp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.0009117/0.0009117, allocations: 97.56 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.005446/0.005446, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.262/1.262, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.581/1.581, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004802/0.0004802, allocations: 15.41 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1864, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.0009218/0.1874, allocations: 0.5672 MB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001126/0.1875, allocations: 39.78 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.1876, allocations: 4 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.1876, allocations: 7.875 kB / 0.7886 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.1877, allocations: 7.922 kB / 0.7886 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.279e-05/0.1877, allocations: 19.98 kB / 0.7886 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.719e-05/0.1878, allocations: 59.84 kB / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.188, allocations: 41.38 kB / 0.7887 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.188, allocations: 23.75 kB / 0.7888 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.1881, allocations: 19.86 kB / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1881, allocations: 8 kB / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-06/0.1881, allocations: 0 / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.1881, allocations: 15.92 kB / 0.7888 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.1882, allocations: 53.45 kB / 0.7888 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.207e-05/0.1883, allocations: 75.89 kB / 0.7889 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1883, allocations: 0 / 0.7889 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1883, allocations: 0 / 0.7889 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.1883, allocations: 0 / 0.7889 GB, free: 10.48 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.0003457/0.1886, allocations: 375.2 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1887, allocations: 15.97 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.1887, allocations: 38.75 kB / 0.7893 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.1888, allocations: 12.84 kB / 0.7893 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1889, allocations: 196.1 kB / 0.7895 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.189, allocations: 12.28 kB / 0.7895 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.189, allocations: 8.375 kB / 0.7895 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1891, allocations: 87.95 kB / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1891, allocations: 3.938 kB / 0.7896 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1892, allocations: 11.94 kB / 0.7896 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1892, allocations: 7.984 kB / 0.7897 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.1893, allocations: 35.98 kB / 0.7897 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.1897, allocations: 448.4 kB / 0.7901 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.807e-05/0.1898, allocations: 46.34 kB / 0.7902 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.1898, allocations: 17.84 kB / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-06/0.1899, allocations: 0 / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.1899, allocations: 34.5 kB / 0.7902 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1899, allocations: 4 kB / 0.7902 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001573/0.1901, allocations: 57.55 kB / 0.7903 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1901, allocations: 89.03 kB / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1902, allocations: 167.3 kB / 0.7905 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1903, allocations: 25.7 kB / 0.7905 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.1903, allocations: 108 kB / 0.7906 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.505e-06/0.1903, allocations: 3.906 kB / 0.7906 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.1904, allocations: 17.72 kB / 0.7907 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.1905, allocations: 319.1 kB / 0.791 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.1905, allocations: 8 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.1905, allocations: 21.72 kB / 0.791 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.1906, allocations: 29.7 kB / 0.791 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1906, allocations: 0 / 0.791 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.348e-05/0.1907, allocations: 61.55 kB / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1907, allocations: 7.938 kB / 0.7911 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1907, allocations: 4.062 kB / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1907, allocations: 4 kB / 0.7911 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.1908, allocations: 7.984 kB / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1908, allocations: 0 / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.1908, allocations: 7.906 kB / 0.7911 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.1908, allocations: 0 / 0.7911 GB, free: 7.953 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.551e-05/0.1909, allocations: 121.7 kB / 0.7912 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.1909, allocations: 11.84 kB / 0.7912 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.191, allocations: 20.62 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.191, allocations: 7.938 kB / 0.7913 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.191, allocations: 0 / 0.7913 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.191, allocations: 4 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.1913, allocations: 470.8 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1914, allocations: 0 / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.1914, allocations: 4 kB / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1914, allocations: 3.938 kB / 0.7917 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1914, allocations: 12.05 kB / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1914, allocations: 0 / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1914, allocations: 0 / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.988e-05/0.1915, allocations: 85.69 kB / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.1916, allocations: 89 kB / 0.7919 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1916, allocations: 4 kB / 0.7919 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.72e-05/0.1916, allocations: 8.031 kB / 0.7919 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.1916, allocations: 4 kB / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1916, allocations: 0 / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.153e-05/0.1917, allocations: 124 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1917, allocations: 0 / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001833/0.1919, allocations: 8 kB / 0.792 GB, free: 6.883 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.0003014/0.1922, allocations: 0.6171 MB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.504e-05/0.1923, allocations: 27.92 kB / 0.7927 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1923, allocations: 0 / 0.7927 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.1923, allocations: 4 kB / 0.7927 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.1925, allocations: 8 kB / 0.7927 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1936, allocations: 1.393 MB / 0.794 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.1938, allocations: 0.6965 MB / 0.7947 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.1938, allocations: 8.422 kB / 0.7947 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.1938, allocations: 23.42 kB / 0.7948 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/0.1938, allocations: 0 / 0.7948 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009642/0.2035, allocations: 1.469 MB / 0.7962 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.2037, allocations: 208.1 kB / 0.7964 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.71, allocations: 0 / 0.7964 GB, free: 2.363 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)