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.001518/0.001518, allocations: 105.4 kB / 15.7 MB, free: 20 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.001739/0.001739, allocations: 195.8 kB / 16.64 MB, free: 6.609 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.473/1.473, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.722/1.722, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002645/0.002646, allocations: 68.77 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2222, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005038/0.2272, allocations: 3.274 MB / 0.7868 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.2274, allocations: 55.78 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.2274, allocations: 0 / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.976e-05/0.2275, allocations: 0 / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.417e-05/0.2276, allocations: 15.86 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.2282, allocations: 175.2 kB / 0.7871 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.2283, allocations: 35.84 kB / 0.7871 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.2283, allocations: 4 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.2284, allocations: 15.92 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.2284, allocations: 7.984 kB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.2284, allocations: 4 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.2288, allocations: 171.6 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.2289, allocations: 7.938 kB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.2289, allocations: 11.98 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.2293, allocations: 135.9 kB / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2293, allocations: 7.984 kB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2293, allocations: 0 / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2293, allocations: 0 / 0.7874 GB, free: 9.336 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.0005156/0.2298, allocations: 343.4 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2299, allocations: 8.031 kB / 0.7878 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.2299, allocations: 34.75 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.23, allocations: 4.938 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2301, allocations: 172.4 kB / 0.788 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.2302, allocations: 26.27 kB / 0.788 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2303, allocations: 8.125 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.2304, allocations: 41.69 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2304, allocations: 3.938 kB / 0.7881 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2305, allocations: 0 / 0.7881 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.2305, allocations: 4 kB / 0.7881 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.2305, allocations: 11.98 kB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.2313, allocations: 0.5833 MB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.2314, allocations: 18.58 kB / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.2314, allocations: 4.859 kB / 0.7887 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.2317, allocations: 348.4 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2317, allocations: 38.48 kB / 0.789 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.2317, allocations: 4 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001677/0.2319, allocations: 29.7 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.2319, allocations: 51.41 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.232, allocations: 109.8 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2321, allocations: 25.7 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.2321, allocations: 88.03 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.2321, allocations: 11.84 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2322, allocations: 21.72 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2323, allocations: 322.9 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.2323, allocations: 0 / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.2323, allocations: 21.66 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.2324, allocations: 25.64 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2324, allocations: 0 / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.864e-05/0.2325, allocations: 45.64 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2325, allocations: 12.06 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2325, allocations: 0 / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2325, allocations: 3.984 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.655e-05/0.2326, allocations: 4 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.2326, allocations: 4 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.2326, allocations: 0 / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2326, allocations: 3.984 kB / 0.7898 GB, free: 6.543 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 7.206e-05/0.2327, allocations: 121.3 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.2327, allocations: 0 / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2329, allocations: 128.8 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-05/0.2329, allocations: 180.3 kB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.677e-05/0.233, allocations: 180.2 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-05/0.233, allocations: 180.3 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.2333, allocations: 409.2 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-05/0.2333, allocations: 112.9 kB / 0.791 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.2334, allocations: 101.1 kB / 0.7911 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.315e-05/0.2334, allocations: 184.2 kB / 0.7913 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.2335, allocations: 180.2 kB / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.717e-05/0.2335, allocations: 180.3 kB / 0.7917 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.88e-05/0.2336, allocations: 184.2 kB / 0.7918 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.2337, allocations: 311.7 kB / 0.7921 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.2338, allocations: 182.1 kB / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.2339, allocations: 184.3 kB / 0.7925 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.234, allocations: 116.9 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.2341, allocations: 180.3 kB / 0.7928 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.2341, allocations: 104.9 kB / 0.7929 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.2342, allocations: 87.27 kB / 0.7929 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2342, allocations: 0 / 0.7929 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002877/0.2345, allocations: 35.94 kB / 0.793 GB, free: 3.051 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.0005199/0.235, allocations: 0.8625 MB / 0.7938 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.781e-05/0.2351, allocations: 15.94 kB / 0.7938 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2351, allocations: 4 kB / 0.7938 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.2351, allocations: 0 / 0.7938 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.2355, allocations: 462.7 kB / 0.7943 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009935/0.2365, allocations: 1.332 MB / 0.7956 GB, free: 276 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2368, allocations: 0.6768 MB / 0.7962 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.2368, allocations: 4 kB / 0.7962 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.2368, allocations: 7.438 kB / 0.7963 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of SimCode: time 1.352e-06/0.2369, allocations: 4 kB / 0.7963 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.2541, allocations: 2.114 MB / 0.7983 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.175, allocations: 20.31 kB / 0.7983 GB, free: 13.61 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)