Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002521/0.002521, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.526/1.526, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.742/1.742, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001306/0.001306, allocations: 68.8 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2735, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007535/0.2811, allocations: 4.054 MB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003022/0.2815, allocations: 151.5 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.2815, allocations: 0 / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.2818, allocations: 4 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2819, allocations: 15.91 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.2824, allocations: 59.78 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2825, allocations: 39.84 kB / 0.7871 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.774e-05/0.2825, allocations: 4 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.2826, allocations: 11.98 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.2827, allocations: 11.94 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.2827, allocations: 3.984 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.283, allocations: 55.81 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.2831, allocations: 7.984 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.2831, allocations: 11.94 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.2833, allocations: 40.23 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2833, allocations: 0 / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2833, allocations: 0 / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2833, allocations: 4 kB / 0.7872 GB, free: 9.453 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.0004838/0.2838, allocations: 335.4 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2838, allocations: 15.97 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.2839, allocations: 4.875 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.284, allocations: 168.4 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.2841, allocations: 34.27 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2841, allocations: 384 / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.2843, allocations: 49.62 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2843, allocations: 0 / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2843, allocations: 3.984 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.2844, allocations: 0 / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.2844, allocations: 19.92 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.2849, allocations: 338 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.402e-05/0.285, allocations: 18.58 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.285, allocations: 8.859 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.2851, allocations: 85.16 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.2852, allocations: 34.56 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2852, allocations: 0 / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002035/0.2854, allocations: 37.64 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.2854, allocations: 51.41 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2856, allocations: 109.8 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.2856, allocations: 29.83 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.2857, allocations: 84.05 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.2857, allocations: 3.906 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.2858, allocations: 21.7 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2859, allocations: 318.8 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.2859, allocations: 0 / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.286, allocations: 13.72 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.434e-05/0.286, allocations: 33.64 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.286, allocations: 0 / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.088e-05/0.2861, allocations: 41.7 kB / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2862, allocations: 10.64 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2862, allocations: 4 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2862, allocations: 0 / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.2863, allocations: 7.938 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2863, allocations: 0 / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.2863, allocations: 8.062 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.2863, allocations: 0 / 0.789 GB, free: 7.328 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 9.459e-05/0.2864, allocations: 114.4 kB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.2865, allocations: 8 kB / 0.7891 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.2866, allocations: 124.9 kB / 0.7892 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.88e-05/0.2867, allocations: 180.2 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.074e-05/0.2868, allocations: 180.3 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.826e-05/0.2869, allocations: 188.2 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.2872, allocations: 401.2 kB / 0.7901 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-05/0.2872, allocations: 108.9 kB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.2873, allocations: 108.9 kB / 0.7904 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.572e-05/0.2874, allocations: 184.2 kB / 0.7905 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.942e-05/0.2875, allocations: 184.5 kB / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-05/0.2875, allocations: 176.3 kB / 0.7909 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.975e-05/0.2876, allocations: 180.3 kB / 0.791 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.2878, allocations: 311.7 kB / 0.7913 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.2878, allocations: 190 kB / 0.7915 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.2879, allocations: 180.5 kB / 0.7917 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.2881, allocations: 105 kB / 0.7918 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.2882, allocations: 184.2 kB / 0.792 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.2882, allocations: 113 kB / 0.7921 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.2883, allocations: 83.27 kB / 0.7922 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2883, allocations: 4 kB / 0.7922 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002661/0.2885, allocations: 15.94 kB / 0.7922 GB, free: 3.855 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.0003085/0.2889, allocations: 198.4 kB / 0.7924 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.695e-05/0.289, allocations: 15.94 kB / 0.7924 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.289, allocations: 0 / 0.7924 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.289, allocations: 128 / 0.7924 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.2894, allocations: 463.7 kB / 0.7928 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.2897, allocations: 181.8 kB / 0.793 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.29, allocations: 0.6768 MB / 0.7937 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.306e-05/0.29, allocations: 8 kB / 0.7937 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.2901, allocations: 11.44 kB / 0.7937 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2901, allocations: 0 / 0.7937 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of Templates: time 0.002922/0.293, allocations: 0.5912 MB / 0.7943 GB, free: 1.672 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)