Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008433/0.008434, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001494/0.001494, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4844/0.4844, allocations: 95.48 MB / 365.4 MB, free: 12.15 MB / 318.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 76.27 kB / 0.5036 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4687, allocations: 69.09 MB / 0.5711 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.1951/0.6639, allocations: 160.8 MB / 0.7281 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.6642, allocations: 143.5 kB / 0.7283 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.6643, allocations: 0 / 0.7283 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.6644, allocations: 3.938 kB / 0.7283 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.236e-05/0.6645, allocations: 23.91 kB / 0.7283 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.6654, allocations: 207.1 kB / 0.7285 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.6655, allocations: 27.91 kB / 0.7285 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.6655, allocations: 4 kB / 0.7285 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.6656, allocations: 16 kB / 0.7285 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.6657, allocations: 19.84 kB / 0.7285 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.6657, allocations: 0 / 0.7285 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006176/0.6663, allocations: 275.4 kB / 0.7288 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.6664, allocations: 0 / 0.7288 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.6664, allocations: 8 kB / 0.7288 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.6667, allocations: 165.5 kB / 0.729 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6667, allocations: 0 / 0.729 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6667, allocations: 3.938 kB / 0.729 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.6667, allocations: 0 / 0.729 GB, free: 1.828 MB / 0.5762 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.0005529/0.6673, allocations: 363.3 kB / 0.7293 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6673, allocations: 11.98 kB / 0.7293 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.6674, allocations: 4 kB / 0.7293 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.6675, allocations: 163.1 kB / 0.7295 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/0.6676, allocations: 25.7 kB / 0.7295 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.6676, allocations: 7.938 kB / 0.7295 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.6678, allocations: 49.67 kB / 0.7296 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6678, allocations: 7.938 kB / 0.7296 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.6678, allocations: 0 / 0.7296 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.6679, allocations: 4 kB / 0.7296 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.668, allocations: 27.92 kB / 0.7296 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.6688, allocations: 357.8 kB / 0.73 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.6689, allocations: 18.58 kB / 0.73 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.6689, allocations: 8.859 kB / 0.73 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.6689, allocations: 4.062 kB / 0.73 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/0.669, allocations: 30.56 kB / 0.73 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.669, allocations: 0 / 0.73 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002122/0.6692, allocations: 41.62 kB / 0.7301 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.6693, allocations: 51.41 kB / 0.7301 GB, free: 480 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.6695, allocations: 105.8 kB / 0.7302 GB, free: 364 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.6695, allocations: 29.83 kB / 0.7302 GB, free: 328 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.6696, allocations: 88.05 kB / 0.7303 GB, free: 236 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.6696, allocations: 3.906 kB / 0.7303 GB, free: 232 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.6697, allocations: 13.72 kB / 0.7303 GB, free: 212 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002569/0.6699, allocations: 326.8 kB / 0.7306 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.67, allocations: 4 kB / 0.7306 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.038e-05/0.67, allocations: 18.58 kB / 0.7307 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.6701, allocations: 38.5 kB / 0.7307 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6701, allocations: 0 / 0.7307 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001059/0.6702, allocations: 53.62 kB / 0.7308 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6702, allocations: 8 kB / 0.7308 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6703, allocations: 0 / 0.7308 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.6703, allocations: 96 / 0.7308 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.6704, allocations: 20 kB / 0.7308 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.6704, allocations: 3.938 kB / 0.7308 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.6704, allocations: 3.938 kB / 0.7308 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.6704, allocations: 4 kB / 0.7308 GB, free: 15.7 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.0001254/0.6706, allocations: 113.8 kB / 0.7309 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.6706, allocations: 3.906 kB / 0.7309 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.6708, allocations: 128.9 kB / 0.731 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001377/0.671, allocations: 188.1 kB / 0.7312 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001212/0.6711, allocations: 176.3 kB / 0.7314 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001655/0.6713, allocations: 184.2 kB / 0.7315 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.6717, allocations: 409.1 kB / 0.7319 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.348e-05/0.6717, allocations: 105 kB / 0.732 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.415e-05/0.6718, allocations: 108.9 kB / 0.7321 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.6719, allocations: 176.3 kB / 0.7323 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.6721, allocations: 184.5 kB / 0.7325 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001207/0.6722, allocations: 184.3 kB / 0.7327 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001425/0.6723, allocations: 180.2 kB / 0.7328 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.6727, allocations: 307.7 kB / 0.7331 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.6728, allocations: 194 kB / 0.7333 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.673, allocations: 180.3 kB / 0.7335 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.6732, allocations: 101 kB / 0.7336 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.6733, allocations: 188.2 kB / 0.7338 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/0.6734, allocations: 112.9 kB / 0.7339 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.799e-05/0.6735, allocations: 83.28 kB / 0.7339 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6735, allocations: 0 / 0.7339 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003915/0.6739, allocations: 43.98 kB / 0.734 GB, free: 12.21 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 (0): * Single equations (assignments): 0 * 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.0005633/0.6745, allocations: 236.5 kB / 0.7342 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.6746, allocations: 19.94 kB / 0.7342 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6746, allocations: 0 / 0.7342 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.509e-06/0.6746, allocations: 4 kB / 0.7342 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.6752, allocations: 459.7 kB / 0.7347 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.6757, allocations: 174.2 kB / 0.7348 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.6763, allocations: 0.6768 MB / 0.7355 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.276e-05/0.6763, allocations: 12.11 kB / 0.7355 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.6764, allocations: 11.44 kB / 0.7355 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6764, allocations: 0 / 0.7355 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.004454/0.6808, allocations: 1.132 MB / 0.7366 GB, free: 9.48 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)