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.001098/0.001098, 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.001012/0.001012, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.178/1.178, allocations: 205.1 MB / 222 MB, free: 4.773 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.493/1.493, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001289/0.001289, allocations: 61.78 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1784, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003901/0.1823, allocations: 3.343 MB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 7.575e-05/0.1824, allocations: 59.78 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.1824, allocations: 0 / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.993e-05/0.1825, allocations: 0 / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.1826, allocations: 11.92 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.183, allocations: 166.5 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.694e-05/0.1831, allocations: 59.81 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.613e-05/0.1831, allocations: 0 / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.1831, allocations: 15.92 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.1832, allocations: 12 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1832, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.1835, allocations: 167.5 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.1835, allocations: 15.92 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.1836, allocations: 4 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1838, allocations: 139.9 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1838, allocations: 0 / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.31e-07/0.1838, allocations: 3.938 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.1838, allocations: 4 kB / 0.7867 GB, free: 9.879 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.0003493/0.1842, allocations: 355.4 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1842, allocations: 8.031 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1843, allocations: 34.75 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.1843, allocations: 4.938 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.82e-05/0.1844, allocations: 164.3 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.1844, allocations: 30.27 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.1845, allocations: 8.125 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1846, allocations: 45.67 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.1846, allocations: 0 / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1846, allocations: 0 / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.1846, allocations: 0 / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.1847, allocations: 15.98 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.1852, allocations: 0.5832 MB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.788e-05/0.1853, allocations: 26.59 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.1853, allocations: 4.859 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.1855, allocations: 344.4 kB / 0.7882 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1855, allocations: 34.56 kB / 0.7883 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1855, allocations: 0 / 0.7883 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.1857, allocations: 41.62 kB / 0.7883 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.1857, allocations: 51.41 kB / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/0.1858, allocations: 101.9 kB / 0.7885 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1858, allocations: 25.7 kB / 0.7885 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.1859, allocations: 88.03 kB / 0.7886 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.1859, allocations: 7.844 kB / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.1859, allocations: 17.72 kB / 0.7886 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.186, allocations: 318.8 kB / 0.7889 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.186, allocations: 4.125 kB / 0.7889 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.1861, allocations: 21.7 kB / 0.7889 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.998e-05/0.1861, allocations: 25.66 kB / 0.7889 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1861, allocations: 0 / 0.7889 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.532e-05/0.1862, allocations: 41.69 kB / 0.789 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.1862, allocations: 4 kB / 0.789 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.1862, allocations: 8.062 kB / 0.789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1862, allocations: 0 / 0.789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.1863, allocations: 4 kB / 0.789 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1863, allocations: 3.938 kB / 0.789 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.1863, allocations: 8 kB / 0.789 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1863, allocations: 3.984 kB / 0.789 GB, free: 7.086 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.158e-05/0.1864, allocations: 109.8 kB / 0.7891 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1864, allocations: 4 kB / 0.7891 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.1865, allocations: 132 kB / 0.7893 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.979e-05/0.1866, allocations: 188.2 kB / 0.7894 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-05/0.1866, allocations: 176.3 kB / 0.7896 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.661e-05/0.1867, allocations: 176.3 kB / 0.7898 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1869, allocations: 413.1 kB / 0.7902 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.1869, allocations: 105 kB / 0.7903 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.187, allocations: 108.9 kB / 0.7904 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.303e-05/0.187, allocations: 176.3 kB / 0.7905 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.1871, allocations: 184.2 kB / 0.7907 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.671e-05/0.1871, allocations: 184.2 kB / 0.7909 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.502e-05/0.1872, allocations: 180.5 kB / 0.7911 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1873, allocations: 315.7 kB / 0.7914 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.1874, allocations: 186 kB / 0.7915 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.1875, allocations: 180.3 kB / 0.7917 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.1876, allocations: 109 kB / 0.7918 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.1877, allocations: 188.2 kB / 0.792 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.1877, allocations: 105 kB / 0.7921 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.1878, allocations: 83.28 kB / 0.7922 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 0 / 0.7922 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002479/0.188, allocations: 39.92 kB / 0.7922 GB, free: 3.594 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.0004532/0.1885, allocations: 0.8633 MB / 0.7931 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.221e-05/0.1885, allocations: 15.98 kB / 0.7931 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1885, allocations: 0 / 0.7931 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1885, allocations: 0 / 0.7931 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1889, allocations: 0.5224 MB / 0.7936 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008674/0.1898, allocations: 1.338 MB / 0.7949 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.19, allocations: 0.6731 MB / 0.7955 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.1901, allocations: 12.03 kB / 0.7956 GB, free: 24 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.1901, allocations: 18.38 kB / 0.7956 GB, free: 8 kB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1901, allocations: 0 / 0.7956 GB, free: 8 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.515/0.7051, allocations: 1.964 MB / 0.7975 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.7054, allocations: 261.5 kB / 0.7977 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/2.935, allocations: 2.625 kB / 0.7977 GB, free: 13.97 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)