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.202/0.2027, allocations: 82.22 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5557/0.7585, allocations: 143.7 MB / 0.7344 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.7586, allocations: 52.48 kB / 0.7345 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.7587, allocations: 0 / 0.7345 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.7588, allocations: 0.9375 kB / 0.7345 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.7589, allocations: 17.17 kB / 0.7345 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.7594, allocations: 83.61 kB / 0.7346 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.7595, allocations: 56 kB / 0.7346 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.7595, allocations: 1.406 kB / 0.7346 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.7596, allocations: 15.25 kB / 0.7346 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.7597, allocations: 14.09 kB / 0.7347 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.7597, allocations: 5.844 kB / 0.7347 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.76, allocations: 82.45 kB / 0.7347 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.76, allocations: 6.531 kB / 0.7348 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.7601, allocations: 32.5 kB / 0.7348 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.7603, allocations: 70.45 kB / 0.7349 GB, free: 15.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7603, allocations: 0 / 0.7349 GB, free: 15.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.846e-06/0.7603, allocations: 0 / 0.7349 GB, free: 15.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7603, allocations: 1.859 kB / 0.7349 GB, free: 15.34 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.000505/0.7608, allocations: 333.1 kB / 0.7352 GB, free: 14.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.7609, allocations: 12.97 kB / 0.7352 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.7611, allocations: 26.19 kB / 0.7352 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.7613, allocations: 163.7 kB / 0.7354 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.7614, allocations: 38.25 kB / 0.7354 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.7614, allocations: 1.125 kB / 0.7354 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.7616, allocations: 50.94 kB / 0.7355 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7616, allocations: 0 / 0.7355 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.7616, allocations: 4.688 kB / 0.7355 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.7616, allocations: 2.219 kB / 0.7355 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.059e-05/0.7617, allocations: 19.14 kB / 0.7355 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.7621, allocations: 252.9 kB / 0.7357 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.7622, allocations: 20.61 kB / 0.7357 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.7622, allocations: 15.39 kB / 0.7358 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.7622, allocations: 3.891 kB / 0.7358 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.7622, allocations: 30.56 kB / 0.7358 GB, free: 14.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.7622, allocations: 0.5 kB / 0.7358 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000148/0.7624, allocations: 31.67 kB / 0.7358 GB, free: 14.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.7624, allocations: 51.41 kB / 0.7359 GB, free: 14.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.7625, allocations: 108.5 kB / 0.736 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.7626, allocations: 30.67 kB / 0.736 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.7626, allocations: 96.64 kB / 0.7361 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-06/0.7627, allocations: 0.875 kB / 0.7361 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.7627, allocations: 15.22 kB / 0.7361 GB, free: 14.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7628, allocations: 314.1 kB / 0.7364 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.7628, allocations: 6.625 kB / 0.7364 GB, free: 13.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.7629, allocations: 22.61 kB / 0.7364 GB, free: 13.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.7629, allocations: 30.02 kB / 0.7365 GB, free: 13.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7629, allocations: 2.016 kB / 0.7365 GB, free: 13.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.451e-05/0.763, allocations: 54.23 kB / 0.7365 GB, free: 13.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.7631, allocations: 9.625 kB / 0.7365 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7631, allocations: 0 / 0.7365 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.7631, allocations: 1.5 kB / 0.7365 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.7632, allocations: 15.58 kB / 0.7365 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.7632, allocations: 4.938 kB / 0.7365 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.7632, allocations: 6.375 kB / 0.7365 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.7632, allocations: 0.8438 kB / 0.7366 GB, free: 13.6 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 7.581e-05/0.7633, allocations: 109.1 kB / 0.7367 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.7633, allocations: 2.688 kB / 0.7367 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.7634, allocations: 9.188 kB / 0.7367 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.7634, allocations: 0 / 0.7367 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7634, allocations: 4.656 kB / 0.7367 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.7634, allocations: 4.812 kB / 0.7367 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.7637, allocations: 342 kB / 0.737 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7637, allocations: 4.688 kB / 0.737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.535e-05/0.7637, allocations: 6.906 kB / 0.737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.7637, allocations: 3.938 kB / 0.737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.7637, allocations: 0 / 0.737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.7637, allocations: 1.938 kB / 0.737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7638, allocations: 0 / 0.737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.427e-05/0.7638, allocations: 61.53 kB / 0.7371 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.7639, allocations: 78.39 kB / 0.7372 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.7639, allocations: 5.125 kB / 0.7372 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.764, allocations: 9.922 kB / 0.7372 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.764, allocations: 3.938 kB / 0.7372 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.764, allocations: 1.125 kB / 0.7372 GB, free: 12.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.359e-05/0.7641, allocations: 85.73 kB / 0.7373 GB, free: 12.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7641, allocations: 4.031 kB / 0.7373 GB, free: 12.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001855/0.7643, allocations: 5.156 kB / 0.7373 GB, free: 12.84 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.0001134/0.7644, allocations: 95.41 kB / 0.7374 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.535e-05/0.7645, allocations: 11.97 kB / 0.7374 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7645, allocations: 0 / 0.7374 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.385e-06/0.7645, allocations: 6.188 kB / 0.7374 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.7648, allocations: 10.55 kB / 0.7374 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.7651, allocations: 120.3 kB / 0.7375 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.7653, allocations: 0.6751 MB / 0.7382 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.359e-05/0.7654, allocations: 5.938 kB / 0.7382 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.7654, allocations: 9.25 kB / 0.7382 GB, free: 11.93 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.7654, allocations: 4 kB / 0.7382 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Templates: time 0.002648/0.7681, allocations: 442.6 kB / 0.7386 GB, free: 11.91 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: