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.00135/0.00135, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.652 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.5829/0.5829, allocations: 95.48 MB / 365.2 MB, free: 9.887 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.001451/0.001451, allocations: 72.55 kB / 445.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3245, allocations: 69.08 MB / 0.5024 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.4544/0.7789, allocations: 160.8 MB / 0.6594 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 6.985e-05/0.779, allocations: 28.39 kB / 0.6594 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.7791, allocations: 0 / 0.6594 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.7792, allocations: 6.844 kB / 0.6594 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.624e-05/0.7793, allocations: 10.38 kB / 0.6594 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.7802, allocations: 223.7 kB / 0.6596 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.7803, allocations: 30.02 kB / 0.6597 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.857e-05/0.7803, allocations: 4.172 kB / 0.6597 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.7804, allocations: 14.98 kB / 0.6597 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.7805, allocations: 14.11 kB / 0.6597 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.7805, allocations: 0 / 0.6597 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.781, allocations: 274.6 kB / 0.66 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.7811, allocations: 8.641 kB / 0.66 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.7811, allocations: 12.84 kB / 0.66 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.7814, allocations: 164.8 kB / 0.6601 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7814, allocations: 4 kB / 0.6602 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7815, allocations: 0 / 0.6602 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.944e-06/0.7815, allocations: 0 / 0.6602 GB, free: 13.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.0004752/0.7819, allocations: 366.1 kB / 0.6605 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.782, allocations: 14.23 kB / 0.6605 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.782, allocations: 0 / 0.6605 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.7822, allocations: 162.7 kB / 0.6607 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-05/0.7822, allocations: 28.23 kB / 0.6607 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.7823, allocations: 10.75 kB / 0.6607 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.7824, allocations: 50.94 kB / 0.6608 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.7824, allocations: 0 / 0.6608 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.7824, allocations: 0 / 0.6608 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.7825, allocations: 4.781 kB / 0.6608 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.7825, allocations: 22.94 kB / 0.6608 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.7828, allocations: 256.4 kB / 0.661 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.615e-05/0.7829, allocations: 27.66 kB / 0.6611 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.7829, allocations: 11.95 kB / 0.6611 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.7829, allocations: 2.812 kB / 0.6611 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.783, allocations: 30.56 kB / 0.6611 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.783, allocations: 0 / 0.6611 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.7831, allocations: 39.52 kB / 0.6611 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.7832, allocations: 51.41 kB / 0.6612 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.7833, allocations: 118.8 kB / 0.6613 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7833, allocations: 25.7 kB / 0.6613 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.7833, allocations: 90.36 kB / 0.6614 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.7833, allocations: 6.438 kB / 0.6614 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.7834, allocations: 21.98 kB / 0.6614 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7835, allocations: 314.8 kB / 0.6617 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.7835, allocations: 2.125 kB / 0.6617 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.7835, allocations: 26.11 kB / 0.6618 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/0.7836, allocations: 39.67 kB / 0.6618 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.7836, allocations: 0 / 0.6618 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.057e-05/0.7837, allocations: 56.19 kB / 0.6619 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.7837, allocations: 5.344 kB / 0.6619 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7837, allocations: 0 / 0.6619 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7837, allocations: 6.625 kB / 0.6619 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.7838, allocations: 7.562 kB / 0.6619 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7838, allocations: 3.406 kB / 0.6619 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.7838, allocations: 0 / 0.6619 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.7839, allocations: 6.594 kB / 0.6619 GB, free: 11.5 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 7.547e-05/0.7839, allocations: 111.8 kB / 0.662 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.784, allocations: 5.219 kB / 0.662 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.7841, allocations: 128.6 kB / 0.6621 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.717e-05/0.7842, allocations: 179.1 kB / 0.6623 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.195e-05/0.7842, allocations: 180.9 kB / 0.6625 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.339e-05/0.7843, allocations: 178.7 kB / 0.6626 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.7846, allocations: 408.7 kB / 0.663 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-05/0.7846, allocations: 111.5 kB / 0.6631 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.7847, allocations: 105.6 kB / 0.6632 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.736e-05/0.7848, allocations: 180.2 kB / 0.6634 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/0.7848, allocations: 182.7 kB / 0.6636 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.914e-05/0.7849, allocations: 178.3 kB / 0.6637 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.242e-05/0.785, allocations: 181.3 kB / 0.6639 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.7852, allocations: 318.6 kB / 0.6642 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.7852, allocations: 180.4 kB / 0.6644 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.7853, allocations: 178.8 kB / 0.6646 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.7855, allocations: 109.8 kB / 0.6647 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.7856, allocations: 188 kB / 0.6648 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.7856, allocations: 115.7 kB / 0.665 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.7857, allocations: 84.31 kB / 0.665 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7857, allocations: 0 / 0.665 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003245/0.786, allocations: 48.78 kB / 0.6651 GB, free: 8.117 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.0002593/0.7863, allocations: 227.5 kB / 0.6653 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.639e-05/0.7863, allocations: 19.67 kB / 0.6653 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7864, allocations: 0 / 0.6653 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.516e-06/0.7864, allocations: 3.938 kB / 0.6653 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.7868, allocations: 457.6 kB / 0.6658 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.7871, allocations: 179.9 kB / 0.6659 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.7874, allocations: 0.6761 MB / 0.6666 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.489e-05/0.7875, allocations: 7.031 kB / 0.6666 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.7875, allocations: 7.438 kB / 0.6666 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.7875, allocations: 3.938 kB / 0.6666 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of Templates: time 0.003367/0.7909, allocations: 1.119 MB / 0.6677 GB, free: 6.504 MB / 0.4981 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)