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.001235/0.001234, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001194/0.001194, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.618/1.618, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.6022/0.6022, allocations: 95.47 MB / 364.9 MB, free: 10.09 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.001468/0.001468, allocations: 75.91 kB / 444.9 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.416, allocations: 69.06 MB / 0.5019 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.6208/1.037, allocations: 158.6 MB / 0.6568 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001824/1.037, allocations: 148 kB / 0.6569 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/1.037, allocations: 0 / 0.6569 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/1.037, allocations: 0 / 0.6569 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.227e-05/1.037, allocations: 11.92 kB / 0.6569 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009153/1.038, allocations: 195.4 kB / 0.6571 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.313e-05/1.038, allocations: 27.38 kB / 0.6571 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/1.038, allocations: 5.562 kB / 0.6572 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/1.039, allocations: 23.45 kB / 0.6572 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/1.039, allocations: 13.48 kB / 0.6572 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/1.039, allocations: 3.938 kB / 0.6572 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006569/1.039, allocations: 266.5 kB / 0.6574 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/1.039, allocations: 5.875 kB / 0.6575 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/1.039, allocations: 9.891 kB / 0.6575 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/1.04, allocations: 165.4 kB / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.04, allocations: 0 / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/1.04, allocations: 1.094 kB / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.59e-06/1.04, allocations: 0 / 0.6576 GB, free: 12.25 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.0005229/1.04, allocations: 367.6 kB / 0.658 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.04, allocations: 14.55 kB / 0.658 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/1.041, allocations: 0 / 0.658 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/1.041, allocations: 164.8 kB / 0.6581 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/1.041, allocations: 25.7 kB / 0.6582 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/1.041, allocations: 4.625 kB / 0.6582 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/1.041, allocations: 50.97 kB / 0.6582 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/1.041, allocations: 1.594 kB / 0.6582 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/1.041, allocations: 4.531 kB / 0.6582 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/1.041, allocations: 4.062 kB / 0.6582 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/1.041, allocations: 21.28 kB / 0.6583 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/1.042, allocations: 356 kB / 0.6586 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/1.042, allocations: 16.36 kB / 0.6586 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/1.042, allocations: 9.922 kB / 0.6586 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/1.042, allocations: 6.094 kB / 0.6586 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/1.042, allocations: 35.09 kB / 0.6587 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.304e-06/1.042, allocations: 0 / 0.6587 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001815/1.042, allocations: 39.69 kB / 0.6587 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/1.042, allocations: 51.94 kB / 0.6587 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/1.042, allocations: 110.6 kB / 0.6588 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.042, allocations: 30.45 kB / 0.6589 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/1.042, allocations: 87.92 kB / 0.659 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/1.043, allocations: 8.031 kB / 0.659 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/1.043, allocations: 16.8 kB / 0.659 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.043, allocations: 318.9 kB / 0.6593 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/1.043, allocations: 9.797 kB / 0.6593 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/1.043, allocations: 22.67 kB / 0.6593 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.866e-05/1.043, allocations: 33.5 kB / 0.6594 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.043, allocations: 1.203 kB / 0.6594 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/1.043, allocations: 54.94 kB / 0.6594 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/1.043, allocations: 5.5 kB / 0.6594 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.043, allocations: 1.094 kB / 0.6594 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/1.043, allocations: 1.125 kB / 0.6594 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/1.043, allocations: 14.12 kB / 0.6594 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.043, allocations: 7.594 kB / 0.6594 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/1.043, allocations: 1.531 kB / 0.6594 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/1.043, allocations: 6.562 kB / 0.6594 GB, free: 10.4 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.0001298/1.044, allocations: 112.4 kB / 0.6595 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/1.044, allocations: 1 kB / 0.6595 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/1.044, allocations: 128.4 kB / 0.6597 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.901e-05/1.044, allocations: 180.2 kB / 0.6598 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001217/1.044, allocations: 179.4 kB / 0.66 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001153/1.044, allocations: 181.3 kB / 0.6602 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/1.045, allocations: 409.4 kB / 0.6606 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-05/1.045, allocations: 105.6 kB / 0.6607 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.058e-05/1.045, allocations: 107 kB / 0.6608 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/1.045, allocations: 181.3 kB / 0.661 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/1.045, allocations: 183.3 kB / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001178/1.045, allocations: 180.4 kB / 0.6613 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001526/1.045, allocations: 181.2 kB / 0.6615 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/1.045, allocations: 315.3 kB / 0.6618 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/1.046, allocations: 185.7 kB / 0.6619 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/1.046, allocations: 179.5 kB / 0.6621 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/1.046, allocations: 109.2 kB / 0.6622 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.046, allocations: 176.8 kB / 0.6624 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/1.046, allocations: 109.3 kB / 0.6625 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000105/1.046, allocations: 87.3 kB / 0.6626 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.024e-06/1.046, allocations: 0.6875 kB / 0.6626 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005128/1.047, allocations: 52.41 kB / 0.6626 GB, free: 7.023 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.000532/1.047, allocations: 232.5 kB / 0.6629 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001009/1.048, allocations: 19.44 kB / 0.6629 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.048, allocations: 0 / 0.6629 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-06/1.048, allocations: 0 / 0.6629 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/1.048, allocations: 462 kB / 0.6633 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/1.049, allocations: 189.8 kB / 0.6635 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/1.049, allocations: 0.675 MB / 0.6642 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.683e-05/1.049, allocations: 8.5 kB / 0.6642 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/1.049, allocations: 10.16 kB / 0.6642 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/1.049, allocations: 0 / 0.6642 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of Templates: time 0.004721/1.054, allocations: 1.136 MB / 0.6653 GB, free: 5.398 MB / 0.4981 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)