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.001173/0.001173, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001208/0.001208, allocations: 168.7 kB / 15.95 MB, free: 204 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.896/1.896, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.652/0.652, allocations: 95.63 MB / 366 MB, free: 10.43 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.0006447/0.0006448, allocations: 16.22 kB / 446.9 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4377, allocations: 70.33 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.5799/1.018, allocations: 146 MB / 0.6476 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 6.832e-05/1.018, allocations: 25.11 kB / 0.6476 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/1.018, allocations: 0 / 0.6476 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/1.018, allocations: 2.625 kB / 0.6476 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.116e-05/1.018, allocations: 15.8 kB / 0.6477 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/1.019, allocations: 162.1 kB / 0.6478 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/1.019, allocations: 46.81 kB / 0.6479 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.602e-05/1.019, allocations: 3.547 kB / 0.6479 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/1.019, allocations: 10.44 kB / 0.6479 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/1.02, allocations: 16.98 kB / 0.6479 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/1.02, allocations: 1.188 kB / 0.6479 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008035/1.02, allocations: 226.2 kB / 0.6481 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/1.02, allocations: 9.25 kB / 0.6481 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/1.02, allocations: 28.58 kB / 0.6481 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/1.021, allocations: 104.2 kB / 0.6482 GB, free: 1.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.021, allocations: 2.406 kB / 0.6482 GB, free: 1.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.016e-06/1.021, allocations: 2.531 kB / 0.6482 GB, free: 1.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/1.021, allocations: 0 / 0.6482 GB, free: 1.004 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.000616/1.021, allocations: 357.7 kB / 0.6486 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.022, allocations: 16.86 kB / 0.6486 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/1.022, allocations: 9.5 kB / 0.6486 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/1.022, allocations: 166.3 kB / 0.6488 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.219e-05/1.022, allocations: 27.58 kB / 0.6488 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/1.022, allocations: 1.188 kB / 0.6488 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/1.022, allocations: 50.91 kB / 0.6488 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.022, allocations: 0 / 0.6488 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/1.022, allocations: 0.6562 kB / 0.6489 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/1.022, allocations: 5.844 kB / 0.6489 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/1.022, allocations: 27.97 kB / 0.6489 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/1.023, allocations: 265.2 kB / 0.6491 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/1.023, allocations: 18.92 kB / 0.6492 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/1.023, allocations: 6.422 kB / 0.6492 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/1.023, allocations: 0.8125 kB / 0.6492 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.023, allocations: 42.22 kB / 0.6492 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/1.023, allocations: 0 / 0.6492 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001961/1.023, allocations: 42.62 kB / 0.6492 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/1.023, allocations: 52.22 kB / 0.6493 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.023, allocations: 102.3 kB / 0.6494 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/1.023, allocations: 25.7 kB / 0.6494 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/1.023, allocations: 96.03 kB / 0.6495 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/1.024, allocations: 1.094 kB / 0.6495 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/1.024, allocations: 0 / 0.6495 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.024, allocations: 316.2 kB / 0.6498 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/1.024, allocations: 8.75 kB / 0.6498 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.515e-05/1.024, allocations: 22.64 kB / 0.6498 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/1.024, allocations: 8.469 kB / 0.6498 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.024, allocations: 0.7812 kB / 0.6498 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001568/1.024, allocations: 68.81 kB / 0.6499 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.024, allocations: 5.344 kB / 0.6499 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.024, allocations: 0.6562 kB / 0.6499 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/1.024, allocations: 4.922 kB / 0.6499 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/1.024, allocations: 6.438 kB / 0.6499 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.024, allocations: 4.891 kB / 0.6499 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/1.024, allocations: 0.9688 kB / 0.6499 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/1.024, allocations: 5.109 kB / 0.6499 GB, free: 15.3 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 9.733e-05/1.024, allocations: 114.5 kB / 0.65 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/1.024, allocations: 5.312 kB / 0.6501 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/1.025, allocations: 123 kB / 0.6502 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.891e-05/1.025, allocations: 179.9 kB / 0.6503 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.989e-05/1.025, allocations: 184.5 kB / 0.6505 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.489e-05/1.025, allocations: 179.4 kB / 0.6507 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/1.025, allocations: 409.1 kB / 0.6511 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.844e-05/1.025, allocations: 104.6 kB / 0.6512 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/1.025, allocations: 103.4 kB / 0.6513 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.873e-05/1.025, allocations: 180.2 kB / 0.6514 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.534e-05/1.026, allocations: 180.7 kB / 0.6516 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.968e-05/1.026, allocations: 184.2 kB / 0.6518 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.311e-05/1.026, allocations: 182.4 kB / 0.652 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/1.026, allocations: 314.2 kB / 0.6523 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.026, allocations: 191.5 kB / 0.6525 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.026, allocations: 179.3 kB / 0.6526 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/1.026, allocations: 110.5 kB / 0.6527 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.027, allocations: 182.1 kB / 0.6529 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/1.027, allocations: 106.1 kB / 0.653 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.534e-05/1.027, allocations: 87.95 kB / 0.6531 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.027, allocations: 0 / 0.6531 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005669/1.027, allocations: 50.69 kB / 0.6531 GB, free: 11.95 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.0004105/1.028, allocations: 229.2 kB / 0.6534 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000118/1.028, allocations: 14.73 kB / 0.6534 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.028, allocations: 0 / 0.6534 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.64e-06/1.028, allocations: 5.938 kB / 0.6534 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/1.029, allocations: 0.5255 MB / 0.6539 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/1.029, allocations: 187.1 kB / 0.6541 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/1.029, allocations: 0.6729 MB / 0.6547 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.729e-05/1.029, allocations: 14.77 kB / 0.6547 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/1.029, allocations: 9.281 kB / 0.6547 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/1.029, allocations: 0 / 0.6547 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.005374/1.035, allocations: 1.035 MB / 0.6558 GB, free: 10.27 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: