Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.847/1.847, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001148/0.001147, allocations: 182.8 kB / 371.2 MB, free: 10.84 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.519/1.519, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008271/0.0008271, allocations: 108.3 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.0005057, allocations: 14.53 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2999, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004158/0.3042, allocations: 2.888 MB / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001126/0.3043, allocations: 51.89 kB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.3044, allocations: 0 / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.3046, allocations: 0 / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.615e-05/0.3047, allocations: 11.91 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.3053, allocations: 128.8 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.3054, allocations: 51.81 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3055, allocations: 0 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/0.3055, allocations: 8 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.3056, allocations: 19.91 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3057, allocations: 0 / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.306, allocations: 87.75 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.306, allocations: 11.98 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.3061, allocations: 25.7 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.3063, allocations: 60.16 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3063, allocations: 0 / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3063, allocations: 0 / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.3063, allocations: 3.938 kB / 0.9819 GB, free: 24.86 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.0003815/0.3067, allocations: 345.4 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3068, allocations: 11.97 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3068, allocations: 8.844 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3069, allocations: 168.4 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/0.307, allocations: 30.27 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.307, allocations: 384 / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3072, allocations: 49.61 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3073, allocations: 0 / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3073, allocations: 4 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.3073, allocations: 4 kB / 0.9825 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.3074, allocations: 11.98 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006621/0.308, allocations: 0.5872 MB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.351e-05/0.3081, allocations: 18.58 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.3081, allocations: 4.859 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.3083, allocations: 340.5 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3084, allocations: 34.56 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.684e-06/0.3084, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001888/0.3086, allocations: 45.61 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.3086, allocations: 51.41 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.3087, allocations: 101.9 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3087, allocations: 25.7 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.3088, allocations: 92.03 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.3088, allocations: 7.906 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.3088, allocations: 3.938 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.3089, allocations: 314.9 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.3089, allocations: 8 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.3089, allocations: 17.7 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.309, allocations: 21.66 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.309, allocations: 0 / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.047e-05/0.3091, allocations: 45.69 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3091, allocations: 12.06 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3091, allocations: 0 / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3092, allocations: 0 / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.3092, allocations: 7.938 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3092, allocations: 0 / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.3093, allocations: 7.938 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3093, allocations: 0 / 0.9842 GB, free: 22.13 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 8.068e-05/0.3094, allocations: 125.8 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3094, allocations: 0 / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.3096, allocations: 117 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/0.3096, allocations: 180.2 kB / 0.9846 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.579e-05/0.3096, allocations: 184.2 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/0.3097, allocations: 184.2 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.3099, allocations: 405.1 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/0.3099, allocations: 113 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.31, allocations: 104.9 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.704e-05/0.31, allocations: 180.3 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.3101, allocations: 180.2 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.259e-05/0.3101, allocations: 184.2 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.05e-05/0.3101, allocations: 176.5 kB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.327e-05/0.3102, allocations: 319.6 kB / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.3103, allocations: 186 kB / 0.9867 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.3104, allocations: 184.3 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.3105, allocations: 109 kB / 0.987 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.3106, allocations: 184.2 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.3106, allocations: 101 kB / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.3106, allocations: 87.28 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3106, allocations: 0 / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004125/0.3111, allocations: 35.98 kB / 0.9874 GB, free: 18.65 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.0002768/0.3114, allocations: 236.1 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.035e-05/0.3114, allocations: 11.94 kB / 0.9876 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3115, allocations: 0 / 0.9876 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.3115, allocations: 0 / 0.9876 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3119, allocations: 0.5238 MB / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.3122, allocations: 192.1 kB / 0.9883 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3123, allocations: 0.6731 MB / 0.989 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.301e-05/0.3124, allocations: 8 kB / 0.989 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.3124, allocations: 11.44 kB / 0.989 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.3124, allocations: 0 / 0.989 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.004244/0.3167, allocations: 1.087 MB / 0.9901 GB, free: 15.9 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)