Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001369/0.001369, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 222.1 MB, free: 5.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.5575/0.5575, allocations: 95.58 MB / 366 MB, free: 10.36 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.0005265/0.0005267, allocations: 12 kB / 446.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3082, allocations: 70.35 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.4326/0.7408, allocations: 132.1 MB / 0.634 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004774/0.7413, allocations: 431.6 kB / 0.6344 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.7414, allocations: 0 / 0.6344 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.7415, allocations: 2.719 kB / 0.6344 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.7416, allocations: 13.17 kB / 0.6344 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.7422, allocations: 164.9 kB / 0.6345 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.7423, allocations: 21.78 kB / 0.6346 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.7423, allocations: 1.75 kB / 0.6346 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.7424, allocations: 15.28 kB / 0.6346 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.7424, allocations: 6.812 kB / 0.6346 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.7424, allocations: 1.875 kB / 0.6346 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005965/0.743, allocations: 251 kB / 0.6348 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.7431, allocations: 5.969 kB / 0.6348 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.7431, allocations: 34.61 kB / 0.6349 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.7433, allocations: 101.5 kB / 0.635 GB, free: 1.887 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.7434, allocations: 4 kB / 0.635 GB, free: 1.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7434, allocations: 1.516 kB / 0.635 GB, free: 1.883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.7434, allocations: 0 / 0.635 GB, free: 1.883 MB / 494.1 MB 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.0004752/0.7439, allocations: 360.1 kB / 0.6353 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.7439, allocations: 13.92 kB / 0.6353 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.7439, allocations: 5.141 kB / 0.6353 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.7441, allocations: 162.7 kB / 0.6355 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.7441, allocations: 32.42 kB / 0.6355 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.7441, allocations: 5.094 kB / 0.6355 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.7443, allocations: 46.05 kB / 0.6356 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7443, allocations: 3 kB / 0.6356 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.7443, allocations: 1.453 kB / 0.6356 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.7443, allocations: 7.047 kB / 0.6356 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.7444, allocations: 20.64 kB / 0.6356 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.745, allocations: 358.3 kB / 0.6359 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.528e-05/0.745, allocations: 20.56 kB / 0.636 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.745, allocations: 2.062 kB / 0.636 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.7451, allocations: 34.17 kB / 0.636 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7451, allocations: 0 / 0.636 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.7452, allocations: 43.45 kB / 0.636 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.7453, allocations: 58.62 kB / 0.6361 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.7454, allocations: 100.9 kB / 0.6362 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.7454, allocations: 30.77 kB / 0.6362 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.7455, allocations: 90.48 kB / 0.6363 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.7455, allocations: 1.891 kB / 0.6363 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.7455, allocations: 3.812 kB / 0.6363 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7456, allocations: 314 kB / 0.6366 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.7456, allocations: 4.375 kB / 0.6366 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.7456, allocations: 28.81 kB / 0.6366 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.7457, allocations: 4.75 kB / 0.6366 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.7457, allocations: 0 / 0.6366 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.771e-05/0.7458, allocations: 61.98 kB / 0.6367 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7458, allocations: 5.656 kB / 0.6367 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7458, allocations: 4.906 kB / 0.6367 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.7458, allocations: 0.875 kB / 0.6367 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.7459, allocations: 20.14 kB / 0.6367 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.7459, allocations: 0.75 kB / 0.6367 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.7459, allocations: 2.562 kB / 0.6367 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.746, allocations: 2.562 kB / 0.6367 GB, free: 16.1 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/0.7461, allocations: 109.2 kB / 0.6368 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.7461, allocations: 1.641 kB / 0.6368 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.7462, allocations: 128.4 kB / 0.637 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.808e-05/0.7463, allocations: 180.1 kB / 0.6371 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.64e-05/0.7464, allocations: 183.6 kB / 0.6373 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.872e-05/0.7465, allocations: 185.8 kB / 0.6375 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.7467, allocations: 400.7 kB / 0.6379 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.584e-05/0.7467, allocations: 110.2 kB / 0.638 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.7468, allocations: 110.5 kB / 0.6381 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.431e-05/0.7468, allocations: 181 kB / 0.6383 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.7469, allocations: 183.2 kB / 0.6384 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.34e-05/0.747, allocations: 181.2 kB / 0.6386 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.106e-05/0.7471, allocations: 180.8 kB / 0.6388 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.7472, allocations: 316.8 kB / 0.6391 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.7473, allocations: 185.1 kB / 0.6393 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.7474, allocations: 185.7 kB / 0.6394 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.7475, allocations: 105.1 kB / 0.6395 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.7476, allocations: 181.7 kB / 0.6397 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.7476, allocations: 106.1 kB / 0.6398 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.7477, allocations: 88.09 kB / 0.6399 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7477, allocations: 0 / 0.6399 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003211/0.748, allocations: 53.53 kB / 0.6399 GB, free: 12.75 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.7483, allocations: 220 kB / 0.6401 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.611e-05/0.7483, allocations: 16.78 kB / 0.6402 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7483, allocations: 5.094 kB / 0.6402 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.7484, allocations: 3.75 kB / 0.6402 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.7487, allocations: 0.5184 MB / 0.6407 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.749, allocations: 189.3 kB / 0.6409 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.7492, allocations: 0.6779 MB / 0.6415 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.7493, allocations: 10.31 kB / 0.6415 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.7493, allocations: 9 kB / 0.6415 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.7493, allocations: 0.7188 kB / 0.6415 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.003616/0.753, allocations: 1.037 MB / 0.6426 GB, free: 11.08 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: