Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [/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.1948/0.1957, allocations: 82.21 MB / 0.5935 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6263/0.822, allocations: 134.4 MB / 0.7247 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001161/0.8221, allocations: 41.11 kB / 0.7248 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.8222, allocations: 0 / 0.7248 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.8223, allocations: 0 / 0.7248 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.8224, allocations: 14.78 kB / 0.7248 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.823, allocations: 141.7 kB / 0.7249 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.953e-05/0.8231, allocations: 43.22 kB / 0.725 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.8232, allocations: 3.719 kB / 0.725 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.8232, allocations: 11.23 kB / 0.725 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.8233, allocations: 16.56 kB / 0.725 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.8233, allocations: 1.875 kB / 0.725 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.8237, allocations: 103.4 kB / 0.7251 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.8237, allocations: 11.94 kB / 0.7251 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.8238, allocations: 27.86 kB / 0.7251 GB, free: 17.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.824, allocations: 50.91 kB / 0.7252 GB, free: 17.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.824, allocations: 3.938 kB / 0.7252 GB, free: 17.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.824, allocations: 0 / 0.7252 GB, free: 17.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.824, allocations: 1.25 kB / 0.7252 GB, free: 17.12 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.0003863/0.8244, allocations: 332.6 kB / 0.7255 GB, free: 16.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.8245, allocations: 9.438 kB / 0.7255 GB, free: 16.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.8248, allocations: 30 kB / 0.7255 GB, free: 16.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.825, allocations: 170.3 kB / 0.7257 GB, free: 16.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.8251, allocations: 30.58 kB / 0.7257 GB, free: 16.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.8251, allocations: 2.781 kB / 0.7257 GB, free: 16.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.8252, allocations: 49.78 kB / 0.7258 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8253, allocations: 4.891 kB / 0.7258 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.8253, allocations: 2.016 kB / 0.7258 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.8253, allocations: 2.875 kB / 0.7258 GB, free: 16.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.334e-05/0.8254, allocations: 28.89 kB / 0.7258 GB, free: 16.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.8257, allocations: 251.8 kB / 0.7261 GB, free: 16.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.717e-05/0.8258, allocations: 23.3 kB / 0.7261 GB, free: 16.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.8258, allocations: 7.266 kB / 0.7261 GB, free: 16.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.826, allocations: 99.31 kB / 0.7262 GB, free: 16.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.826, allocations: 31.59 kB / 0.7262 GB, free: 16.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.826, allocations: 0 / 0.7262 GB, free: 16.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002535/0.8263, allocations: 52.23 kB / 0.7263 GB, free: 16.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.8263, allocations: 51.41 kB / 0.7263 GB, free: 15.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.8264, allocations: 104.5 kB / 0.7264 GB, free: 15.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.8265, allocations: 32.58 kB / 0.7265 GB, free: 15.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.8265, allocations: 88.86 kB / 0.7265 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.8265, allocations: 9.406 kB / 0.7265 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.8265, allocations: 1 kB / 0.7265 GB, free: 15.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8266, allocations: 311.7 kB / 0.7268 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.8267, allocations: 8.75 kB / 0.7269 GB, free: 15.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.8267, allocations: 19.27 kB / 0.7269 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.8267, allocations: 14.09 kB / 0.7269 GB, free: 15.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8267, allocations: 0 / 0.7269 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.427e-05/0.8268, allocations: 55.52 kB / 0.7269 GB, free: 15.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.8268, allocations: 5.406 kB / 0.7269 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.8269, allocations: 0.6562 kB / 0.7269 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8269, allocations: 1.844 kB / 0.7269 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.8269, allocations: 7.625 kB / 0.727 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.827, allocations: 1.969 kB / 0.727 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.827, allocations: 4.844 kB / 0.727 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.827, allocations: 7.906 kB / 0.727 GB, free: 15.33 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 7.987e-05/0.8271, allocations: 116.1 kB / 0.7271 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.8271, allocations: 7.578 kB / 0.7271 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.8272, allocations: 7.188 kB / 0.7271 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8272, allocations: 0.75 kB / 0.7271 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8272, allocations: 0 / 0.7271 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.8272, allocations: 0.6562 kB / 0.7271 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.8275, allocations: 364.3 kB / 0.7274 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8275, allocations: 0 / 0.7274 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.8275, allocations: 10.34 kB / 0.7274 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.8275, allocations: 2.312 kB / 0.7274 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.8276, allocations: 0.7188 kB / 0.7275 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8276, allocations: 2.922 kB / 0.7275 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8276, allocations: 5.172 kB / 0.7275 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.572e-05/0.8277, allocations: 72.89 kB / 0.7275 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.8277, allocations: 78.95 kB / 0.7276 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.8277, allocations: 0.875 kB / 0.7276 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/0.8278, allocations: 6.438 kB / 0.7276 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.8278, allocations: 5.203 kB / 0.7276 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.8278, allocations: 3.562 kB / 0.7276 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.8279, allocations: 85.28 kB / 0.7277 GB, free: 14.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8279, allocations: 0 / 0.7277 GB, free: 14.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001878/0.8281, allocations: 5.562 kB / 0.7277 GB, free: 14.55 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001365/0.8282, allocations: 105.1 kB / 0.7278 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.959e-05/0.8283, allocations: 16.34 kB / 0.7278 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8283, allocations: 0 / 0.7278 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.8283, allocations: 11.25 kB / 0.7278 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.8285, allocations: 3.688 kB / 0.7278 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.8288, allocations: 130.4 kB / 0.728 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.8291, allocations: 0.6759 MB / 0.7286 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.001e-05/0.8292, allocations: 9.812 kB / 0.7286 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.8292, allocations: 9.062 kB / 0.7286 GB, free: 13.62 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.8292, allocations: 0 / 0.7286 GB, free: 13.62 MB / 0.545 GB Notification: Performance of Templates: time 0.002786/0.832, allocations: 0.4926 MB / 0.7291 GB, free: 13.58 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: