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.001073/0.001073, 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.01054/0.01054, allocations: 170 kB / 16.26 MB, free: 6.613 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.736/1.736, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.5889/0.5889, allocations: 95.63 MB / 366.4 MB, free: 10.23 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.0006226/0.0006224, allocations: 20.56 kB / 447.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3882, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.5234/0.9116, allocations: 156.7 MB / 0.6587 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 7.961e-05/0.9118, allocations: 24.25 kB / 0.6587 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.9118, allocations: 0 / 0.6587 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.9119, allocations: 0.5938 kB / 0.6587 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.9121, allocations: 13.52 kB / 0.6587 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.9134, allocations: 188.6 kB / 0.6589 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.9137, allocations: 58.23 kB / 0.6589 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.9137, allocations: 1.25 kB / 0.6589 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.9138, allocations: 12.19 kB / 0.6589 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.9139, allocations: 15.38 kB / 0.659 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.914, allocations: 2.531 kB / 0.659 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009545/0.9149, allocations: 274.5 kB / 0.6592 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.915, allocations: 5.359 kB / 0.6592 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.9151, allocations: 40.33 kB / 0.6593 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.9156, allocations: 167.8 kB / 0.6594 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9156, allocations: 0 / 0.6594 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9156, allocations: 7.25 kB / 0.6594 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.9156, allocations: 0 / 0.6594 GB, free: 12.54 MB / 0.4981 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.0006666/0.9163, allocations: 356.9 kB / 0.6598 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.9164, allocations: 13.7 kB / 0.6598 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.9164, allocations: 3.188 kB / 0.6598 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.9166, allocations: 169.1 kB / 0.6599 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/0.9167, allocations: 25.7 kB / 0.66 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.9168, allocations: 10.75 kB / 0.66 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.917, allocations: 51.33 kB / 0.66 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.917, allocations: 0 / 0.66 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.917, allocations: 0 / 0.66 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.9171, allocations: 3.281 kB / 0.66 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.9172, allocations: 23.38 kB / 0.6601 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.9178, allocations: 254.5 kB / 0.6603 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.37e-05/0.9179, allocations: 30.83 kB / 0.6603 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.9179, allocations: 7.203 kB / 0.6603 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.918, allocations: 0 / 0.6603 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.918, allocations: 30.56 kB / 0.6604 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.365e-06/0.918, allocations: 2.938 kB / 0.6604 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002105/0.9182, allocations: 44.14 kB / 0.6604 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.9183, allocations: 51.41 kB / 0.6605 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.9184, allocations: 109.8 kB / 0.6606 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.9184, allocations: 25.7 kB / 0.6606 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.9185, allocations: 93.58 kB / 0.6607 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.9185, allocations: 0 / 0.6607 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.9186, allocations: 9.719 kB / 0.6607 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9187, allocations: 318.5 kB / 0.661 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.9188, allocations: 5.859 kB / 0.661 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.204e-05/0.9188, allocations: 31.06 kB / 0.661 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.825e-05/0.9189, allocations: 30.3 kB / 0.6611 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9189, allocations: 0 / 0.6611 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.919, allocations: 64.52 kB / 0.6611 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.9191, allocations: 3.344 kB / 0.6611 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.9191, allocations: 3.5 kB / 0.6611 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9191, allocations: 4 kB / 0.6611 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.9192, allocations: 8.922 kB / 0.6611 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9192, allocations: 1.969 kB / 0.6611 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.9192, allocations: 3.375 kB / 0.6611 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.9192, allocations: 7.406 kB / 0.6611 GB, free: 10.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.9193, allocations: 107.8 kB / 0.6613 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.9194, allocations: 2.5 kB / 0.6613 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.9195, allocations: 129.8 kB / 0.6614 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.458e-05/0.9196, allocations: 180.2 kB / 0.6615 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.459e-05/0.9197, allocations: 183 kB / 0.6617 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001803/0.9199, allocations: 182.3 kB / 0.6619 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.9203, allocations: 406.9 kB / 0.6623 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.917e-05/0.9204, allocations: 109 kB / 0.6624 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.9204, allocations: 110 kB / 0.6625 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.9206, allocations: 180.2 kB / 0.6627 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/0.9208, allocations: 176.3 kB / 0.6628 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000107/0.921, allocations: 186.1 kB / 0.663 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.666e-05/0.921, allocations: 176.3 kB / 0.6632 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.9214, allocations: 323 kB / 0.6635 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.9215, allocations: 180.7 kB / 0.6637 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.9216, allocations: 189.2 kB / 0.6638 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.9218, allocations: 103 kB / 0.6639 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.9221, allocations: 180.3 kB / 0.6641 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.9221, allocations: 108.3 kB / 0.6642 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.617e-05/0.9222, allocations: 91.58 kB / 0.6643 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9222, allocations: 0 / 0.6643 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004524/0.9227, allocations: 45.14 kB / 0.6643 GB, free: 7.402 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 (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.0003498/0.923, allocations: 228.3 kB / 0.6646 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.942e-05/0.9231, allocations: 21 kB / 0.6646 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9231, allocations: 0 / 0.6646 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.9232, allocations: 2.438 kB / 0.6646 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.9238, allocations: 0.5266 MB / 0.6651 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.9241, allocations: 194.3 kB / 0.6653 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.9246, allocations: 0.6747 MB / 0.6659 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.123e-05/0.9247, allocations: 8.906 kB / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.9247, allocations: 7.438 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.9247, allocations: 0 / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of Templates: time 0.005351/0.9301, allocations: 1.096 MB / 0.667 GB, free: 5.699 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: