Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 288.2 MB / 303.2 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 177 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 0.6305 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008732/0.0008731, allocations: 94.8 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 11.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2137, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002763/0.2166, allocations: 2.47 MB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002394/0.2168, allocations: 327.3 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.2169, allocations: 4 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.913e-05/0.217, allocations: 7.922 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.505e-05/0.217, allocations: 4 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.2174, allocations: 137.8 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.2174, allocations: 15.98 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.2175, allocations: 7.984 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.015e-05/0.2175, allocations: 11.98 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.2176, allocations: 11.94 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.2176, allocations: 0 / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.2178, allocations: 99.86 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.2178, allocations: 7.984 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.2179, allocations: 29.7 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.218, allocations: 60.11 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.218, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.218, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.218, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 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.0002967/0.2183, allocations: 339.4 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2184, allocations: 12.02 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.2184, allocations: 34.56 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.2184, allocations: 7.859 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.2185, allocations: 171 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.2186, allocations: 25.7 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.2186, allocations: 0 / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.2187, allocations: 49.66 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2187, allocations: 4 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2187, allocations: 0 / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.2188, allocations: 4 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.209e-05/0.2188, allocations: 19.94 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.2193, allocations: 0.5677 MB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.026e-05/0.2193, allocations: 22.45 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.2194, allocations: 332.5 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2195, allocations: 38.56 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.2195, allocations: 0 / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.2196, allocations: 37.64 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.2196, allocations: 55.34 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.2197, allocations: 105.8 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.2197, allocations: 29.64 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.2197, allocations: 84.05 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-06/0.2197, allocations: 15.97 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.2198, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.2198, allocations: 314.8 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.2198, allocations: 0 / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.2198, allocations: 17.7 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.908e-05/0.2199, allocations: 8 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2199, allocations: 0 / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.665e-05/0.2199, allocations: 57.62 kB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.22, allocations: 4 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.22, allocations: 0 / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.22, allocations: 3.953 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.22, allocations: 8 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.22, allocations: 0 / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.2201, allocations: 0 / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.2201, allocations: 4 kB / 0.9849 GB, free: 21.68 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.2201, allocations: 109.8 kB / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.2202, allocations: 4.062 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.2202, allocations: 120.9 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.2203, allocations: 180.2 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.097e-05/0.2203, allocations: 188.2 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/0.2203, allocations: 176.3 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.2205, allocations: 409.2 kB / 0.986 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.2205, allocations: 104.9 kB / 0.9861 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.2205, allocations: 105 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.671e-05/0.2205, allocations: 184.2 kB / 0.9864 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.2206, allocations: 184.2 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.361e-05/0.2206, allocations: 176.3 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.422e-05/0.2206, allocations: 188.2 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.286e-05/0.2207, allocations: 307.6 kB / 0.9872 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.2208, allocations: 190.1 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.2208, allocations: 180.2 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.2209, allocations: 113 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.221, allocations: 176.5 kB / 0.9878 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.221, allocations: 112.9 kB / 0.9879 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.705e-05/0.221, allocations: 95.16 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.221, allocations: 0 / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002316/0.2213, allocations: 28 kB / 0.988 GB, free: 18.2 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003116/0.2216, allocations: 0.8634 MB / 0.9889 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.493e-05/0.2216, allocations: 16.25 kB / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2216, allocations: 0 / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.2216, allocations: 0 / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.2219, allocations: 0.5198 MB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.2222, allocations: 237.8 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2224, allocations: 0.677 MB / 0.9903 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.901e-05/0.2224, allocations: 9.25 kB / 0.9903 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.2224, allocations: 11.44 kB / 0.9903 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2224, allocations: 3.938 kB / 0.9903 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.181/2.404, allocations: 1.852 MB / 0.9921 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.04294/2.447, allocations: 239.1 kB / 0.9923 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/4.124, allocations: 0 / 0.9923 GB, free: 13.88 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)