Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 179.5 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008473/0.0008474, allocations: 80.05 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 12.47 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.212, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003209/0.2153, allocations: 2.899 MB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 7.484e-05/0.2154, allocations: 47.89 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.2154, allocations: 4 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.986e-05/0.2155, allocations: 7.922 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.2156, allocations: 11.94 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.216, allocations: 127.4 kB / 0.9033 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.29e-05/0.2161, allocations: 39.91 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.2161, allocations: 3.984 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.2162, allocations: 15.92 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.2162, allocations: 15.98 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2162, allocations: 0 / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.2165, allocations: 99.67 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.2165, allocations: 3.984 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.2165, allocations: 29.7 kB / 0.9035 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.2167, allocations: 47.95 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2167, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2167, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2167, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 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.0003629/0.2171, allocations: 351.6 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.2171, allocations: 8.031 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.2172, allocations: 30.56 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.2172, allocations: 7.953 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2173, allocations: 167 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.2174, allocations: 25.7 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.2174, allocations: 4 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2176, allocations: 49.61 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2176, allocations: 4 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2176, allocations: 0 / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.2176, allocations: 7.938 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.2177, allocations: 15.98 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.2183, allocations: 0.5755 MB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.2183, allocations: 18.61 kB / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.2183, allocations: 12.86 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.2185, allocations: 344.4 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.2185, allocations: 34.52 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.2186, allocations: 4 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.2187, allocations: 37.59 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.2187, allocations: 51.41 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.2188, allocations: 101.9 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2188, allocations: 25.7 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.2189, allocations: 96.16 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.2189, allocations: 3.938 kB / 0.9055 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.2189, allocations: 0 / 0.9055 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.219, allocations: 318.8 kB / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.219, allocations: 0 / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.219, allocations: 17.72 kB / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.219, allocations: 7.984 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.219, allocations: 4 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.846e-05/0.2191, allocations: 45.64 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2191, allocations: 15.94 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.2191, allocations: 0 / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2192, allocations: 4 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.2192, allocations: 7.938 kB / 0.9059 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2192, allocations: 4 kB / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.2192, allocations: 0 / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2193, allocations: 0 / 0.9059 GB, free: 57.71 MB / 0.6042 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.644e-05/0.2193, allocations: 113.9 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.2193, allocations: 3.906 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-05/0.2194, allocations: 128.8 kB / 0.9061 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.2195, allocations: 176.3 kB / 0.9063 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-05/0.2195, allocations: 176.3 kB / 0.9064 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.2196, allocations: 196.2 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.2197, allocations: 397.2 kB / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.2197, allocations: 112.9 kB / 0.9071 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.2198, allocations: 101 kB / 0.9072 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.678e-05/0.2198, allocations: 176.3 kB / 0.9074 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.2198, allocations: 184.2 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.059e-05/0.2199, allocations: 188.2 kB / 0.9077 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.082e-05/0.2199, allocations: 184.2 kB / 0.9079 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.486e-05/0.22, allocations: 299.8 kB / 0.9082 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.22, allocations: 186 kB / 0.9084 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.2201, allocations: 184.3 kB / 0.9086 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2202, allocations: 108.9 kB / 0.9087 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2203, allocations: 188.2 kB / 0.9088 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.2203, allocations: 101 kB / 0.9089 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.897e-05/0.2203, allocations: 87.22 kB / 0.909 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2203, allocations: 0 / 0.909 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002696/0.2206, allocations: 39.92 kB / 0.9091 GB, free: 54.23 MB / 0.6042 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.0003775/0.221, allocations: 0.8601 MB / 0.9099 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.753e-05/0.2211, allocations: 11.94 kB / 0.9099 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2211, allocations: 0 / 0.9099 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.2211, allocations: 3.938 kB / 0.9099 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.2215, allocations: 0.5392 MB / 0.9104 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.2219, allocations: 229.5 kB / 0.9107 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.222, allocations: 0.677 MB / 0.9113 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.2221, allocations: 10.09 kB / 0.9113 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.2221, allocations: 15.44 kB / 0.9113 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2221, allocations: 0 / 0.9113 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.234, allocations: 1.862 MB / 0.9132 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.2343, allocations: 249.2 kB / 0.9134 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.784, allocations: 1.719 kB / 0.9134 GB, free: 49.84 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)