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.0007788/0.0007789, allocations: 97.48 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.004685/0.004685, allocations: 169.9 kB / 16.27 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.314/1.314, allocations: 205.4 MB / 222.4 MB, free: 5.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.655/1.655, allocations: 292.7 MB / 0.5503 GB, free: 14.41 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.0004696/0.0004697, allocations: 16.67 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1811, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003216/0.1844, allocations: 2.989 MB / 0.7909 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 7.538e-05/0.1845, allocations: 43.88 kB / 0.791 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.1845, allocations: 0 / 0.791 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.1846, allocations: 11.92 kB / 0.791 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.1847, allocations: 7.984 kB / 0.791 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.1851, allocations: 167.3 kB / 0.7911 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.773e-05/0.1852, allocations: 55.83 kB / 0.7912 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/0.1852, allocations: 4 kB / 0.7912 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.1853, allocations: 15.92 kB / 0.7912 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.1853, allocations: 7.984 kB / 0.7912 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1854, allocations: 8 kB / 0.7912 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.1857, allocations: 175.5 kB / 0.7914 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.1857, allocations: 4 kB / 0.7914 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.1858, allocations: 37.62 kB / 0.7914 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.186, allocations: 136 kB / 0.7916 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.186, allocations: 0 / 0.7916 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.186, allocations: 0 / 0.7916 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.186, allocations: 0 / 0.7916 GB, free: 7.82 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.00037/0.1864, allocations: 339.5 kB / 0.7919 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1864, allocations: 16.03 kB / 0.7919 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.1865, allocations: 30.75 kB / 0.7919 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.1865, allocations: 4.844 kB / 0.7919 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.729e-05/0.1866, allocations: 168.3 kB / 0.7921 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/0.1867, allocations: 30.27 kB / 0.7921 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.1867, allocations: 4.125 kB / 0.7921 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1868, allocations: 45.62 kB / 0.7922 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1868, allocations: 4 kB / 0.7922 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.1868, allocations: 0 / 0.7922 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.1869, allocations: 4 kB / 0.7922 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.496e-05/0.1869, allocations: 15.98 kB / 0.7922 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.1875, allocations: 0.5833 MB / 0.7928 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.225e-05/0.1875, allocations: 18.52 kB / 0.7928 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.1875, allocations: 4.859 kB / 0.7928 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.1878, allocations: 344.5 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1878, allocations: 38.55 kB / 0.7932 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1878, allocations: 0 / 0.7932 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.1879, allocations: 33.7 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.188, allocations: 51.41 kB / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.188, allocations: 101.8 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1881, allocations: 29.7 kB / 0.7934 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.1881, allocations: 88.05 kB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.1881, allocations: 11.97 kB / 0.7935 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.1882, allocations: 17.59 kB / 0.7935 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.1882, allocations: 314.8 kB / 0.7938 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.1883, allocations: 7.984 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.1883, allocations: 17.72 kB / 0.7938 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.1883, allocations: 21.72 kB / 0.7938 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1883, allocations: 4 kB / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.148e-05/0.1884, allocations: 45.62 kB / 0.7939 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1884, allocations: 4 kB / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1884, allocations: 4 kB / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.1885, allocations: 0 / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.1885, allocations: 7.984 kB / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1885, allocations: 0 / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.1885, allocations: 4.281 kB / 0.7939 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.1886, allocations: 4 kB / 0.7939 GB, free: 5.043 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.684e-05/0.1886, allocations: 114.5 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1887, allocations: 4 kB / 0.794 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.1888, allocations: 127.8 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/0.1888, allocations: 184.3 kB / 0.7943 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/0.1889, allocations: 180.2 kB / 0.7945 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.348e-05/0.1889, allocations: 180.3 kB / 0.7946 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1892, allocations: 413.1 kB / 0.795 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/0.1892, allocations: 101 kB / 0.7951 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.1893, allocations: 108.9 kB / 0.7952 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.56e-05/0.1893, allocations: 188.2 kB / 0.7954 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/0.1894, allocations: 176.3 kB / 0.7956 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.037e-05/0.1894, allocations: 184.2 kB / 0.7958 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.486e-05/0.1895, allocations: 184.5 kB / 0.7959 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.1896, allocations: 315.6 kB / 0.7962 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.1897, allocations: 182.1 kB / 0.7964 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.472e-05/0.1898, allocations: 184.2 kB / 0.7966 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.19, allocations: 109 kB / 0.7967 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.19, allocations: 180.3 kB / 0.7969 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.1901, allocations: 108.9 kB / 0.797 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.1901, allocations: 87.27 kB / 0.7971 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1901, allocations: 0 / 0.7971 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002714/0.1904, allocations: 35.94 kB / 0.7971 GB, free: 1.547 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.0005278/0.1909, allocations: 0.8711 MB / 0.7979 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.397e-05/0.191, allocations: 11.94 kB / 0.7979 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.191, allocations: 0 / 0.7979 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/0.191, allocations: 4 kB / 0.798 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.1915, allocations: 0.5225 MB / 0.7985 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1925, allocations: 1.342 MB / 0.7998 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1928, allocations: 0.6731 MB / 0.8004 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.1928, allocations: 8 kB / 0.8004 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.1928, allocations: 14.81 kB / 0.8005 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.1928, allocations: 0 / 0.8005 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6256/0.8184, allocations: 1.901 MB / 0.8023 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.8187, allocations: 261.3 kB / 0.8026 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.41, allocations: 0 / 0.8026 GB, free: 12.02 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)