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.455/0.4572, allocations: 80.81 MB / 0.5904 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004749/0.4621, allocations: 3.278 MB / 0.5936 GB, free: 19.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 7.685e-05/0.4622, allocations: 48.55 kB / 0.5937 GB, free: 19.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.4622, allocations: 0.9688 kB / 0.5937 GB, free: 19.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.4623, allocations: 4 kB / 0.5937 GB, free: 19.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.4624, allocations: 17.56 kB / 0.5937 GB, free: 19.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.4629, allocations: 168.3 kB / 0.5938 GB, free: 19.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.889e-05/0.4629, allocations: 31.84 kB / 0.5939 GB, free: 19.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.463, allocations: 4 kB / 0.5939 GB, free: 19.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.463, allocations: 17.41 kB / 0.5939 GB, free: 19.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.4631, allocations: 11.97 kB / 0.5939 GB, free: 19.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.4631, allocations: 0 / 0.5939 GB, free: 19.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.4634, allocations: 173.6 kB / 0.5941 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.4635, allocations: 4 kB / 0.5941 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.4635, allocations: 15.92 kB / 0.5941 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.4637, allocations: 130.3 kB / 0.5942 GB, free: 18.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4637, allocations: 0 / 0.5942 GB, free: 18.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4638, allocations: 0 / 0.5942 GB, free: 18.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4638, allocations: 1.281 kB / 0.5942 GB, free: 18.89 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.0003958/0.4642, allocations: 343.5 kB / 0.5945 GB, free: 18.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4642, allocations: 12.53 kB / 0.5945 GB, free: 18.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.4643, allocations: 3 kB / 0.5946 GB, free: 18.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.4644, allocations: 168.3 kB / 0.5947 GB, free: 18.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/0.4644, allocations: 30.27 kB / 0.5947 GB, free: 18.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.4645, allocations: 4.312 kB / 0.5947 GB, free: 18.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4646, allocations: 52.2 kB / 0.5948 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4646, allocations: 0 / 0.5948 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4647, allocations: 4 kB / 0.5948 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.4647, allocations: 3.938 kB / 0.5948 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.4647, allocations: 11.98 kB / 0.5948 GB, free: 18.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.4653, allocations: 0.579 MB / 0.5954 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.4653, allocations: 18.58 kB / 0.5954 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.4654, allocations: 8.844 kB / 0.5954 GB, free: 17.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.4655, allocations: 348.5 kB / 0.5957 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.4655, allocations: 34.5 kB / 0.5958 GB, free: 16.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4655, allocations: 3.875 kB / 0.5958 GB, free: 16.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001403/0.4657, allocations: 29.7 kB / 0.5958 GB, free: 16.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.4657, allocations: 55.41 kB / 0.5959 GB, free: 16.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.4658, allocations: 105.8 kB / 0.596 GB, free: 16.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.4658, allocations: 25.7 kB / 0.596 GB, free: 16.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.4658, allocations: 84.05 kB / 0.5961 GB, free: 16.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-06/0.4658, allocations: 3.938 kB / 0.5961 GB, free: 16.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.4659, allocations: 25.11 kB / 0.5961 GB, free: 16.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.4659, allocations: 318.8 kB / 0.5964 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.4659, allocations: 0 / 0.5964 GB, free: 16.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.466, allocations: 17.72 kB / 0.5964 GB, free: 16.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/0.466, allocations: 25.64 kB / 0.5964 GB, free: 16.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.466, allocations: 4.125 kB / 0.5964 GB, free: 16.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.806e-05/0.4661, allocations: 53.53 kB / 0.5965 GB, free: 16.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4661, allocations: 4 kB / 0.5965 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4661, allocations: 4 kB / 0.5965 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4661, allocations: 0 / 0.5965 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-05/0.4662, allocations: 4 kB / 0.5965 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4662, allocations: 0 / 0.5965 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.4662, allocations: 7.938 kB / 0.5965 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4662, allocations: 0 / 0.5965 GB, free: 16.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.4663, allocations: 117.8 kB / 0.5966 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.4663, allocations: 4 kB / 0.5966 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.683e-05/0.4664, allocations: 120.9 kB / 0.5967 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.4665, allocations: 176.3 kB / 0.5969 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.815e-05/0.4665, allocations: 180.3 kB / 0.5971 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.4665, allocations: 188.2 kB / 0.5973 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.4667, allocations: 401.2 kB / 0.5976 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/0.4668, allocations: 116.9 kB / 0.5978 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.4668, allocations: 101.3 kB / 0.5979 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.124e-05/0.4668, allocations: 180.3 kB / 0.598 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.4669, allocations: 184.2 kB / 0.5982 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-05/0.4669, allocations: 180.3 kB / 0.5984 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.95e-05/0.4669, allocations: 184.2 kB / 0.5985 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.109e-05/0.467, allocations: 319.9 kB / 0.5989 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.4671, allocations: 178.1 kB / 0.599 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.4671, allocations: 184.2 kB / 0.5992 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4672, allocations: 108.9 kB / 0.5993 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.4673, allocations: 180.3 kB / 0.5995 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.4673, allocations: 104.9 kB / 0.5996 GB, free: 12.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.716e-05/0.4673, allocations: 83.27 kB / 0.5997 GB, free: 12.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4673, allocations: 0 / 0.5997 GB, free: 12.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.4676, allocations: 39.94 kB / 0.5997 GB, free: 12.69 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 (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.0002262/0.4678, allocations: 232.7 kB / 0.5999 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.45e-05/0.4679, allocations: 16.05 kB / 0.5999 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4679, allocations: 0 / 0.5999 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.4679, allocations: 0 / 0.5999 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.4683, allocations: 463.6 kB / 0.6004 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.4686, allocations: 193.7 kB / 0.6006 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.4687, allocations: 0.6729 MB / 0.6012 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.4688, allocations: 11.98 kB / 0.6012 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.4688, allocations: 7.438 kB / 0.6012 GB, free: 11.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4688, allocations: 0 / 0.6012 GB, free: 11.05 MB / 446.1 MB Notification: Performance of Templates: time 0.003323/0.4721, allocations: 1.167 MB / 0.6024 GB, free: 9.945 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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)