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.458/1.458, allocations: 251.9 MB / 266.9 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.001122/0.001123, allocations: 177.9 kB / 326.5 MB, free: 2.234 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.948/1.948, allocations: 205.4 MB / 0.5775 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.0008603/0.0008601, allocations: 89.98 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 8.594 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2816, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002997/0.2847, allocations: 2.476 MB / 0.9026 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002596/0.285, allocations: 323.3 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.285, allocations: 0 / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.2851, allocations: 15.92 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.2852, allocations: 7.984 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.2855, allocations: 138 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.2856, allocations: 15.97 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.2856, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.2857, allocations: 19.92 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.2857, allocations: 11.92 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2858, allocations: 4 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.286, allocations: 91.88 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.286, allocations: 11.98 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.286, allocations: 25.7 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.2862, allocations: 55.95 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2862, allocations: 0 / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2862, allocations: 0 / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2862, allocations: 0 / 0.9033 GB, free: 60.64 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.0003228/0.2865, allocations: 343.6 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2866, allocations: 8.031 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.2866, allocations: 38.55 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.2866, allocations: 11.89 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/0.2867, allocations: 163 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.2868, allocations: 29.7 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.2868, allocations: 0 / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.2869, allocations: 49.66 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2869, allocations: 0 / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.287, allocations: 7.938 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.287, allocations: 7.953 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.287, allocations: 11.98 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.2875, allocations: 0.5677 MB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.2875, allocations: 22.58 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.2877, allocations: 332.5 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.2877, allocations: 38.52 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.2877, allocations: 0 / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.2878, allocations: 41.55 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.2879, allocations: 51.41 kB / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/0.2879, allocations: 101.8 kB / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.288, allocations: 25.7 kB / 0.905 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.288, allocations: 88.05 kB / 0.9051 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-06/0.288, allocations: 4 kB / 0.9051 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-06/0.288, allocations: 4.125 kB / 0.9051 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.2881, allocations: 314.8 kB / 0.9054 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.2881, allocations: 4 kB / 0.9054 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.2881, allocations: 17.72 kB / 0.9054 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.622e-05/0.2881, allocations: 4 kB / 0.9055 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2881, allocations: 0 / 0.9055 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.602e-05/0.2882, allocations: 49.69 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.2882, allocations: 8 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2882, allocations: 7.953 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.2882, allocations: 0 / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.96e-05/0.2883, allocations: 11.92 kB / 0.9055 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2883, allocations: 3.984 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.2883, allocations: 4 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2883, allocations: 4 kB / 0.9055 GB, free: 57.91 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 4.427e-05/0.2884, allocations: 105.8 kB / 0.9056 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.2884, allocations: 7.906 kB / 0.9056 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.217e-05/0.2885, allocations: 128.9 kB / 0.9058 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.2885, allocations: 180.2 kB / 0.9059 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/0.2886, allocations: 180.2 kB / 0.9061 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/0.2886, allocations: 176.3 kB / 0.9063 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.2887, allocations: 413.2 kB / 0.9067 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.2887, allocations: 101 kB / 0.9068 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.2888, allocations: 105 kB / 0.9069 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.497e-05/0.2888, allocations: 184.2 kB / 0.907 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.2888, allocations: 184.3 kB / 0.9072 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.308e-05/0.2888, allocations: 180.2 kB / 0.9074 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.382e-05/0.2889, allocations: 188.5 kB / 0.9076 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.71e-05/0.2889, allocations: 307.8 kB / 0.9079 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.289, allocations: 186 kB / 0.908 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.289, allocations: 180.2 kB / 0.9082 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2892, allocations: 113 kB / 0.9083 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.2892, allocations: 184.2 kB / 0.9085 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.2892, allocations: 108.9 kB / 0.9086 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.2892, allocations: 83.27 kB / 0.9087 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2892, allocations: 0 / 0.9087 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002399/0.2895, allocations: 35.94 kB / 0.9087 GB, free: 54.43 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.0003176/0.2898, allocations: 0.8649 MB / 0.9096 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.04e-05/0.2899, allocations: 7.938 kB / 0.9096 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2899, allocations: 0 / 0.9096 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.2899, allocations: 0 / 0.9096 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2901, allocations: 0.5283 MB / 0.9101 GB, free: 53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.2905, allocations: 245.5 kB / 0.9103 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2906, allocations: 0.677 MB / 0.911 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.2907, allocations: 5.406 kB / 0.911 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.2907, allocations: 7.438 kB / 0.911 GB, free: 52 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2907, allocations: 0 / 0.911 GB, free: 52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.3021, allocations: 1.844 MB / 0.9128 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.3023, allocations: 243.4 kB / 0.913 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.785, allocations: 0 / 0.913 GB, free: 50.11 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)