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.2128/0.215, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005712/0.2207, allocations: 3.997 MB / 0.6745 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001897/0.2209, allocations: 155.5 kB / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.221, allocations: 0 / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.2211, allocations: 3.938 kB / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.2212, allocations: 11.92 kB / 0.6747 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.2216, allocations: 67.77 kB / 0.6747 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.268e-05/0.2217, allocations: 27.86 kB / 0.6748 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.2217, allocations: 7.984 kB / 0.6748 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.2218, allocations: 19.92 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.2218, allocations: 8 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.2219, allocations: 0 / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.2221, allocations: 63.8 kB / 0.6749 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.2221, allocations: 3.984 kB / 0.6749 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.2222, allocations: 7.938 kB / 0.6749 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.2223, allocations: 43.91 kB / 0.6749 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2223, allocations: 0 / 0.6749 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2223, allocations: 0 / 0.6749 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2223, allocations: 0 / 0.6749 GB, free: 13.58 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.000434/0.2228, allocations: 339.4 kB / 0.6752 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2228, allocations: 15.97 kB / 0.6753 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.2229, allocations: 4.875 kB / 0.6753 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.223, allocations: 160.4 kB / 0.6754 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/0.223, allocations: 30.27 kB / 0.6754 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.2231, allocations: 384 / 0.6754 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2232, allocations: 49.61 kB / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2232, allocations: 0 / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2232, allocations: 3.938 kB / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.2233, allocations: 8 kB / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.2233, allocations: 11.98 kB / 0.6755 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.2238, allocations: 333.9 kB / 0.6758 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.964e-05/0.2238, allocations: 18.61 kB / 0.6759 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.2238, allocations: 12.8 kB / 0.6759 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.448e-05/0.2239, allocations: 85.17 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.224, allocations: 34.56 kB / 0.676 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.224, allocations: 0 / 0.676 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.2241, allocations: 45.58 kB / 0.676 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2242, allocations: 51.41 kB / 0.6761 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.2242, allocations: 97.86 kB / 0.6762 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2243, allocations: 25.7 kB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.2243, allocations: 88.03 kB / 0.6763 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.2243, allocations: 16.09 kB / 0.6763 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.2244, allocations: 17.72 kB / 0.6763 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2245, allocations: 314.8 kB / 0.6766 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.2245, allocations: 0 / 0.6766 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.2245, allocations: 21.7 kB / 0.6766 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.2246, allocations: 29.66 kB / 0.6767 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2246, allocations: 0 / 0.6767 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.995e-05/0.2247, allocations: 45.69 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2247, allocations: 8 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2247, allocations: 3.984 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.2247, allocations: 0 / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.2248, allocations: 7.938 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2248, allocations: 0 / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.2248, allocations: 7.953 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2248, 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 8.499e-05/0.2249, allocations: 129.8 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2249, allocations: 0 / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.2251, allocations: 113 kB / 0.677 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-05/0.2251, allocations: 180.2 kB / 0.6771 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7e-05/0.2252, allocations: 184.2 kB / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.425e-05/0.2253, allocations: 184.2 kB / 0.6775 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.2255, allocations: 409.2 kB / 0.6779 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.2256, allocations: 108.9 kB / 0.678 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.2256, allocations: 112.9 kB / 0.6781 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.206e-05/0.2257, allocations: 176.3 kB / 0.6782 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.295e-05/0.2258, allocations: 180.2 kB / 0.6784 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.47e-05/0.2259, allocations: 184.2 kB / 0.6786 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-05/0.2259, allocations: 180.3 kB / 0.6788 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.2261, allocations: 307.7 kB / 0.6791 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.2262, allocations: 186 kB / 0.6792 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/0.2263, allocations: 180.3 kB / 0.6794 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2264, allocations: 105 kB / 0.6795 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.2265, allocations: 184.2 kB / 0.6797 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.2265, allocations: 105 kB / 0.6798 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.2266, allocations: 79.28 kB / 0.6799 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2266, allocations: 4 kB / 0.6799 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002536/0.2268, allocations: 11.94 kB / 0.6799 GB, free: 8.004 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.0002572/0.2271, allocations: 202.4 kB / 0.6801 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.2272, allocations: 15.94 kB / 0.6801 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2272, allocations: 0 / 0.6801 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.2272, allocations: 0 / 0.6801 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.2277, allocations: 463.8 kB / 0.6805 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.2281, allocations: 177.8 kB / 0.6807 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.2285, allocations: 0.6729 MB / 0.6814 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.428e-05/0.2285, allocations: 11.94 kB / 0.6814 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.2285, allocations: 11.44 kB / 0.6814 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.2285, allocations: 0 / 0.6814 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.003481/0.232, allocations: 0.5827 MB / 0.6819 GB, free: 5.824 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)