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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.998/1.998, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.00122/0.00122, allocations: 181 kB / 371.9 MB, free: 10.27 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.724/1.724, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001078/0.001078, allocations: 101.3 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005623, allocations: 14.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2133, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003231/0.2166, allocations: 2.46 MB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002903/0.2169, allocations: 327.2 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.217, allocations: 0 / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.2171, allocations: 12 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.2172, allocations: 7.922 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.2177, allocations: 135.6 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.2177, allocations: 15.97 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.2178, allocations: 0 / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.491e-05/0.2178, allocations: 15.98 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.2179, allocations: 8 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.2179, allocations: 3.938 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.2182, allocations: 103.8 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.2182, allocations: 4 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.2182, allocations: 25.7 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.2184, allocations: 72.08 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.2184, allocations: 0 / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.624e-06/0.2184, allocations: 0 / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.2184, allocations: 0 / 0.9825 GB, free: 24.5 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.0003649/0.2188, allocations: 339.4 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2188, allocations: 12.02 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.2189, allocations: 11.86 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.219, allocations: 159.1 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.2191, allocations: 29.69 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.2191, allocations: 4 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.2193, allocations: 41.62 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2193, allocations: 0 / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2193, allocations: 4 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2193, allocations: 4 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/0.2194, allocations: 19.94 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.2198, allocations: 0.5639 MB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.958e-05/0.2199, allocations: 18.52 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.22, allocations: 344.5 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.2201, allocations: 34.56 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2201, allocations: 0 / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.2202, allocations: 41.64 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.2203, allocations: 51.41 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.2203, allocations: 97.86 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2204, allocations: 25.7 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.2204, allocations: 95.97 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-06/0.2204, allocations: 3.906 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.2204, allocations: 4 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.2205, allocations: 318.9 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.2205, allocations: 4 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.2206, allocations: 17.7 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/0.2206, allocations: 8 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2206, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.883e-05/0.2207, allocations: 49.62 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2207, allocations: 8.062 kB / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2207, allocations: 0 / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2207, allocations: 4 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.2208, allocations: 7.953 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2208, allocations: 0 / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.2208, allocations: 7.875 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.2209, allocations: 4 kB / 0.9848 GB, free: 21.82 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 6.159e-05/0.2209, allocations: 105.8 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.221, allocations: 4 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2211, allocations: 124.9 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/0.2211, allocations: 180.3 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-05/0.2212, allocations: 180.2 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/0.2212, allocations: 184.2 kB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2214, allocations: 401.2 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/0.2214, allocations: 112.9 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.2214, allocations: 101 kB / 0.9861 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-05/0.2215, allocations: 180.3 kB / 0.9863 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.2215, allocations: 188.2 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.585e-05/0.2215, allocations: 180.3 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.982e-05/0.2216, allocations: 188.2 kB / 0.9868 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.2217, allocations: 307.7 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.2217, allocations: 190 kB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.2218, allocations: 176.3 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.222, allocations: 108.9 kB / 0.9875 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.2221, allocations: 188.2 kB / 0.9877 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.2221, allocations: 101 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.2221, allocations: 87.22 kB / 0.9879 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2222, allocations: 3.938 kB / 0.9879 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004567/0.2226, allocations: 39.94 kB / 0.9879 GB, free: 18.35 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.0003386/0.223, allocations: 226.4 kB / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2231, allocations: 7.984 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2231, allocations: 0 / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.2231, allocations: 0 / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.2235, allocations: 0.5273 MB / 0.9887 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.2238, allocations: 184.4 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.2241, allocations: 0.677 MB / 0.9895 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.071e-05/0.2242, allocations: 10.53 kB / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.2242, allocations: 11.44 kB / 0.9895 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2242, allocations: 0 / 0.9895 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.004004/0.2282, allocations: 1.093 MB / 0.9906 GB, free: 15.61 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)