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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.000848, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007762/0.007762, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 12.75 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4092, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1797/0.5889, allocations: 143.7 MB / 1.214 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.5891, allocations: 59.73 kB / 1.215 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.5891, allocations: 0 / 1.215 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.5893, allocations: 3.984 kB / 1.215 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.5894, allocations: 11.92 kB / 1.215 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.5898, allocations: 95.73 kB / 1.215 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.5899, allocations: 59.81 kB / 1.215 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.59, allocations: 3.984 kB / 1.215 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.59, allocations: 12 kB / 1.215 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.165e-05/0.5901, allocations: 19.91 kB / 1.215 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.5901, allocations: 0 / 1.215 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.5904, allocations: 83.72 kB / 1.215 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.5905, allocations: 7.984 kB / 1.215 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.5905, allocations: 37.64 kB / 1.215 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.5907, allocations: 72.17 kB / 1.215 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5907, allocations: 4 kB / 1.215 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5907, allocations: 0 / 1.215 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.5907, allocations: 0 / 1.215 GB, free: 6.777 MB / 0.9669 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.0004018/0.5911, allocations: 331.5 kB / 1.215 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5912, allocations: 8.031 kB / 1.215 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.5914, allocations: 24.77 kB / 1.215 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.5915, allocations: 160.4 kB / 1.215 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.5916, allocations: 45.58 kB / 1.215 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.5916, allocations: 0 / 1.215 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5918, allocations: 45.67 kB / 1.216 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.5918, allocations: 0 / 1.216 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.5918, allocations: 4 kB / 1.216 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.5918, allocations: 0 / 1.216 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.5919, allocations: 19.98 kB / 1.216 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.5923, allocations: 264.8 kB / 1.216 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.173e-05/0.5924, allocations: 22.58 kB / 1.216 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.5924, allocations: 4.859 kB / 1.216 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.5924, allocations: 3.984 kB / 1.216 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.5924, allocations: 30.56 kB / 1.216 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5924, allocations: 0 / 1.216 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.5926, allocations: 41.7 kB / 1.216 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.5926, allocations: 55.34 kB / 1.216 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.5927, allocations: 105.8 kB / 1.216 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.5927, allocations: 29.7 kB / 1.216 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.5928, allocations: 91.94 kB / 1.216 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.5928, allocations: 4 kB / 1.216 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.5928, allocations: 9.719 kB / 1.216 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5929, allocations: 314.8 kB / 1.216 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.593, allocations: 8.125 kB / 1.216 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.593, allocations: 22.56 kB / 1.217 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.5931, allocations: 30.52 kB / 1.217 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5931, allocations: 0 / 1.217 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.194e-05/0.5932, allocations: 57.69 kB / 1.217 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5932, allocations: 9.094 kB / 1.217 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5932, allocations: 0 / 1.217 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5932, allocations: 0 / 1.217 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.5933, allocations: 12 kB / 1.217 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5933, allocations: 3.938 kB / 1.217 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.5933, allocations: 3.906 kB / 1.217 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.5933, allocations: 4 kB / 1.217 GB, free: 4.801 MB / 0.9669 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.861e-05/0.5934, allocations: 113.8 kB / 1.217 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.5935, allocations: 11.97 kB / 1.217 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.5935, allocations: 7.062 kB / 1.217 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5935, allocations: 0 / 1.217 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5935, allocations: 3.938 kB / 1.217 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.5935, allocations: 3.938 kB / 1.217 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.5938, allocations: 346.8 kB / 1.217 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5938, allocations: 0 / 1.217 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.5938, allocations: 4.25 kB / 1.217 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5938, allocations: 3.938 kB / 1.217 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.5938, allocations: 8.031 kB / 1.217 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5938, allocations: 0 / 1.217 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5938, allocations: 0 / 1.217 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.828e-05/0.5939, allocations: 57.08 kB / 1.217 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.594, allocations: 92.94 kB / 1.217 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.594, allocations: 0 / 1.217 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.5941, allocations: 4 kB / 1.217 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.5941, allocations: 4.031 kB / 1.217 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.5941, allocations: 0 / 1.217 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.5942, allocations: 87.27 kB / 1.217 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5942, allocations: 0 / 1.217 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001902/0.5944, allocations: 4 kB / 1.217 GB, free: 3.957 MB / 0.9669 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.0001032/0.5945, allocations: 103.2 kB / 1.217 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.589e-05/0.5945, allocations: 11.94 kB / 1.217 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5946, allocations: 4.188 kB / 1.217 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-06/0.5946, allocations: 0 / 1.217 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.5948, allocations: 11.98 kB / 1.217 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.5951, allocations: 120.5 kB / 1.218 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.5953, allocations: 0.6731 MB / 1.218 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.637e-05/0.5954, allocations: 15.91 kB / 1.218 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.5954, allocations: 11.44 kB / 1.218 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.5954, allocations: 0 / 1.218 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of Templates: time 0.002397/0.5978, allocations: 486.5 kB / 1.219 GB, free: 2.48 MB / 0.9669 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)