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.1949/0.1973, allocations: 80.83 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005646/0.203, allocations: 4.011 MB / 0.6745 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.2032, allocations: 147.5 kB / 0.6747 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.2033, allocations: 0 / 0.6747 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.2034, allocations: 0 / 0.6747 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.2035, allocations: 19.91 kB / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.2038, allocations: 67.72 kB / 0.6747 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.733e-05/0.2039, allocations: 31.91 kB / 0.6748 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.204, allocations: 0 / 0.6748 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.204, allocations: 23.86 kB / 0.6748 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.2041, allocations: 7.984 kB / 0.6748 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.2041, allocations: 4 kB / 0.6748 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.2043, allocations: 55.81 kB / 0.6749 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.2044, allocations: 7.984 kB / 0.6749 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.2044, allocations: 7.938 kB / 0.6749 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2046, allocations: 39.91 kB / 0.6749 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2046, allocations: 0 / 0.6749 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2046, allocations: 7.938 kB / 0.6749 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2046, allocations: 0 / 0.6749 GB, free: 13.59 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.0003896/0.205, allocations: 331.6 kB / 0.6752 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.205, allocations: 12.03 kB / 0.6753 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.2051, allocations: 0.9375 kB / 0.6753 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2052, allocations: 160.4 kB / 0.6754 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.2053, allocations: 30.27 kB / 0.6754 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.2053, allocations: 384 / 0.6754 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2054, allocations: 61.48 kB / 0.6755 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2054, allocations: 4 kB / 0.6755 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2055, allocations: 0 / 0.6755 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.2055, allocations: 0 / 0.6755 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.2055, allocations: 11.98 kB / 0.6755 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.206, allocations: 337.8 kB / 0.6758 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.146e-05/0.206, allocations: 26.55 kB / 0.6759 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.2061, allocations: 12.92 kB / 0.6759 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.578e-05/0.2062, allocations: 85.09 kB / 0.6759 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.2062, allocations: 30.56 kB / 0.676 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2062, allocations: 0 / 0.676 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.2063, allocations: 37.69 kB / 0.676 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.2064, allocations: 51.41 kB / 0.6761 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.2065, allocations: 102 kB / 0.6762 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2065, allocations: 25.7 kB / 0.6762 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.2066, allocations: 92.03 kB / 0.6763 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.2066, allocations: 0 / 0.6763 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.2066, allocations: 21.66 kB / 0.6763 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2067, allocations: 314.8 kB / 0.6766 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.2068, allocations: 8 kB / 0.6766 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.2068, allocations: 21.89 kB / 0.6766 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.2069, allocations: 17.72 kB / 0.6766 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2069, allocations: 0 / 0.6766 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.296e-05/0.2069, allocations: 53.72 kB / 0.6767 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.207, allocations: 4.781 kB / 0.6767 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.207, allocations: 0 / 0.6767 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.207, allocations: 3.984 kB / 0.6767 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.207, allocations: 4 kB / 0.6767 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2071, allocations: 12.05 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.2071, allocations: 3.906 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.2071, allocations: 0 / 0.6767 GB, free: 11.48 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.069e-05/0.2072, allocations: 125.8 kB / 0.6768 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.2072, allocations: 0 / 0.6768 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.2073, allocations: 116.9 kB / 0.6769 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/0.2074, allocations: 184.2 kB / 0.6771 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.526e-05/0.2075, allocations: 188.2 kB / 0.6773 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.785e-05/0.2075, allocations: 184.2 kB / 0.6775 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.2077, allocations: 409.1 kB / 0.6779 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/0.2078, allocations: 109 kB / 0.678 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.2078, allocations: 101 kB / 0.6781 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.95e-05/0.2079, allocations: 184.2 kB / 0.6782 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.2079, allocations: 176.3 kB / 0.6784 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.798e-05/0.208, allocations: 188.2 kB / 0.6786 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.967e-05/0.2081, allocations: 176.3 kB / 0.6788 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.2082, allocations: 311.7 kB / 0.6791 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.2083, allocations: 182.1 kB / 0.6792 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/0.2084, allocations: 184.2 kB / 0.6794 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.2085, allocations: 101 kB / 0.6795 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.2086, allocations: 180.3 kB / 0.6797 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.2086, allocations: 112.9 kB / 0.6798 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.2087, allocations: 83.28 kB / 0.6799 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2087, allocations: 0 / 0.6799 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002423/0.2089, allocations: 15.94 kB / 0.6799 GB, free: 8.02 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.00024/0.2092, allocations: 198.4 kB / 0.6801 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.2092, allocations: 8 kB / 0.6801 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2092, allocations: 128 / 0.6801 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.2092, allocations: 11.94 kB / 0.6801 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.2097, allocations: 459.7 kB / 0.6805 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.2099, allocations: 181.8 kB / 0.6807 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2102, allocations: 0.6768 MB / 0.6814 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.2102, allocations: 11.94 kB / 0.6814 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.2102, allocations: 7.438 kB / 0.6814 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.2102, allocations: 0 / 0.6814 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of Templates: time 0.002691/0.2129, allocations: 0.5841 MB / 0.6819 GB, free: 5.84 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)