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.2291/0.2319, allocations: 80.83 MB / 0.5897 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007216/0.2392, allocations: 4.053 MB / 0.5936 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.2395, allocations: 147.6 kB / 0.5938 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.2396, allocations: 0 / 0.5938 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2397, allocations: 3.984 kB / 0.5938 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.739e-05/0.2398, allocations: 15.92 kB / 0.5938 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.2402, allocations: 63.77 kB / 0.5938 GB, free: 2.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2403, allocations: 67.75 kB / 0.5939 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.2404, allocations: 0 / 0.5939 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.2404, allocations: 8 kB / 0.5939 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.2405, allocations: 11.98 kB / 0.5939 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2405, allocations: 0 / 0.5939 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.2408, allocations: 75.78 kB / 0.594 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.2408, allocations: 7.984 kB / 0.594 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.2409, allocations: 15.88 kB / 0.594 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.241, allocations: 44.17 kB / 0.5941 GB, free: 2.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2411, allocations: 0 / 0.5941 GB, free: 2.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2411, allocations: 4 kB / 0.5941 GB, free: 2.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2411, allocations: 0 / 0.5941 GB, free: 2.605 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.0004452/0.2415, allocations: 335 kB / 0.5944 GB, free: 2.234 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2416, allocations: 15.97 kB / 0.5944 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.2416, allocations: 4.922 kB / 0.5944 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2418, allocations: 164.3 kB / 0.5946 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.2418, allocations: 30.27 kB / 0.5946 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.2419, allocations: 384 / 0.5946 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.242, allocations: 45.62 kB / 0.5946 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.242, allocations: 0 / 0.5946 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2421, allocations: 4 kB / 0.5946 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.2421, allocations: 3.984 kB / 0.5946 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.2421, allocations: 12 kB / 0.5947 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.2427, allocations: 341.9 kB / 0.595 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/0.2427, allocations: 14.58 kB / 0.595 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.2428, allocations: 12.92 kB / 0.595 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.149e-05/0.2428, allocations: 85.09 kB / 0.5951 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.2429, allocations: 34.56 kB / 0.5951 GB, free: 1.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2429, allocations: 0 / 0.5951 GB, free: 1.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.2431, allocations: 37.64 kB / 0.5952 GB, free: 1.281 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.2431, allocations: 51.41 kB / 0.5952 GB, free: 1.219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.2432, allocations: 113.9 kB / 0.5953 GB, free: 1.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2432, allocations: 25.7 kB / 0.5953 GB, free: 1.066 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.2433, allocations: 88.05 kB / 0.5954 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.2433, allocations: 3.906 kB / 0.5954 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.2433, allocations: 17.7 kB / 0.5954 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2435, allocations: 322.8 kB / 0.5958 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.2435, allocations: 4 kB / 0.5958 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.2435, allocations: 13.72 kB / 0.5958 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.2436, allocations: 29.64 kB / 0.5958 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2436, allocations: 0 / 0.5958 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.038e-05/0.2436, allocations: 41.7 kB / 0.5958 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2437, allocations: 11.98 kB / 0.5958 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2437, allocations: 4 kB / 0.5959 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2437, allocations: 0 / 0.5959 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.2437, allocations: 7.938 kB / 0.5959 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2438, allocations: 8.062 kB / 0.5959 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.2438, allocations: 0 / 0.5959 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.2438, allocations: 0 / 0.5959 GB, free: 500 kB / 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 9.535e-05/0.2439, allocations: 118.6 kB / 0.596 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.2439, allocations: 0 / 0.596 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.2441, allocations: 124.9 kB / 0.5961 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.567e-05/0.2441, allocations: 184.2 kB / 0.5963 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-05/0.2442, allocations: 176.3 kB / 0.5964 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-05/0.2443, allocations: 184.2 kB / 0.5966 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2445, allocations: 405.2 kB / 0.597 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-05/0.2445, allocations: 109 kB / 0.5971 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.2446, allocations: 104.9 kB / 0.5972 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-05/0.2446, allocations: 180.3 kB / 0.5974 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/0.2447, allocations: 184.2 kB / 0.5976 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.028e-05/0.2448, allocations: 180.3 kB / 0.5977 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.545e-05/0.2448, allocations: 176.3 kB / 0.5979 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.245, allocations: 319.6 kB / 0.5982 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.2451, allocations: 182.3 kB / 0.5984 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.2452, allocations: 180.3 kB / 0.5985 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.2453, allocations: 113 kB / 0.5987 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.2454, allocations: 180.2 kB / 0.5988 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.2454, allocations: 105 kB / 0.5989 GB, free: 13.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.401e-05/0.2455, allocations: 91.27 kB / 0.599 GB, free: 13.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2455, allocations: 0 / 0.599 GB, free: 13.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.2457, allocations: 19.94 kB / 0.599 GB, free: 13.02 MB / 462.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.0002743/0.246, allocations: 194.4 kB / 0.5992 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.2461, allocations: 7.938 kB / 0.5992 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2461, allocations: 4.125 kB / 0.5992 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.989e-06/0.2461, allocations: 4 kB / 0.5992 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.2465, allocations: 0.5185 MB / 0.5997 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.2468, allocations: 187.6 kB / 0.5999 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.2471, allocations: 0.677 MB / 0.6006 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.2471, allocations: 4 kB / 0.6006 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.2471, allocations: 11.44 kB / 0.6006 GB, free: 11.35 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2471, allocations: 0 / 0.6006 GB, free: 11.35 MB / 462.1 MB Notification: Performance of Templates: time 0.002682/0.2498, allocations: 0.5697 MB / 0.6012 GB, free: 10.8 MB / 462.1 MB 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)