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.1955/0.1977, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005111/0.2028, allocations: 3.267 MB / 0.6738 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001012/0.203, allocations: 51.84 kB / 0.6739 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.203, allocations: 0 / 0.6739 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.2032, allocations: 3.938 kB / 0.6739 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/0.2033, allocations: 15.91 kB / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.2039, allocations: 171.2 kB / 0.6741 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.18e-05/0.204, allocations: 39.78 kB / 0.6741 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.204, allocations: 4 kB / 0.6741 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.2041, allocations: 11.98 kB / 0.6741 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.2042, allocations: 7.984 kB / 0.6741 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.2042, allocations: 0 / 0.6741 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.2046, allocations: 171.6 kB / 0.6743 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.2047, allocations: 8 kB / 0.6743 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.2047, allocations: 15.91 kB / 0.6743 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.205, allocations: 131.7 kB / 0.6744 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.205, allocations: 3.938 kB / 0.6744 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.205, allocations: 0 / 0.6744 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.205, allocations: 0 / 0.6744 GB, free: 14.1 MB / 0.5137 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.0005641/0.2056, allocations: 343.5 kB / 0.6748 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2057, allocations: 12.03 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.2057, allocations: 0.9375 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2059, allocations: 160.4 kB / 0.6749 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.2059, allocations: 38.25 kB / 0.675 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.206, allocations: 8.312 kB / 0.675 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.2061, allocations: 41.62 kB / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2061, allocations: 0 / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2062, allocations: 0 / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.2062, allocations: 4 kB / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.482e-05/0.2062, allocations: 15.98 kB / 0.675 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.2069, allocations: 0.5793 MB / 0.6756 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.207, allocations: 30.52 kB / 0.6756 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.207, allocations: 4.859 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.2073, allocations: 344.5 kB / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.2073, allocations: 34.56 kB / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2073, allocations: 0 / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.2075, allocations: 37.69 kB / 0.676 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.2076, allocations: 59.53 kB / 0.6761 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.2077, allocations: 97.8 kB / 0.6762 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2077, allocations: 25.7 kB / 0.6762 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2078, allocations: 95.97 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-06/0.2078, allocations: 3.938 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.2078, allocations: 13.72 kB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.208, allocations: 322.8 kB / 0.6766 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.208, allocations: 0 / 0.6766 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.2081, allocations: 21.7 kB / 0.6766 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.2081, allocations: 21.72 kB / 0.6767 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2081, allocations: 0 / 0.6767 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.568e-05/0.2082, allocations: 49.62 kB / 0.6767 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2082, allocations: 7.938 kB / 0.6767 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2082, allocations: 4 kB / 0.6767 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2082, allocations: 4.062 kB / 0.6767 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.2083, allocations: 4 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.2083, allocations: 0 / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.2083, allocations: 3.906 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.2083, allocations: 4 kB / 0.6767 GB, free: 11.36 MB / 0.5137 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 8.368e-05/0.2084, allocations: 113.8 kB / 0.6768 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.2085, allocations: 7.938 kB / 0.6768 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.2086, allocations: 117 kB / 0.677 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.389e-05/0.2087, allocations: 188.2 kB / 0.6771 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.314e-05/0.2088, allocations: 180.5 kB / 0.6773 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/0.2088, allocations: 176.3 kB / 0.6775 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.2091, allocations: 413.2 kB / 0.6779 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.84e-05/0.2091, allocations: 105 kB / 0.678 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.2092, allocations: 109 kB / 0.6781 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.738e-05/0.2092, allocations: 184.2 kB / 0.6783 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/0.2093, allocations: 176.3 kB / 0.6784 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.215e-05/0.2094, allocations: 188.2 kB / 0.6786 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.238e-05/0.2094, allocations: 176.3 kB / 0.6788 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.2096, allocations: 307.7 kB / 0.6791 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2097, allocations: 190.1 kB / 0.6792 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.2098, allocations: 180.2 kB / 0.6794 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.21, allocations: 105 kB / 0.6795 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.2101, allocations: 184.2 kB / 0.6797 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.2102, allocations: 109 kB / 0.6798 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.2102, allocations: 83.28 kB / 0.6799 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2102, allocations: 3.938 kB / 0.6799 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003125/0.2105, allocations: 35.94 kB / 0.6799 GB, free: 7.871 MB / 0.5137 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.0002921/0.2108, allocations: 249.6 kB / 0.6801 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.389e-05/0.2109, allocations: 7.938 kB / 0.6802 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2109, allocations: 0 / 0.6802 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.211, allocations: 0 / 0.6802 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.2114, allocations: 464.5 kB / 0.6806 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.2117, allocations: 180.8 kB / 0.6808 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.2121, allocations: 0.6767 MB / 0.6814 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.2121, allocations: 4 kB / 0.6814 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.2122, allocations: 15.44 kB / 0.6815 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.2122, allocations: 0 / 0.6815 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.004194/0.2164, allocations: 1.165 MB / 0.6826 GB, free: 5.121 MB / 0.5137 GB 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)