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.1747/0.1768, allocations: 80.84 MB / 0.6706 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.8072/0.9841, allocations: 147.8 MB / 0.815 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.9843, allocations: 46.14 kB / 0.815 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.9844, allocations: 0 / 0.815 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.9846, allocations: 7.578 kB / 0.815 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.9848, allocations: 11.95 kB / 0.815 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.9853, allocations: 95.06 kB / 0.8151 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.9854, allocations: 37.44 kB / 0.8152 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.9855, allocations: 3.641 kB / 0.8152 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.9856, allocations: 12.62 kB / 0.8152 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.9856, allocations: 7.828 kB / 0.8152 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.9857, allocations: 0 / 0.8152 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.9859, allocations: 88.31 kB / 0.8153 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.986, allocations: 5.891 kB / 0.8153 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.986, allocations: 12.64 kB / 0.8153 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.9863, allocations: 68.48 kB / 0.8154 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9863, allocations: 0 / 0.8154 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9863, allocations: 1.625 kB / 0.8154 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.9863, allocations: 4 kB / 0.8154 GB, free: 9.289 MB / 0.5919 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.0005297/0.9868, allocations: 336 kB / 0.8157 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.9869, allocations: 15.42 kB / 0.8157 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.9871, allocations: 17.3 kB / 0.8157 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.9873, allocations: 160.6 kB / 0.8159 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.9874, allocations: 31.83 kB / 0.8159 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.9874, allocations: 17.16 kB / 0.8159 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.9875, allocations: 40.06 kB / 0.8159 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.9876, allocations: 0 / 0.8159 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.9876, allocations: 2.156 kB / 0.8159 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.9876, allocations: 5 kB / 0.816 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.892e-05/0.9877, allocations: 19.34 kB / 0.816 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.9881, allocations: 268.8 kB / 0.8162 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.836e-05/0.9882, allocations: 14.58 kB / 0.8162 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.9882, allocations: 9.781 kB / 0.8163 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.9882, allocations: 1.969 kB / 0.8163 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.9883, allocations: 32.94 kB / 0.8163 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.9883, allocations: 0 / 0.8163 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001941/0.9885, allocations: 37.83 kB / 0.8163 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.9885, allocations: 55.41 kB / 0.8164 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.9886, allocations: 109.4 kB / 0.8165 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.9887, allocations: 25.7 kB / 0.8165 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.9887, allocations: 90.98 kB / 0.8166 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/0.9887, allocations: 7.156 kB / 0.8166 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.9888, allocations: 14.95 kB / 0.8166 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9889, allocations: 314.3 kB / 0.8169 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.9889, allocations: 9.453 kB / 0.8169 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.989, allocations: 25.77 kB / 0.8169 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.222e-05/0.989, allocations: 29.08 kB / 0.817 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9891, allocations: 1.219 kB / 0.817 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.486e-05/0.9892, allocations: 54.91 kB / 0.817 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.9892, allocations: 8.094 kB / 0.817 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9892, allocations: 0 / 0.817 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9892, allocations: 1.562 kB / 0.817 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.9893, allocations: 5.469 kB / 0.817 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.9893, allocations: 9.562 kB / 0.817 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.9894, allocations: 4.703 kB / 0.8171 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.9894, allocations: 1.406 kB / 0.8171 GB, free: 7.555 MB / 0.5919 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.0001094/0.9895, allocations: 116.2 kB / 0.8172 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.9895, allocations: 9.281 kB / 0.8172 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.9895, allocations: 3.125 kB / 0.8172 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.9896, allocations: 1.344 kB / 0.8172 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.9896, allocations: 7.125 kB / 0.8172 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.9896, allocations: 0 / 0.8172 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.9899, allocations: 339.7 kB / 0.8175 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9899, allocations: 0 / 0.8175 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.9899, allocations: 5.781 kB / 0.8175 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.9899, allocations: 3.938 kB / 0.8175 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.9899, allocations: 4.031 kB / 0.8175 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9899, allocations: 1.562 kB / 0.8175 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9899, allocations: 1.828 kB / 0.8175 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.049e-05/0.99, allocations: 65.95 kB / 0.8176 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.9901, allocations: 77.39 kB / 0.8177 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.9901, allocations: 10.03 kB / 0.8177 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.9902, allocations: 4.359 kB / 0.8177 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.9902, allocations: 8.016 kB / 0.8177 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-06/0.9902, allocations: 0 / 0.8177 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.872e-05/0.9903, allocations: 81.31 kB / 0.8178 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.9903, allocations: 0 / 0.8178 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002116/0.9905, allocations: 5.531 kB / 0.8178 GB, free: 6.785 MB / 0.5919 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.000121/0.9906, allocations: 108 kB / 0.8179 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.9907, allocations: 16.98 kB / 0.8179 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9907, allocations: 4.062 kB / 0.8179 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-06/0.9908, allocations: 1.125 kB / 0.8179 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.9911, allocations: 6.969 kB / 0.8179 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.9914, allocations: 113.3 kB / 0.818 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.9917, allocations: 0.6754 MB / 0.8187 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.083e-05/0.9918, allocations: 9.328 kB / 0.8187 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.9918, allocations: 9.125 kB / 0.8187 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.9918, allocations: 0 / 0.8187 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of Templates: time 0.002959/0.9948, allocations: 468.1 kB / 0.8191 GB, free: 5.812 MB / 0.5919 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)