Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [/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.2399/0.2406, allocations: 82.22 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6901/0.9308, allocations: 134 MB / 0.7243 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001574/0.931, allocations: 46.52 kB / 0.7244 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.9311, allocations: 0 / 0.7244 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.9312, allocations: 6.344 kB / 0.7244 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.9313, allocations: 12.66 kB / 0.7244 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.9318, allocations: 69.89 kB / 0.7245 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.58e-05/0.9319, allocations: 44.02 kB / 0.7245 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.618e-05/0.9319, allocations: 5.484 kB / 0.7245 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.932, allocations: 7.312 kB / 0.7245 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.9321, allocations: 23.42 kB / 0.7245 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.9321, allocations: 0 / 0.7245 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.9324, allocations: 50.5 kB / 0.7246 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.9325, allocations: 6.016 kB / 0.7246 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.9326, allocations: 27.89 kB / 0.7246 GB, free: 16.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.9328, allocations: 39.78 kB / 0.7247 GB, free: 16.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.9328, allocations: 1.188 kB / 0.7247 GB, free: 16.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9328, allocations: 0 / 0.7247 GB, free: 16.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.9328, allocations: 0 / 0.7247 GB, free: 16.74 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000533/0.9334, allocations: 329.3 kB / 0.725 GB, free: 16.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.9334, allocations: 8.875 kB / 0.725 GB, free: 16.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.9337, allocations: 26.81 kB / 0.725 GB, free: 16.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.9339, allocations: 163 kB / 0.7252 GB, free: 16.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/0.934, allocations: 29.52 kB / 0.7252 GB, free: 16.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.934, allocations: 6.859 kB / 0.7252 GB, free: 16.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.9342, allocations: 47.55 kB / 0.7253 GB, free: 16.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.9342, allocations: 0 / 0.7253 GB, free: 16.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.9342, allocations: 0 / 0.7253 GB, free: 16.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.9343, allocations: 6.438 kB / 0.7253 GB, free: 16.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.9344, allocations: 21.77 kB / 0.7253 GB, free: 16.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.9348, allocations: 253 kB / 0.7255 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.9349, allocations: 24.3 kB / 0.7255 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.9349, allocations: 8.219 kB / 0.7256 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.9349, allocations: 4.812 kB / 0.7256 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.935, allocations: 31.59 kB / 0.7256 GB, free: 15.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.935, allocations: 0 / 0.7256 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000177/0.9352, allocations: 31.2 kB / 0.7256 GB, free: 15.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.9352, allocations: 52.06 kB / 0.7257 GB, free: 15.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.9354, allocations: 114 kB / 0.7258 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.9354, allocations: 26.23 kB / 0.7258 GB, free: 15.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.9355, allocations: 95.62 kB / 0.7259 GB, free: 15.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.9355, allocations: 10.89 kB / 0.7259 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.9355, allocations: 0.8438 kB / 0.7259 GB, free: 15.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9357, allocations: 314 kB / 0.7262 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.9357, allocations: 2.562 kB / 0.7262 GB, free: 15.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/0.9357, allocations: 25.34 kB / 0.7262 GB, free: 15.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.9358, allocations: 4.5 kB / 0.7262 GB, free: 15.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9358, allocations: 4.906 kB / 0.7262 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.599e-05/0.9359, allocations: 57.28 kB / 0.7263 GB, free: 15.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.9359, allocations: 4.594 kB / 0.7263 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.9359, allocations: 0.875 kB / 0.7263 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.936, allocations: 1.219 kB / 0.7263 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.936, allocations: 5.312 kB / 0.7263 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.9361, allocations: 4.25 kB / 0.7263 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.9361, allocations: 8.703 kB / 0.7263 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.9361, allocations: 2.062 kB / 0.7263 GB, free: 15.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.9362, allocations: 120.1 kB / 0.7264 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.9363, allocations: 7.375 kB / 0.7264 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.9363, allocations: 4.75 kB / 0.7264 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.9363, allocations: 1.969 kB / 0.7264 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.9363, allocations: 0.5625 kB / 0.7264 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9363, allocations: 1.031 kB / 0.7264 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.9366, allocations: 346.5 kB / 0.7268 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.9366, allocations: 0.875 kB / 0.7268 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.9366, allocations: 3.625 kB / 0.7268 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9367, allocations: 0 / 0.7268 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.9367, allocations: 3.969 kB / 0.7268 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.9367, allocations: 0 / 0.7268 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.9367, allocations: 11.62 kB / 0.7268 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.092e-05/0.9368, allocations: 51.23 kB / 0.7268 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.9368, allocations: 83.95 kB / 0.7269 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.9368, allocations: 4.812 kB / 0.7269 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.9369, allocations: 1.781 kB / 0.7269 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.9369, allocations: 3.062 kB / 0.7269 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.9369, allocations: 3.953 kB / 0.7269 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.937, allocations: 81.48 kB / 0.727 GB, free: 14.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.937, allocations: 0 / 0.727 GB, free: 14.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002109/0.9372, allocations: 6.312 kB / 0.727 GB, free: 14.29 MB / 0.545 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.9374, allocations: 106.2 kB / 0.7271 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.366e-05/0.9375, allocations: 15.34 kB / 0.7271 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9375, allocations: 1.156 kB / 0.7271 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.653e-06/0.9375, allocations: 3.75 kB / 0.7271 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.9377, allocations: 5.719 kB / 0.7271 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.938, allocations: 119.2 kB / 0.7273 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.9384, allocations: 0.6791 MB / 0.7279 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.67e-05/0.9384, allocations: 9.578 kB / 0.7279 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.9385, allocations: 8.312 kB / 0.7279 GB, free: 13.37 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.9385, allocations: 0.625 kB / 0.7279 GB, free: 13.37 MB / 0.545 GB Notification: Performance of Templates: time 0.002857/0.9413, allocations: 431.5 kB / 0.7284 GB, free: 13.35 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: