Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, 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.001126/0.001126, allocations: 192.3 kB / 16.25 MB, free: 6.625 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.37/1.37, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 251.6 MB / 0.5089 GB, free: 3.301 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.89 kB / 0.6217 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5773/0.5788, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1515/0.7304, allocations: 145.8 MB / 0.8663 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.7306, allocations: 51.86 kB / 0.8664 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.7306, allocations: 3.938 kB / 0.8664 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.7308, allocations: 8 kB / 0.8664 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.7309, allocations: 7.922 kB / 0.8664 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.7314, allocations: 88.61 kB / 0.8665 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.539e-05/0.7315, allocations: 31.86 kB / 0.8665 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.7315, allocations: 7.984 kB / 0.8665 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.7316, allocations: 11.98 kB / 0.8665 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.961e-05/0.7317, allocations: 11.94 kB / 0.8665 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-06/0.7317, allocations: 0 / 0.8665 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.7319, allocations: 91.72 kB / 0.8666 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.732, allocations: 7.984 kB / 0.8666 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.732, allocations: 15.92 kB / 0.8667 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.7322, allocations: 65.88 kB / 0.8667 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7322, allocations: 0 / 0.8667 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7322, allocations: 0 / 0.8667 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.7322, allocations: 0 / 0.8667 GB, free: 10.36 MB / 0.6856 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.0004114/0.7326, allocations: 331.5 kB / 0.867 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7327, allocations: 8.031 kB / 0.867 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.7329, allocations: 20.92 kB / 0.8671 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.733, allocations: 168.4 kB / 0.8672 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/0.7331, allocations: 33.64 kB / 0.8673 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.7331, allocations: 0 / 0.8673 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.7333, allocations: 53.55 kB / 0.8673 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.7333, allocations: 0 / 0.8673 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.7333, allocations: 7.938 kB / 0.8673 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.7333, allocations: 8 kB / 0.8673 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.68e-05/0.7334, allocations: 15.98 kB / 0.8673 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.7338, allocations: 260.8 kB / 0.8676 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.252e-05/0.7338, allocations: 26.52 kB / 0.8676 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.7339, allocations: 8.844 kB / 0.8676 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.7339, allocations: 4 kB / 0.8676 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.7339, allocations: 34.62 kB / 0.8677 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.7339, allocations: 0 / 0.8677 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001334/0.7341, allocations: 29.7 kB / 0.8677 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.7341, allocations: 55.34 kB / 0.8677 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.7342, allocations: 105.8 kB / 0.8678 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.7342, allocations: 29.7 kB / 0.8679 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.7343, allocations: 96.02 kB / 0.868 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-06/0.7343, allocations: 4 kB / 0.868 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.7343, allocations: 21.7 kB / 0.868 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7345, allocations: 314.8 kB / 0.8683 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.7345, allocations: 4 kB / 0.8683 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-05/0.7346, allocations: 26.81 kB / 0.8683 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.7346, allocations: 30.58 kB / 0.8683 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7346, allocations: 4 kB / 0.8683 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.031e-05/0.7347, allocations: 53.62 kB / 0.8684 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7347, allocations: 8 kB / 0.8684 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7347, allocations: 3.938 kB / 0.8684 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.7348, allocations: 0 / 0.8684 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.7348, allocations: 4 kB / 0.8684 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7348, allocations: 7.938 kB / 0.8684 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.7349, allocations: 8 kB / 0.8684 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.7349, allocations: 4 kB / 0.8684 GB, free: 8.359 MB / 0.6856 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.92e-05/0.735, allocations: 109.8 kB / 0.8685 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.735, allocations: 4 kB / 0.8685 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.735, allocations: 7.125 kB / 0.8685 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.735, allocations: 3.938 kB / 0.8686 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.735, allocations: 3.938 kB / 0.8686 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.7351, allocations: 0 / 0.8686 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.7353, allocations: 346.7 kB / 0.8689 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7353, allocations: 0 / 0.8689 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.7353, allocations: 7.984 kB / 0.8689 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7353, allocations: 3.938 kB / 0.8689 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.7354, allocations: 0 / 0.8689 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7354, allocations: 0 / 0.8689 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.7354, allocations: 0 / 0.8689 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.462e-05/0.7354, allocations: 65.11 kB / 0.869 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.7355, allocations: 81.05 kB / 0.869 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.7355, allocations: 3.984 kB / 0.869 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.7356, allocations: 4 kB / 0.869 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.7356, allocations: 0 / 0.869 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.7356, allocations: 3.938 kB / 0.869 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.7357, allocations: 87.27 kB / 0.8691 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7357, allocations: 4 kB / 0.8691 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000183/0.7359, allocations: 4 kB / 0.8691 GB, free: 7.527 MB / 0.6856 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 (1): * Single equations (assignments): 1 * 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 9.206e-05/0.736, allocations: 99.28 kB / 0.8692 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.7361, allocations: 16 kB / 0.8693 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7361, allocations: 0 / 0.8693 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.7361, allocations: 3.938 kB / 0.8693 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.7363, allocations: 17.8 kB / 0.8693 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.7365, allocations: 110.9 kB / 0.8694 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.7368, allocations: 0.6768 MB / 0.87 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.64e-05/0.7369, allocations: 7.984 kB / 0.87 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.7369, allocations: 7.438 kB / 0.8701 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.7369, allocations: 4 kB / 0.8701 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of Templates: time 0.002542/0.7395, allocations: 468.1 kB / 0.8705 GB, free: 6.109 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)