Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009451/0.009451, allocations: 99.31 kB / 15.73 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.001938/0.001939, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5956/0.5956, allocations: 95.49 MB / 365.4 MB, free: 9.789 MB / 302.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.001459/0.001459, allocations: 71.91 kB / 0.5036 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.144, allocations: 69.08 MB / 0.5711 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.5674/0.7114, allocations: 160.8 MB / 0.7281 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 9.24e-05/0.7116, allocations: 26.7 kB / 0.7281 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.7116, allocations: 0 / 0.7281 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.7118, allocations: 15.92 kB / 0.7281 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.7119, allocations: 7.922 kB / 0.7282 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.7126, allocations: 215.1 kB / 0.7284 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.043e-05/0.7127, allocations: 27.92 kB / 0.7284 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.7128, allocations: 3.984 kB / 0.7284 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.7128, allocations: 11.98 kB / 0.7284 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.7129, allocations: 19.86 kB / 0.7284 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.7129, allocations: 4 kB / 0.7284 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005537/0.7135, allocations: 282.3 kB / 0.7287 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.7135, allocations: 0 / 0.7287 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.7136, allocations: 15.92 kB / 0.7287 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.7138, allocations: 159.3 kB / 0.7289 GB, free: 13.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7139, allocations: 4 kB / 0.7289 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7139, allocations: 0 / 0.7289 GB, free: 13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.7139, allocations: 0 / 0.7289 GB, free: 13 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.0004275/0.7143, allocations: 363.2 kB / 0.7292 GB, free: 12.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.7144, allocations: 15.98 kB / 0.7292 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.7144, allocations: 4 kB / 0.7292 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.7145, allocations: 163 kB / 0.7294 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.7146, allocations: 33.67 kB / 0.7294 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.7146, allocations: 7.938 kB / 0.7294 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.7147, allocations: 45.69 kB / 0.7295 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.7148, allocations: 0 / 0.7295 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.7148, allocations: 0 / 0.7295 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.7148, allocations: 11.94 kB / 0.7295 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.324e-05/0.7149, allocations: 23.92 kB / 0.7295 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.7152, allocations: 272.8 kB / 0.7298 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.7153, allocations: 14.58 kB / 0.7298 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.7153, allocations: 8.922 kB / 0.7298 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.7153, allocations: 0 / 0.7298 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.7153, allocations: 38.5 kB / 0.7298 GB, free: 11.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.7153, allocations: 0 / 0.7298 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.7155, allocations: 37.69 kB / 0.7299 GB, free: 11.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.7155, allocations: 51.41 kB / 0.7299 GB, free: 11.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.7156, allocations: 105.8 kB / 0.73 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.7156, allocations: 29.7 kB / 0.73 GB, free: 11.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.7157, allocations: 88.05 kB / 0.7301 GB, free: 11.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-06/0.7157, allocations: 3.906 kB / 0.7301 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.7157, allocations: 17.84 kB / 0.7301 GB, free: 11.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7158, allocations: 326.8 kB / 0.7305 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.7159, allocations: 0 / 0.7305 GB, free: 11.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.7159, allocations: 30.52 kB / 0.7305 GB, free: 11.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.7159, allocations: 26.56 kB / 0.7305 GB, free: 11.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7159, allocations: 4 kB / 0.7305 GB, free: 11.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.875e-05/0.716, allocations: 57.62 kB / 0.7306 GB, free: 11.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7161, allocations: 8.625 kB / 0.7306 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7161, allocations: 3.938 kB / 0.7306 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.7161, allocations: 0 / 0.7306 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.7161, allocations: 8 kB / 0.7306 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.7162, allocations: 3.938 kB / 0.7306 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.7162, allocations: 0 / 0.7306 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.7162, allocations: 11.92 kB / 0.7306 GB, free: 10.98 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 6.35e-05/0.7163, allocations: 113.9 kB / 0.7307 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.7163, allocations: 3.906 kB / 0.7307 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.7164, allocations: 120.9 kB / 0.7308 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/0.7165, allocations: 184.2 kB / 0.731 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.666e-05/0.7166, allocations: 176.3 kB / 0.7312 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/0.7166, allocations: 192.2 kB / 0.7314 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.7169, allocations: 409.1 kB / 0.7317 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.767e-05/0.7169, allocations: 105 kB / 0.7318 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.717, allocations: 108.9 kB / 0.7319 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.265e-05/0.717, allocations: 176.3 kB / 0.7321 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.7171, allocations: 188.2 kB / 0.7323 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-05/0.7172, allocations: 184.3 kB / 0.7325 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.03e-05/0.7172, allocations: 176.3 kB / 0.7326 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.7174, allocations: 307.9 kB / 0.7329 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.7175, allocations: 186 kB / 0.7331 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.7176, allocations: 188.3 kB / 0.7333 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.7177, allocations: 101.5 kB / 0.7334 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.7178, allocations: 184.2 kB / 0.7336 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.7178, allocations: 105 kB / 0.7337 GB, free: 7.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.7178, allocations: 88.03 kB / 0.7337 GB, free: 7.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7179, allocations: 0 / 0.7337 GB, free: 7.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000286/0.7181, allocations: 47.98 kB / 0.7338 GB, free: 7.492 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 (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.0002598/0.7184, allocations: 226.4 kB / 0.734 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.773e-05/0.7185, allocations: 19.92 kB / 0.734 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7185, allocations: 7.938 kB / 0.734 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.7185, allocations: 0 / 0.734 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.719, allocations: 463.9 kB / 0.7345 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.7193, allocations: 182.8 kB / 0.7347 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.7196, allocations: 0.669 MB / 0.7353 GB, free: 5.879 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.894e-05/0.7196, allocations: 19.86 kB / 0.7353 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.7197, allocations: 7.438 kB / 0.7353 GB, free: 5.855 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.7197, allocations: 0 / 0.7353 GB, free: 5.855 MB / 0.545 GB Notification: Performance of Templates: time 0.003318/0.723, allocations: 1.102 MB / 0.7364 GB, free: 4.801 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)