Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.764/1.764, allocations: 287.5 MB / 302.6 MB, free: 8.387 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.001199/0.001199, allocations: 184.4 kB / 371.2 MB, free: 10.83 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.572/1.572, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.001005/0.001005, allocations: 86.36 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 10.12 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1855, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00323/0.1888, allocations: 3.289 MB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.189, allocations: 147.6 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.189, allocations: 4 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.614e-05/0.1891, allocations: 3.938 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.1892, allocations: 15.97 kB / 0.982 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1894, allocations: 42.56 kB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.1895, allocations: 51.81 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.1896, allocations: 0 / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.1896, allocations: 15.92 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.1897, allocations: 11.98 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1897, allocations: 0 / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.1901, allocations: 151.6 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.1901, allocations: 7.984 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.1902, allocations: 29.7 kB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.516e-05/0.1903, allocations: 36.12 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1903, allocations: 0 / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1903, allocations: 0 / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.1903, allocations: 0 / 0.9824 GB, free: 24.38 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.0002671/0.1906, allocations: 331.6 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.1906, allocations: 8.031 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.1906, allocations: 4.844 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.876e-05/0.1907, allocations: 168.3 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.1908, allocations: 30.25 kB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1908, allocations: 384 / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1909, allocations: 49.62 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1909, allocations: 0 / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1909, allocations: 0 / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1909, allocations: 4 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.191, allocations: 11.98 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.1913, allocations: 334 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.207e-05/0.1914, allocations: 22.52 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.1914, allocations: 8.859 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.1914, allocations: 81.17 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.1915, allocations: 38.56 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.1915, allocations: 3.984 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.1916, allocations: 37.62 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.1916, allocations: 51.41 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.1917, allocations: 109.8 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.1917, allocations: 25.7 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.1917, allocations: 84.05 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-06/0.1917, allocations: 8.031 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.1917, allocations: 4 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.1918, allocations: 322.7 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1918, allocations: 0 / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.1918, allocations: 17.7 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.1919, allocations: 21.72 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1919, allocations: 4 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.888e-05/0.1919, allocations: 49.62 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.192, allocations: 7.938 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.192, allocations: 7.984 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.192, allocations: 0 / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.09e-05/0.192, allocations: 4 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.192, allocations: 0 / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.1921, allocations: 4 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1921, allocations: 3.938 kB / 0.9841 GB, free: 22.29 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 5.386e-05/0.1921, allocations: 125.8 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.1922, allocations: 4 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.1922, allocations: 117 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.1923, allocations: 184.2 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/0.1923, allocations: 176.3 kB / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.1923, allocations: 184.3 kB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.1925, allocations: 413.1 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.1925, allocations: 101 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.1925, allocations: 108.9 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-05/0.1925, allocations: 180.3 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.1926, allocations: 180.2 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.277e-05/0.1926, allocations: 184.2 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.592e-05/0.1926, allocations: 184.3 kB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.696e-05/0.1927, allocations: 311.6 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.1928, allocations: 182.1 kB / 0.9867 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.1928, allocations: 192.2 kB / 0.9868 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1929, allocations: 105 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.193, allocations: 188.2 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.193, allocations: 101 kB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.193, allocations: 79.28 kB / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.193, allocations: 0 / 0.9873 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002108/0.1932, allocations: 19.92 kB / 0.9873 GB, free: 18.83 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.000128/0.1934, allocations: 202.5 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.365e-05/0.1934, allocations: 7.938 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1934, allocations: 0 / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.1934, allocations: 0 / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1938, allocations: 0.5265 MB / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.194, allocations: 191.8 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.1941, allocations: 0.6731 MB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.1941, allocations: 7.938 kB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.1942, allocations: 15.44 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1942, allocations: 0 / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.002186/0.1964, allocations: 0.5121 MB / 0.9894 GB, free: 16.64 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)