Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5785/0.5793, allocations: 82.2 MB / 0.5935 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003149/0.5825, allocations: 2.872 MB / 0.5963 GB, free: 18.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.21e-05/0.5827, allocations: 52.91 kB / 0.5963 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.5827, allocations: 0 / 0.5963 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.5829, allocations: 5.25 kB / 0.5963 GB, free: 18.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.335e-05/0.583, allocations: 11.98 kB / 0.5963 GB, free: 18.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.5835, allocations: 125.3 kB / 0.5965 GB, free: 18.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.551e-05/0.5836, allocations: 47.83 kB / 0.5965 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.5837, allocations: 0 / 0.5965 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.5837, allocations: 16.56 kB / 0.5965 GB, free: 18.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.5839, allocations: 13.62 kB / 0.5965 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.5839, allocations: 0 / 0.5965 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.5842, allocations: 95.72 kB / 0.5966 GB, free: 18.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.5842, allocations: 4 kB / 0.5966 GB, free: 18.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.5842, allocations: 31.08 kB / 0.5967 GB, free: 18.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.5844, allocations: 58.47 kB / 0.5967 GB, free: 18.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.5845, allocations: 0 / 0.5967 GB, free: 18.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.5845, allocations: 0 / 0.5967 GB, free: 18.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.5845, allocations: 3.156 kB / 0.5967 GB, free: 18.2 MB / 446.1 MB 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.0004632/0.585, allocations: 335.4 kB / 0.597 GB, free: 17.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.585, allocations: 12.03 kB / 0.597 GB, free: 17.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.5851, allocations: 3.938 kB / 0.5971 GB, free: 17.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.5852, allocations: 167 kB / 0.5972 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.5853, allocations: 37.62 kB / 0.5972 GB, free: 17.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.5853, allocations: 4.562 kB / 0.5973 GB, free: 17.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.5855, allocations: 38.78 kB / 0.5973 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5855, allocations: 0 / 0.5973 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.5855, allocations: 4 kB / 0.5973 GB, free: 17.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.5856, allocations: 4.625 kB / 0.5973 GB, free: 17.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.439e-05/0.5856, allocations: 13.27 kB / 0.5973 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.5864, allocations: 0.592 MB / 0.5979 GB, free: 16.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.5865, allocations: 18.58 kB / 0.5979 GB, free: 16.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.5865, allocations: 5.828 kB / 0.5979 GB, free: 16.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.5867, allocations: 341.4 kB / 0.5982 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.5867, allocations: 44.5 kB / 0.5983 GB, free: 16.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.5867, allocations: 0 / 0.5983 GB, free: 16.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.5869, allocations: 37.62 kB / 0.5983 GB, free: 16.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.5869, allocations: 51.41 kB / 0.5984 GB, free: 16.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.587, allocations: 107.1 kB / 0.5985 GB, free: 16.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.587, allocations: 25.7 kB / 0.5985 GB, free: 16.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.5871, allocations: 88.03 kB / 0.5986 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.5871, allocations: 0.5938 kB / 0.5986 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.5871, allocations: 1.219 kB / 0.5986 GB, free: 15.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.5872, allocations: 314.8 kB / 0.5989 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.5872, allocations: 8.906 kB / 0.5989 GB, free: 15.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.5872, allocations: 13.72 kB / 0.5989 GB, free: 15.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/0.5873, allocations: 8.828 kB / 0.5989 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5873, allocations: 1.844 kB / 0.5989 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.464e-05/0.5873, allocations: 45.64 kB / 0.599 GB, free: 15.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5874, allocations: 11.98 kB / 0.599 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5874, allocations: 1.312 kB / 0.599 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5874, allocations: 0 / 0.599 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.5874, allocations: 4 kB / 0.599 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5875, allocations: 0 / 0.599 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.5875, allocations: 13.91 kB / 0.599 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5875, allocations: 0 / 0.599 GB, free: 15.52 MB / 446.1 MB 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.221e-05/0.5876, allocations: 117.8 kB / 0.5991 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.5876, allocations: 0 / 0.5991 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.5877, allocations: 122.1 kB / 0.5992 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.016e-05/0.5878, allocations: 178.2 kB / 0.5994 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.771e-05/0.5879, allocations: 184.2 kB / 0.5996 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.634e-05/0.5879, allocations: 176.8 kB / 0.5997 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.5881, allocations: 412.3 kB / 0.6001 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.5881, allocations: 101 kB / 0.6002 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.5882, allocations: 113 kB / 0.6003 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-05/0.5882, allocations: 184.4 kB / 0.6005 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.5883, allocations: 180.3 kB / 0.6007 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.27e-05/0.5883, allocations: 183.3 kB / 0.6008 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.948e-05/0.5884, allocations: 180.3 kB / 0.601 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.5885, allocations: 311.7 kB / 0.6013 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.5885, allocations: 183.6 kB / 0.6015 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.5886, allocations: 184.2 kB / 0.6017 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.5887, allocations: 113.2 kB / 0.6018 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.5888, allocations: 176.3 kB / 0.6019 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.5888, allocations: 104.9 kB / 0.602 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.022e-05/0.5889, allocations: 87.27 kB / 0.6021 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5889, allocations: 0 / 0.6021 GB, free: 12.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.5892, allocations: 31.94 kB / 0.6022 GB, free: 12.06 MB / 446.1 MB 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.0002262/0.5894, allocations: 222.5 kB / 0.6024 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.487e-05/0.5895, allocations: 8 kB / 0.6024 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5895, allocations: 0 / 0.6024 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.5895, allocations: 12.05 kB / 0.6024 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.5899, allocations: 0.5262 MB / 0.6029 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002229/0.5901, allocations: 191.8 kB / 0.6031 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.5903, allocations: 0.677 MB / 0.6037 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.209e-05/0.5903, allocations: 9.109 kB / 0.6038 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.5903, allocations: 7.438 kB / 0.6038 GB, free: 10.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5903, allocations: 0 / 0.6038 GB, free: 10.35 MB / 446.1 MB Notification: Performance of Templates: time 0.003291/0.5936, allocations: 1.088 MB / 0.6048 GB, free: 9.312 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: