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.001602/0.001602, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001886/0.001887, allocations: 191.2 kB / 16.91 MB, free: 6.188 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.453/1.453, allocations: 205.1 MB / 222.8 MB, free: 4.727 MB / 174.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.692/1.692, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001367/0.001367, allocations: 63.77 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2715, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005212/0.2768, allocations: 3.342 MB / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.2769, allocations: 51.8 kB / 0.7868 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.2769, allocations: 0 / 0.7868 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2771, allocations: 4 kB / 0.7868 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.146e-05/0.2772, allocations: 15.91 kB / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.2777, allocations: 164 kB / 0.787 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.2778, allocations: 27.92 kB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.2779, allocations: 4 kB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.2779, allocations: 23.84 kB / 0.787 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.278, allocations: 8 kB / 0.7871 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.278, allocations: 8 kB / 0.7871 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.2784, allocations: 175.5 kB / 0.7872 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.2784, allocations: 3.984 kB / 0.7872 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.2785, allocations: 7.938 kB / 0.7872 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.2787, allocations: 92.11 kB / 0.7873 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2787, allocations: 0 / 0.7873 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2787, allocations: 0 / 0.7873 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2787, allocations: 0 / 0.7873 GB, free: 9.973 MB / 0.6075 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.0004869/0.2792, allocations: 351.4 kB / 0.7877 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.2792, allocations: 16.03 kB / 0.7877 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.2793, allocations: 4.844 kB / 0.7877 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2794, allocations: 160.4 kB / 0.7878 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.2795, allocations: 30.27 kB / 0.7879 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.2795, allocations: 384 / 0.7879 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.2797, allocations: 45.61 kB / 0.7879 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2797, allocations: 3.938 kB / 0.7879 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2797, allocations: 4 kB / 0.7879 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.2797, allocations: 4 kB / 0.7879 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.2798, allocations: 15.98 kB / 0.7879 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007058/0.2805, allocations: 0.5872 MB / 0.7885 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.2806, allocations: 14.58 kB / 0.7885 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.2806, allocations: 4.859 kB / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.2809, allocations: 344.5 kB / 0.7889 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.2809, allocations: 38.56 kB / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2809, allocations: 0 / 0.7889 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.2811, allocations: 45.56 kB / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.2811, allocations: 51.41 kB / 0.789 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2813, allocations: 97.86 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2813, allocations: 25.7 kB / 0.7891 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.2813, allocations: 92.03 kB / 0.7892 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-06/0.2813, allocations: 4.031 kB / 0.7892 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.2814, allocations: 21.72 kB / 0.7892 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2815, allocations: 314.8 kB / 0.7895 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.2816, allocations: 4 kB / 0.7895 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.2816, allocations: 21.89 kB / 0.7895 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.2816, allocations: 17.66 kB / 0.7896 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2816, allocations: 4 kB / 0.7896 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.608e-05/0.2817, allocations: 49.78 kB / 0.7896 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2818, allocations: 4.781 kB / 0.7896 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2818, allocations: 0 / 0.7896 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2818, allocations: 3.984 kB / 0.7896 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.2818, allocations: 11.94 kB / 0.7896 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2819, allocations: 0 / 0.7896 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.2819, allocations: 3.938 kB / 0.7896 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.2819, allocations: 7.984 kB / 0.7896 GB, free: 7.219 MB / 0.6075 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 0.0001248/0.282, allocations: 121.8 kB / 0.7898 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.2821, allocations: 0 / 0.7898 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.2822, allocations: 117 kB / 0.7899 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-05/0.2823, allocations: 184.2 kB / 0.79 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.912e-05/0.2824, allocations: 180.3 kB / 0.7902 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.414e-05/0.2825, allocations: 188.2 kB / 0.7904 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.2827, allocations: 409.1 kB / 0.7908 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.2828, allocations: 101 kB / 0.7909 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.2828, allocations: 108.9 kB / 0.791 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.543e-05/0.2829, allocations: 176.3 kB / 0.7912 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.613e-05/0.283, allocations: 188.3 kB / 0.7913 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.501e-05/0.2831, allocations: 184.3 kB / 0.7915 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-05/0.2832, allocations: 180.3 kB / 0.7917 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.2834, allocations: 307.7 kB / 0.792 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.891e-05/0.2834, allocations: 190 kB / 0.7922 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.432e-05/0.2835, allocations: 180.3 kB / 0.7923 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.2837, allocations: 109 kB / 0.7924 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.2838, allocations: 188.2 kB / 0.7926 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.2839, allocations: 101 kB / 0.7927 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.2839, allocations: 79.28 kB / 0.7928 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2839, allocations: 0 / 0.7928 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003193/0.2843, allocations: 39.98 kB / 0.7928 GB, free: 3.734 MB / 0.6075 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.0003194/0.2846, allocations: 238.3 kB / 0.793 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.2847, allocations: 20 kB / 0.7931 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2847, allocations: 0 / 0.7931 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.2847, allocations: 0 / 0.7931 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.2852, allocations: 462.7 kB / 0.7935 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.2855, allocations: 211.6 kB / 0.7937 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.2858, allocations: 0.6768 MB / 0.7944 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.2858, allocations: 15.38 kB / 0.7944 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2858, allocations: 0 / 0.7944 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of Templates: time 0.002769/0.2886, allocations: 1.17 MB / 0.7955 GB, free: 0.9062 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)