Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [/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.1846/0.1868, allocations: 80.83 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006078/0.1929, allocations: 4.011 MB / 0.6745 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002044/0.1932, allocations: 159.5 kB / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.1932, allocations: 4 kB / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.1933, allocations: 0 / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.082e-05/0.1934, allocations: 11.92 kB / 0.6747 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1938, allocations: 75.7 kB / 0.6748 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1939, allocations: 23.91 kB / 0.6748 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.194, allocations: 4 kB / 0.6748 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.1941, allocations: 23.86 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.1941, allocations: 7.984 kB / 0.6748 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1942, allocations: 4 kB / 0.6748 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.1944, allocations: 55.81 kB / 0.6749 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.1944, allocations: 7.984 kB / 0.6749 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.1945, allocations: 11.94 kB / 0.6749 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1946, allocations: 39.91 kB / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1946, allocations: 0 / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1946, allocations: 0 / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1946, allocations: 0 / 0.6749 GB, free: 13.57 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.0004265/0.1951, allocations: 331.6 kB / 0.6752 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1951, allocations: 12.03 kB / 0.6753 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.1952, allocations: 12.88 kB / 0.6753 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1953, allocations: 164.4 kB / 0.6754 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.1954, allocations: 30.27 kB / 0.6755 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1954, allocations: 384 / 0.6755 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1955, allocations: 49.56 kB / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1956, allocations: 3.938 kB / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1956, allocations: 0 / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1956, allocations: 4 kB / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.1957, allocations: 11.98 kB / 0.6755 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.1961, allocations: 345.9 kB / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/0.1962, allocations: 18.52 kB / 0.6759 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.1962, allocations: 12.92 kB / 0.6759 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.385e-05/0.1963, allocations: 85.09 kB / 0.676 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1963, allocations: 30.56 kB / 0.676 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.1963, allocations: 4 kB / 0.676 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.1965, allocations: 33.7 kB / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1966, allocations: 51.41 kB / 0.6761 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.1966, allocations: 101.8 kB / 0.6762 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1967, allocations: 25.7 kB / 0.6762 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.1967, allocations: 84.05 kB / 0.6763 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.1967, allocations: 7.938 kB / 0.6763 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.1968, allocations: 17.84 kB / 0.6763 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.1969, allocations: 322.8 kB / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.1969, allocations: 0 / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.1969, allocations: 17.72 kB / 0.6766 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.197, allocations: 21.7 kB / 0.6766 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.197, allocations: 0 / 0.6766 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.906e-05/0.1971, allocations: 49.64 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1971, allocations: 8 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1971, allocations: 3.984 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1971, allocations: 288 / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.1972, allocations: 4 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1972, allocations: 0 / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.1972, allocations: 7.906 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1972, allocations: 0 / 0.6767 GB, free: 11.46 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 7.356e-05/0.1973, allocations: 121.8 kB / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1973, allocations: 8.047 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.1974, allocations: 120.9 kB / 0.677 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001349/0.1976, allocations: 176.3 kB / 0.6771 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-05/0.1977, allocations: 184.2 kB / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.772e-05/0.1978, allocations: 180.3 kB / 0.6775 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.198, allocations: 417 kB / 0.6779 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.467e-05/0.1981, allocations: 104.9 kB / 0.678 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.1981, allocations: 113 kB / 0.6781 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.946e-05/0.1982, allocations: 180.2 kB / 0.6782 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/0.1984, allocations: 176.3 kB / 0.6784 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.616e-05/0.1985, allocations: 180.2 kB / 0.6786 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.603e-05/0.1986, allocations: 188.3 kB / 0.6788 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.1987, allocations: 311.7 kB / 0.6791 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.1989, allocations: 178.1 kB / 0.6792 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.199, allocations: 180.2 kB / 0.6794 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1991, allocations: 113 kB / 0.6795 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/0.1992, allocations: 180.3 kB / 0.6797 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.1993, allocations: 104.9 kB / 0.6798 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.1993, allocations: 87.27 kB / 0.6799 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1993, allocations: 0 / 0.6799 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002829/0.1996, allocations: 15.94 kB / 0.6799 GB, free: 7.992 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.0003703/0.2, allocations: 202.4 kB / 0.6801 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.609e-05/0.2001, allocations: 8 kB / 0.6801 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2001, allocations: 3.938 kB / 0.6801 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.2001, allocations: 0 / 0.6801 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.2005, allocations: 459.8 kB / 0.6805 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.201, allocations: 189.8 kB / 0.6807 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.2014, allocations: 0.6729 MB / 0.6814 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.781e-05/0.2015, allocations: 7.938 kB / 0.6814 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.2015, allocations: 11.44 kB / 0.6814 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.2015, allocations: 4 kB / 0.6814 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of Templates: time 0.004406/0.2059, allocations: 0.5862 MB / 0.682 GB, free: 5.805 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)