Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001154/0.001154, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.172/1.172, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.595/1.595, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001346/0.001347, allocations: 71.42 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.178, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004407/0.1824, allocations: 3.277 MB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 8.959e-05/0.1825, allocations: 55.86 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.1825, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.566e-05/0.1826, allocations: 7.922 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.1827, allocations: 7.938 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.1832, allocations: 175.3 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.467e-05/0.1833, allocations: 27.86 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.1833, allocations: 7.984 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.1834, allocations: 15.94 kB / 0.787 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.1834, allocations: 15.97 kB / 0.787 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1834, allocations: 3.938 kB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.1838, allocations: 171.6 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.1838, allocations: 0 / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.1839, allocations: 15.94 kB / 0.7872 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1841, allocations: 132 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1841, allocations: 0 / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1841, allocations: 7.875 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1841, allocations: 0 / 0.7873 GB, free: 9.461 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003659/0.1845, allocations: 351.4 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1846, allocations: 8.031 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.1846, allocations: 38.75 kB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.1846, allocations: 0.9375 kB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/0.1847, allocations: 164.3 kB / 0.7878 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.1848, allocations: 30.27 kB / 0.7879 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1848, allocations: 4.125 kB / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1849, allocations: 45.67 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1849, allocations: 0 / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1849, allocations: 4 kB / 0.7879 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.185, allocations: 3.984 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.472e-05/0.185, allocations: 15.98 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.1855, allocations: 0.5832 MB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.589e-05/0.1856, allocations: 18.61 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/0.1856, allocations: 8.859 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.1858, allocations: 340.5 kB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1858, allocations: 34.56 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1859, allocations: 0 / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.186, allocations: 41.62 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.186, allocations: 51.41 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.1861, allocations: 97.86 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1861, allocations: 29.83 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.1862, allocations: 99.95 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.1862, allocations: 7.844 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.1862, allocations: 21.72 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.1863, allocations: 314.8 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.1863, allocations: 4 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.1863, allocations: 21.7 kB / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.1864, allocations: 21.66 kB / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1864, allocations: 0 / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.062e-05/0.1865, allocations: 49.69 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1865, allocations: 4 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1865, allocations: 4 kB / 0.7896 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.1865, allocations: 0 / 0.7896 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.1865, allocations: 8 kB / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1866, allocations: 3.938 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.1866, allocations: 4.062 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1866, allocations: 3.984 kB / 0.7896 GB, free: 6.664 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 (3): * Single equations (assignments): 3 * 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.156e-05/0.1867, allocations: 117.8 kB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.1867, allocations: 0 / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.213e-05/0.1868, allocations: 120.8 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-05/0.1868, allocations: 184.2 kB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.055e-05/0.1869, allocations: 184.3 kB / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.637e-05/0.1869, allocations: 180.3 kB / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.1871, allocations: 409.1 kB / 0.7908 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-05/0.1872, allocations: 101 kB / 0.7909 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.1872, allocations: 109 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.706e-05/0.1873, allocations: 184.3 kB / 0.7912 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.1873, allocations: 188.2 kB / 0.7913 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.17e-05/0.1874, allocations: 176.3 kB / 0.7915 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-05/0.1874, allocations: 176.3 kB / 0.7917 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1875, allocations: 311.7 kB / 0.792 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.1876, allocations: 186 kB / 0.7921 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.1876, allocations: 184.3 kB / 0.7923 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1878, allocations: 109 kB / 0.7924 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.1878, allocations: 184.2 kB / 0.7926 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.1879, allocations: 101 kB / 0.7927 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.1879, allocations: 83.28 kB / 0.7928 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1879, allocations: 3.938 kB / 0.7928 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002561/0.1882, allocations: 43.92 kB / 0.7928 GB, free: 3.176 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.000408/0.1886, allocations: 0.8636 MB / 0.7937 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.811e-05/0.1887, allocations: 11.98 kB / 0.7937 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1887, allocations: 0 / 0.7937 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1887, allocations: 0 / 0.7937 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1891, allocations: 474.8 kB / 0.7941 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.1899, allocations: 1.324 MB / 0.7954 GB, free: 404 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.1901, allocations: 0.6768 MB / 0.7961 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.1901, allocations: 10.39 kB / 0.7961 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.1902, allocations: 11.42 kB / 0.7961 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.1902, allocations: 4 kB / 0.7961 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8974/1.088, allocations: 2.077 MB / 0.7981 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/10.01, allocations: 18.23 kB / 0.7982 GB, free: 13.75 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)