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.2165/0.2185, allocations: 80.83 MB / 0.5899 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.58/0.7986, allocations: 146.2 MB / 0.7326 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001446/0.7988, allocations: 46.09 kB / 0.7326 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.7988, allocations: 0 / 0.7326 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.799, allocations: 0.5312 kB / 0.7326 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.7991, allocations: 16.73 kB / 0.7327 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.8, allocations: 187 kB / 0.7328 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.8001, allocations: 31.83 kB / 0.7329 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.8002, allocations: 0.9375 kB / 0.7329 GB, free: 15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.8002, allocations: 19.53 kB / 0.7329 GB, free: 15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.8003, allocations: 12.84 kB / 0.7329 GB, free: 15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.8003, allocations: 1.656 kB / 0.7329 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.8008, allocations: 202.3 kB / 0.7331 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.8009, allocations: 9.469 kB / 0.7331 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.8009, allocations: 11.28 kB / 0.7331 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.8012, allocations: 120.8 kB / 0.7332 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8012, allocations: 1.859 kB / 0.7332 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8012, allocations: 0 / 0.7332 GB, free: 14.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.8012, allocations: 0.5625 kB / 0.7332 GB, free: 14.96 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.0005088/0.8017, allocations: 343.1 kB / 0.7336 GB, free: 14.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8018, allocations: 10.22 kB / 0.7336 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.8022, allocations: 32.48 kB / 0.7336 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.8023, allocations: 169.9 kB / 0.7338 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.8024, allocations: 31.86 kB / 0.7338 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.8024, allocations: 5.234 kB / 0.7338 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.8026, allocations: 49.73 kB / 0.7338 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.8026, allocations: 0 / 0.7338 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.8026, allocations: 0.9688 kB / 0.7338 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.8026, allocations: 1.344 kB / 0.7338 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.97e-05/0.8027, allocations: 22.22 kB / 0.7339 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.8031, allocations: 259.4 kB / 0.7341 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.475e-05/0.8032, allocations: 27.42 kB / 0.7341 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.8032, allocations: 11.45 kB / 0.7341 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.8034, allocations: 89.22 kB / 0.7342 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.8034, allocations: 35.72 kB / 0.7343 GB, free: 13.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.8035, allocations: 0.5625 kB / 0.7343 GB, free: 13.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002846/0.8037, allocations: 53.73 kB / 0.7343 GB, free: 13.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.8038, allocations: 55.91 kB / 0.7344 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.8039, allocations: 101.4 kB / 0.7345 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.8039, allocations: 26.2 kB / 0.7345 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.804, allocations: 89.11 kB / 0.7346 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.804, allocations: 15.14 kB / 0.7346 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.804, allocations: 12.97 kB / 0.7346 GB, free: 13.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8041, allocations: 317 kB / 0.7349 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.8042, allocations: 6.109 kB / 0.7349 GB, free: 13.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.8042, allocations: 21.92 kB / 0.7349 GB, free: 13.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.8043, allocations: 35.48 kB / 0.735 GB, free: 13.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8043, allocations: 2.75 kB / 0.735 GB, free: 13.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/0.8044, allocations: 58.03 kB / 0.735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.8044, allocations: 5.375 kB / 0.735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.8044, allocations: 0.75 kB / 0.735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8044, allocations: 0.875 kB / 0.735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.8045, allocations: 6 kB / 0.735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8045, allocations: 1.156 kB / 0.735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.8046, allocations: 15.27 kB / 0.7351 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.8046, allocations: 1.656 kB / 0.7351 GB, free: 13.13 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 8.697e-05/0.8047, allocations: 111.7 kB / 0.7352 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.8047, allocations: 1.562 kB / 0.7352 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.8047, allocations: 7.531 kB / 0.7352 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.8047, allocations: 1.156 kB / 0.7352 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8048, allocations: 3.938 kB / 0.7352 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8048, allocations: 4.438 kB / 0.7352 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.8051, allocations: 364 kB / 0.7355 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8051, allocations: 0.5312 kB / 0.7355 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.8051, allocations: 2.781 kB / 0.7355 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.8051, allocations: 6.094 kB / 0.7355 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.8051, allocations: 4.938 kB / 0.7355 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8052, allocations: 0.5625 kB / 0.7355 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8052, allocations: 2.547 kB / 0.7355 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.874e-05/0.8052, allocations: 70.55 kB / 0.7356 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.8053, allocations: 78.73 kB / 0.7357 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.8053, allocations: 7.75 kB / 0.7357 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.8054, allocations: 3.734 kB / 0.7357 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.8054, allocations: 5.328 kB / 0.7357 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.8054, allocations: 5.062 kB / 0.7357 GB, free: 12.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.8055, allocations: 83.45 kB / 0.7358 GB, free: 12.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8055, allocations: 1.062 kB / 0.7358 GB, free: 12.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000192/0.8057, allocations: 5.531 kB / 0.7358 GB, free: 12.35 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.0001703/0.8059, allocations: 102 kB / 0.7359 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.806, allocations: 16.75 kB / 0.7359 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.806, allocations: 1.031 kB / 0.7359 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.575e-05/0.806, allocations: 12.16 kB / 0.7359 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.8063, allocations: 6 kB / 0.7359 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.8066, allocations: 130.2 kB / 0.736 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.8069, allocations: 0.6749 MB / 0.7367 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.754e-05/0.807, allocations: 9.984 kB / 0.7367 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.807, allocations: 10.27 kB / 0.7367 GB, free: 11.42 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.807, allocations: 0.5312 kB / 0.7367 GB, free: 11.42 MB / 0.545 GB Notification: Performance of Templates: time 0.003173/0.8102, allocations: 0.53 MB / 0.7372 GB, free: 11.37 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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)