Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.913/1.913, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.001479/0.001479, allocations: 181 kB / 371.8 MB, free: 10.29 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.747/1.747, allocations: 205.4 MB / 0.6306 GB, free: 9.945 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.001035/0.001035, allocations: 104.3 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004352, allocations: 10.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.279, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004375/0.2835, allocations: 3.153 MB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.2837, allocations: 123.8 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.2837, allocations: 0 / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.2839, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.2839, allocations: 3.984 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.2843, allocations: 59.78 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.2844, allocations: 23.89 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.2844, allocations: 0 / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.2845, allocations: 12 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.2845, allocations: 11.98 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2846, allocations: 0 / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.2851, allocations: 151.6 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.2852, allocations: 11.98 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.2852, allocations: 29.7 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.2853, allocations: 24.25 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2853, allocations: 0 / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2853, allocations: 0 / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2854, allocations: 0 / 0.9829 GB, free: 24.1 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.0004032/0.2858, allocations: 331.4 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2858, allocations: 12.02 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.2859, allocations: 11.86 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.286, allocations: 159.1 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.552e-05/0.2861, allocations: 29.7 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2861, allocations: 0 / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2863, allocations: 49.61 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2863, allocations: 4 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.2863, allocations: 0 / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.2864, allocations: 4 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.2864, allocations: 15.94 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.2869, allocations: 326.1 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/0.287, allocations: 22.56 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.78e-05/0.2871, allocations: 85.17 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2871, allocations: 38.5 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.2871, allocations: 0 / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001715/0.2873, allocations: 37.64 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.2873, allocations: 51.41 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.2874, allocations: 105.8 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.2874, allocations: 25.7 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.2874, allocations: 91.97 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-06/0.2875, allocations: 12.03 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.2875, allocations: 4 kB / 0.9843 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.2875, allocations: 310.8 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.2876, allocations: 0 / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.2876, allocations: 21.83 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.2876, allocations: 8 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2876, allocations: 0 / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.06e-05/0.2877, allocations: 53.69 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2877, allocations: 4 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2877, allocations: 8.016 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2878, allocations: 3.984 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.2878, allocations: 15.89 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2878, allocations: 0 / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.2879, allocations: 0 / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2879, allocations: 4 kB / 0.9847 GB, free: 22.03 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.246e-05/0.2879, allocations: 109.9 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.288, allocations: 0 / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.623e-05/0.2881, allocations: 122.5 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/0.2881, allocations: 180.2 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/0.2881, allocations: 188.2 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.2882, allocations: 184.2 kB / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2883, allocations: 409.2 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/0.2884, allocations: 101.1 kB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.2884, allocations: 108.9 kB / 0.986 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.019e-05/0.2885, allocations: 176.3 kB / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.2885, allocations: 184.2 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.438e-05/0.2885, allocations: 184.3 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.605e-05/0.2886, allocations: 184.2 kB / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.748e-05/0.2887, allocations: 307.6 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.2887, allocations: 194 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.2888, allocations: 176.3 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2889, allocations: 109 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.289, allocations: 184.2 kB / 0.9876 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.289, allocations: 105 kB / 0.9877 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.2891, allocations: 83.28 kB / 0.9878 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2891, allocations: 3.938 kB / 0.9878 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002764/0.2894, allocations: 23.89 kB / 0.9878 GB, free: 18.57 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.0001867/0.2896, allocations: 190.5 kB / 0.988 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.502e-05/0.2896, allocations: 23.92 kB / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2897, allocations: 0 / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.2897, allocations: 0 / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.29, allocations: 0.5186 MB / 0.9886 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.2902, allocations: 191.8 kB / 0.9887 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.2904, allocations: 0.677 MB / 0.9894 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.891e-05/0.2905, allocations: 5.875 kB / 0.9894 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.2905, allocations: 11.44 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2905, allocations: 4 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.003128/0.2936, allocations: 0.5003 MB / 0.9899 GB, free: 16.4 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)