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.001611/0.001611, allocations: 102.9 kB / 16.36 MB, free: 6.305 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.001804/0.001804, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.384/1.384, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.889/1.889, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.002018/0.002019, allocations: 59.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2715, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.5116/0.7831, allocations: 3.279 MB / 0.788 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001347/0.7833, allocations: 49.14 kB / 0.788 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.7834, allocations: 2.875 kB / 0.788 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.7835, allocations: 4.188 kB / 0.788 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.7837, allocations: 10.64 kB / 0.788 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.7844, allocations: 173.1 kB / 0.7882 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.7845, allocations: 32.05 kB / 0.7882 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.7846, allocations: 7.547 kB / 0.7882 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.7846, allocations: 15.47 kB / 0.7883 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.843e-05/0.7847, allocations: 9.328 kB / 0.7883 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.7847, allocations: 5.344 kB / 0.7883 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.7852, allocations: 170.8 kB / 0.7884 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.7852, allocations: 10.47 kB / 0.7884 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.7853, allocations: 8.344 kB / 0.7885 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.7856, allocations: 135.1 kB / 0.7886 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7857, allocations: 0 / 0.7886 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7857, allocations: 1.594 kB / 0.7886 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.7857, allocations: 1.719 kB / 0.7886 GB, free: 47.08 MB / 0.6544 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.0004638/0.7862, allocations: 347.5 kB / 0.7889 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7862, allocations: 10.5 kB / 0.7889 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.7863, allocations: 6.438 kB / 0.7889 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.7864, allocations: 163.9 kB / 0.7891 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.7865, allocations: 26.27 kB / 0.7891 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.7865, allocations: 7.281 kB / 0.7891 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.7866, allocations: 50.34 kB / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.7867, allocations: 0 / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.7867, allocations: 3.938 kB / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.7867, allocations: 2.625 kB / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.833e-05/0.7868, allocations: 15.14 kB / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.7874, allocations: 0.5857 MB / 0.7898 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.753e-05/0.7874, allocations: 24.61 kB / 0.7898 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.7875, allocations: 8.359 kB / 0.7898 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.7876, allocations: 342.1 kB / 0.7901 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7877, allocations: 32.84 kB / 0.7902 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.7877, allocations: 0 / 0.7902 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.7878, allocations: 40.67 kB / 0.7902 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.7879, allocations: 52.28 kB / 0.7902 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.7879, allocations: 106.5 kB / 0.7903 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.788, allocations: 25.7 kB / 0.7904 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.788, allocations: 87.53 kB / 0.7905 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.788, allocations: 7.844 kB / 0.7905 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.788, allocations: 19.16 kB / 0.7905 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.7881, allocations: 315.3 kB / 0.7908 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.7881, allocations: 5.438 kB / 0.7908 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.7881, allocations: 18.69 kB / 0.7908 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.7882, allocations: 25.56 kB / 0.7908 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7882, allocations: 1.281 kB / 0.7908 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.224e-05/0.7883, allocations: 45.33 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.7883, allocations: 5.875 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.7883, allocations: 0 / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.7883, allocations: 1.703 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.7884, allocations: 10.3 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7884, allocations: 3.188 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.7884, allocations: 1 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.7884, allocations: 3.594 kB / 0.7909 GB, free: 44.66 MB / 0.6544 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 5.105e-05/0.7885, allocations: 110.8 kB / 0.791 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.7885, allocations: 2.844 kB / 0.791 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.581e-05/0.7886, allocations: 128.5 kB / 0.7911 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.7887, allocations: 180.7 kB / 0.7913 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.149e-05/0.7887, allocations: 185.2 kB / 0.7915 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/0.7887, allocations: 184.2 kB / 0.7916 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.7889, allocations: 405.1 kB / 0.792 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.7889, allocations: 105.2 kB / 0.7921 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.7889, allocations: 113.1 kB / 0.7922 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/0.789, allocations: 178.6 kB / 0.7924 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.789, allocations: 178.8 kB / 0.7926 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/0.789, allocations: 182.2 kB / 0.7928 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-05/0.789, allocations: 182.9 kB / 0.7929 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.509e-05/0.7891, allocations: 309.8 kB / 0.7932 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.7892, allocations: 186.8 kB / 0.7934 GB, free: 42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.7892, allocations: 177.7 kB / 0.7936 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.7893, allocations: 109.6 kB / 0.7937 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.7894, allocations: 182.9 kB / 0.7939 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.7894, allocations: 104.8 kB / 0.794 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.7895, allocations: 88 kB / 0.794 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7895, allocations: 0 / 0.794 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002921/0.7898, allocations: 39.67 kB / 0.7941 GB, free: 41.34 MB / 0.6544 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.0002429/0.79, allocations: 230.6 kB / 0.7943 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.577e-05/0.7901, allocations: 16.28 kB / 0.7943 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7901, allocations: 0 / 0.7943 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.7901, allocations: 0 / 0.7943 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.7904, allocations: 470.4 kB / 0.7948 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.7907, allocations: 204 kB / 0.795 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.7908, allocations: 0.6782 MB / 0.7956 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.7908, allocations: 7.438 kB / 0.7956 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7908, allocations: 0 / 0.7956 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.002893/0.7937, allocations: 1.175 MB / 0.7968 GB, free: 39.7 MB / 0.6544 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)