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.2105/0.2113, allocations: 82.23 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6382/0.8496, allocations: 144.1 MB / 0.7348 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001265/0.8498, allocations: 50.95 kB / 0.7349 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.8498, allocations: 0 / 0.7349 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.8499, allocations: 0 / 0.7349 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.638e-05/0.85, allocations: 16.19 kB / 0.7349 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.8509, allocations: 182.1 kB / 0.7351 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.851, allocations: 63.28 kB / 0.7351 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.851, allocations: 5.625 kB / 0.7351 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.8511, allocations: 10.77 kB / 0.7352 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.8512, allocations: 17.42 kB / 0.7352 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.8512, allocations: 0.9375 kB / 0.7352 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.8517, allocations: 228 kB / 0.7354 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.8517, allocations: 11.83 kB / 0.7354 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.8518, allocations: 35.41 kB / 0.7354 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.8521, allocations: 123 kB / 0.7356 GB, free: 15.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8521, allocations: 1.062 kB / 0.7356 GB, free: 15.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8521, allocations: 0 / 0.7356 GB, free: 15.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8521, allocations: 7.938 kB / 0.7356 GB, free: 15.28 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.0004179/0.8525, allocations: 330.8 kB / 0.7359 GB, free: 14.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.8526, allocations: 9.219 kB / 0.7359 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.8529, allocations: 32.58 kB / 0.7359 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.8531, allocations: 162.4 kB / 0.7361 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.8532, allocations: 33.84 kB / 0.7361 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.8532, allocations: 4.453 kB / 0.7361 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.8533, allocations: 50.44 kB / 0.7362 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8533, allocations: 3.984 kB / 0.7362 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.8534, allocations: 3.953 kB / 0.7362 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.8534, allocations: 0.75 kB / 0.7362 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.8535, allocations: 23.8 kB / 0.7362 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.8538, allocations: 255.5 kB / 0.7364 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.64e-05/0.8539, allocations: 27.48 kB / 0.7365 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.854, allocations: 11.48 kB / 0.7365 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.8541, allocations: 92.3 kB / 0.7366 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.8542, allocations: 31.19 kB / 0.7366 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8542, allocations: 0 / 0.7366 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002552/0.8544, allocations: 57.03 kB / 0.7366 GB, free: 14.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.8545, allocations: 53.06 kB / 0.7367 GB, free: 14.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.8546, allocations: 105.6 kB / 0.7368 GB, free: 14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.8546, allocations: 26.92 kB / 0.7368 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.8546, allocations: 88.92 kB / 0.7369 GB, free: 13.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.8547, allocations: 8.375 kB / 0.7369 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.8547, allocations: 13.48 kB / 0.7369 GB, free: 13.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8548, allocations: 315.9 kB / 0.7372 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.8548, allocations: 5.391 kB / 0.7372 GB, free: 13.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.8549, allocations: 23.45 kB / 0.7373 GB, free: 13.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.8549, allocations: 33.7 kB / 0.7373 GB, free: 13.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8549, allocations: 0 / 0.7373 GB, free: 13.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.358e-05/0.855, allocations: 55.8 kB / 0.7373 GB, free: 13.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8551, allocations: 5.625 kB / 0.7373 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8551, allocations: 0.8125 kB / 0.7373 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.8551, allocations: 0.9375 kB / 0.7373 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.8551, allocations: 7.938 kB / 0.7374 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.8552, allocations: 1.688 kB / 0.7374 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.8552, allocations: 5.031 kB / 0.7374 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.8552, allocations: 3.906 kB / 0.7374 GB, free: 13.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.8553, allocations: 122.5 kB / 0.7375 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.8553, allocations: 6.094 kB / 0.7375 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.8554, allocations: 7.625 kB / 0.7375 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.8554, allocations: 0 / 0.7375 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8554, allocations: 4.719 kB / 0.7375 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8554, allocations: 3.938 kB / 0.7375 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.8557, allocations: 358.6 kB / 0.7378 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8557, allocations: 6.344 kB / 0.7379 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.8557, allocations: 3.125 kB / 0.7379 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.8558, allocations: 4.844 kB / 0.7379 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.8558, allocations: 0 / 0.7379 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8558, allocations: 3.234 kB / 0.7379 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8558, allocations: 1.344 kB / 0.7379 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.8559, allocations: 69.72 kB / 0.7379 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.8559, allocations: 82.36 kB / 0.738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.856, allocations: 9.031 kB / 0.738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.856, allocations: 3.875 kB / 0.738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.8561, allocations: 4.656 kB / 0.738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.8561, allocations: 1.219 kB / 0.738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.349e-05/0.8561, allocations: 79.41 kB / 0.7381 GB, free: 12.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8561, allocations: 0 / 0.7381 GB, free: 12.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001944/0.8563, allocations: 12.2 kB / 0.7381 GB, free: 12.67 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 (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.0001487/0.8565, allocations: 107.4 kB / 0.7382 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.145e-05/0.8566, allocations: 17.27 kB / 0.7382 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8566, allocations: 0 / 0.7382 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.8566, allocations: 7.469 kB / 0.7382 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.8569, allocations: 4.266 kB / 0.7382 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.8572, allocations: 140.3 kB / 0.7384 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.8575, allocations: 0.6748 MB / 0.739 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.586e-05/0.8576, allocations: 6.016 kB / 0.739 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.8576, allocations: 13.97 kB / 0.7391 GB, free: 11.73 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.8576, allocations: 3.938 kB / 0.7391 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Templates: time 0.002837/0.8604, allocations: 0.4978 MB / 0.7395 GB, free: 11.68 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: