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.1985/0.2004, allocations: 80.83 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6564/0.8568, allocations: 145.6 MB / 0.7318 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001486/0.857, allocations: 48.56 kB / 0.7319 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.8571, allocations: 1.203 kB / 0.7319 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.8572, allocations: 3.422 kB / 0.7319 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.626e-05/0.8573, allocations: 17.69 kB / 0.7319 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.8578, allocations: 81.91 kB / 0.732 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.8579, allocations: 56.58 kB / 0.732 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.858, allocations: 4.781 kB / 0.732 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.04e-05/0.858, allocations: 15.58 kB / 0.732 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.8581, allocations: 13.22 kB / 0.7321 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.8581, allocations: 1.625 kB / 0.7321 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.8584, allocations: 88.06 kB / 0.7321 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.8585, allocations: 5.344 kB / 0.7321 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.8586, allocations: 7.547 kB / 0.7321 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.8588, allocations: 73.88 kB / 0.7322 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.8588, allocations: 0 / 0.7322 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8588, allocations: 1.344 kB / 0.7322 GB, free: 15.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.8588, allocations: 4 kB / 0.7322 GB, free: 15.78 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.0004676/0.8593, allocations: 339.2 kB / 0.7325 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.8593, allocations: 10.44 kB / 0.7326 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.8596, allocations: 21.53 kB / 0.7326 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.8597, allocations: 161.2 kB / 0.7327 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/0.8598, allocations: 37.53 kB / 0.7328 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.8598, allocations: 5.031 kB / 0.7328 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.86, allocations: 44.94 kB / 0.7328 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.86, allocations: 0 / 0.7328 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.86, allocations: 0.8438 kB / 0.7328 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.86, allocations: 4.25 kB / 0.7328 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.251e-05/0.8601, allocations: 24.91 kB / 0.7328 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.8605, allocations: 259.7 kB / 0.7331 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.698e-05/0.8606, allocations: 16.52 kB / 0.7331 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.8606, allocations: 13.61 kB / 0.7331 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.8606, allocations: 1.25 kB / 0.7331 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.8607, allocations: 31.41 kB / 0.7332 GB, free: 14.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.8607, allocations: 0 / 0.7332 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.8608, allocations: 35.67 kB / 0.7332 GB, free: 14.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.8609, allocations: 57.83 kB / 0.7332 GB, free: 14.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.861, allocations: 106.3 kB / 0.7333 GB, free: 14.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.861, allocations: 26.61 kB / 0.7334 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.8611, allocations: 98.12 kB / 0.7335 GB, free: 14.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.8611, allocations: 6.188 kB / 0.7335 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.8611, allocations: 13.12 kB / 0.7335 GB, free: 14.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8613, allocations: 315.2 kB / 0.7338 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.8613, allocations: 5.734 kB / 0.7338 GB, free: 14.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.8613, allocations: 26.33 kB / 0.7338 GB, free: 14.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.8614, allocations: 32.86 kB / 0.7338 GB, free: 14.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8614, allocations: 0 / 0.7338 GB, free: 14.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.053e-05/0.8615, allocations: 52.47 kB / 0.7339 GB, free: 14.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.8615, allocations: 9.75 kB / 0.7339 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8615, allocations: 3.625 kB / 0.7339 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8615, allocations: 2.25 kB / 0.7339 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.8616, allocations: 7.688 kB / 0.7339 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8616, allocations: 5.031 kB / 0.7339 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.8617, allocations: 6.812 kB / 0.7339 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.8617, allocations: 1.438 kB / 0.7339 GB, free: 14.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/0.8618, allocations: 116.1 kB / 0.734 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.8618, allocations: 7.422 kB / 0.734 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.8618, allocations: 4.062 kB / 0.734 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.8618, allocations: 0 / 0.734 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.8618, allocations: 4.531 kB / 0.7341 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.8619, allocations: 1.094 kB / 0.7341 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.8622, allocations: 343.9 kB / 0.7344 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8622, allocations: 0.6562 kB / 0.7344 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.8622, allocations: 1.406 kB / 0.7344 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.8622, allocations: 6.609 kB / 0.7344 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.8622, allocations: 4.031 kB / 0.7344 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.8622, allocations: 0.8125 kB / 0.7344 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8622, allocations: 0 / 0.7344 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.616e-05/0.8623, allocations: 62.56 kB / 0.7345 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.8624, allocations: 78.77 kB / 0.7345 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.8624, allocations: 5.141 kB / 0.7345 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.8625, allocations: 8.266 kB / 0.7345 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.8625, allocations: 5.094 kB / 0.7345 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.8625, allocations: 4.5 kB / 0.7346 GB, free: 13.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.955e-05/0.8626, allocations: 81.47 kB / 0.7346 GB, free: 13.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8626, allocations: 0 / 0.7346 GB, free: 13.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002111/0.8628, allocations: 6.688 kB / 0.7346 GB, free: 13.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 (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.0001227/0.8629, allocations: 95.75 kB / 0.7347 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.121e-05/0.863, allocations: 18.28 kB / 0.7347 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.863, allocations: 4.188 kB / 0.7347 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-06/0.863, allocations: 2.156 kB / 0.7348 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.8633, allocations: 7.734 kB / 0.7348 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.8636, allocations: 112.7 kB / 0.7349 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.8639, allocations: 0.6752 MB / 0.7355 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.004e-05/0.8639, allocations: 11.5 kB / 0.7355 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.8639, allocations: 9 kB / 0.7355 GB, free: 12.37 MB / 0.545 GB Notification: Performance of SimCode: time 3.857e-06/0.864, allocations: 0 / 0.7355 GB, free: 12.37 MB / 0.545 GB Notification: Performance of Templates: time 0.002398/0.8664, allocations: 453 kB / 0.736 GB, free: 12.35 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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)