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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 104 kB / 16.29 MB, free: 6.422 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.001344/0.001344, allocations: 181.6 kB / 17.22 MB, free: 5.934 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.432/1.432, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.853/1.853, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001554/0.001554, allocations: 67.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2616, allocations: 114.6 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005458/0.2671, allocations: 3.273 MB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.2673, allocations: 51.88 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.2673, allocations: 0 / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2674, allocations: 3.984 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.2675, allocations: 11.92 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006194/0.2681, allocations: 175.2 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.277e-05/0.2682, allocations: 23.88 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.2683, allocations: 7.984 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.021e-05/0.2683, allocations: 15.98 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.2684, allocations: 15.92 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.2684, allocations: 3.938 kB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.2688, allocations: 175.5 kB / 0.7877 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.2689, allocations: 0 / 0.7877 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.2689, allocations: 11.94 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4461/0.715, allocations: 130.6 kB / 0.7879 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7151, allocations: 0 / 0.7879 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7151, allocations: 0 / 0.7879 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.7151, allocations: 2.688 kB / 0.7879 GB, free: 46.3 MB / 0.6544 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.0004651/0.7156, allocations: 347.2 kB / 0.7882 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.7156, allocations: 12.72 kB / 0.7882 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.7157, allocations: 4.312 kB / 0.7882 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.323e-05/0.7158, allocations: 166.5 kB / 0.7884 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/0.7159, allocations: 29.39 kB / 0.7884 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.7159, allocations: 0.5625 kB / 0.7884 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.7161, allocations: 50.2 kB / 0.7885 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7161, allocations: 0 / 0.7885 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.7161, allocations: 1.156 kB / 0.7885 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.7161, allocations: 3.188 kB / 0.7885 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.7162, allocations: 14.67 kB / 0.7885 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.7169, allocations: 0.5875 MB / 0.789 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.7169, allocations: 20.83 kB / 0.7891 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.717, allocations: 13.75 kB / 0.7891 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.7171, allocations: 337.2 kB / 0.7894 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.7172, allocations: 41.22 kB / 0.7894 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.7172, allocations: 0 / 0.7894 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001714/0.7174, allocations: 35.25 kB / 0.7895 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.7174, allocations: 56.03 kB / 0.7895 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.7175, allocations: 102 kB / 0.7896 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.7175, allocations: 25.7 kB / 0.7897 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.7176, allocations: 87.3 kB / 0.7897 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.7176, allocations: 10.17 kB / 0.7897 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.7176, allocations: 17.05 kB / 0.7898 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.7177, allocations: 319.8 kB / 0.7901 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.7177, allocations: 7.562 kB / 0.7901 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.7177, allocations: 19.53 kB / 0.7901 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.7178, allocations: 23.69 kB / 0.7901 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7178, allocations: 0 / 0.7901 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.352e-05/0.7179, allocations: 48.31 kB / 0.7902 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7179, allocations: 3.594 kB / 0.7902 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.7179, allocations: 2.656 kB / 0.7902 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7179, allocations: 0 / 0.7902 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.718, allocations: 11.39 kB / 0.7902 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.718, allocations: 1.188 kB / 0.7902 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.718, allocations: 5.438 kB / 0.7902 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.7181, allocations: 0.75 kB / 0.7902 GB, free: 43.89 MB / 0.6544 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 5.84e-05/0.7181, allocations: 116.5 kB / 0.7903 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.7182, allocations: 0 / 0.7903 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.7183, allocations: 127.8 kB / 0.7904 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/0.7183, allocations: 178.4 kB / 0.7906 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.485e-05/0.7184, allocations: 180.4 kB / 0.7908 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.623e-05/0.7184, allocations: 186.1 kB / 0.7909 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.7186, allocations: 405.7 kB / 0.7913 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.7186, allocations: 108.8 kB / 0.7914 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.7187, allocations: 110.2 kB / 0.7915 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.552e-05/0.7187, allocations: 177.9 kB / 0.7917 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.7188, allocations: 182.6 kB / 0.7919 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.347e-05/0.7188, allocations: 181.3 kB / 0.792 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-05/0.7189, allocations: 181.1 kB / 0.7922 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.719, allocations: 311.8 kB / 0.7925 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.7191, allocations: 186.2 kB / 0.7927 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.7191, allocations: 181.2 kB / 0.7929 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.7192, allocations: 110.5 kB / 0.793 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.7193, allocations: 180.3 kB / 0.7931 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.7193, allocations: 105.8 kB / 0.7932 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.7194, allocations: 87.94 kB / 0.7933 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7194, allocations: 0.5 kB / 0.7933 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003392/0.7197, allocations: 36.34 kB / 0.7934 GB, free: 40.58 MB / 0.6544 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.0003228/0.7201, allocations: 233.6 kB / 0.7936 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.831e-05/0.7202, allocations: 24.03 kB / 0.7936 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7202, allocations: 0 / 0.7936 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-06/0.7202, allocations: 0 / 0.7936 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.7207, allocations: 457.8 kB / 0.794 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.721, allocations: 177.5 kB / 0.7942 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.7211, allocations: 0.6782 MB / 0.7949 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.7212, allocations: 6.516 kB / 0.7949 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.7212, allocations: 7.438 kB / 0.7949 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.7212, allocations: 2.625 kB / 0.7949 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.003789/0.725, allocations: 1.163 MB / 0.796 GB, free: 39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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 & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)