Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 303.4 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 182.8 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007234/0.0007235, allocations: 82.36 kB / 0.7441 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 10.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1972, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5845/0.7817, allocations: 134 MB / 1.11 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.000123/0.7819, allocations: 45.89 kB / 1.111 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.7819, allocations: 0 / 1.111 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.7821, allocations: 6.109 kB / 1.111 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.7821, allocations: 12.61 kB / 1.111 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.7825, allocations: 74.88 kB / 1.111 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.418e-05/0.7826, allocations: 40.84 kB / 1.111 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.7827, allocations: 1.75 kB / 1.111 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.7827, allocations: 17.73 kB / 1.111 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.7828, allocations: 12.53 kB / 1.111 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.7828, allocations: 4.969 kB / 1.111 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.783, allocations: 44.72 kB / 1.111 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.7831, allocations: 7.672 kB / 1.111 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.7832, allocations: 32.36 kB / 1.111 GB, free: 18.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.7833, allocations: 35.56 kB / 1.111 GB, free: 18.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7833, allocations: 0 / 1.111 GB, free: 18.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7833, allocations: 0 / 1.111 GB, free: 18.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.7833, allocations: 0 / 1.111 GB, free: 18.55 MB / 0.698 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.0003628/0.7837, allocations: 333.1 kB / 1.111 GB, free: 18.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.7837, allocations: 18.73 kB / 1.111 GB, free: 18.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.784, allocations: 20.05 kB / 1.111 GB, free: 18.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.7841, allocations: 169.4 kB / 1.111 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.7842, allocations: 28.27 kB / 1.111 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.7842, allocations: 1.891 kB / 1.111 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.7843, allocations: 45.59 kB / 1.111 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.7844, allocations: 7.938 kB / 1.111 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.7844, allocations: 1.344 kB / 1.111 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.7844, allocations: 5.766 kB / 1.111 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/0.7845, allocations: 31.58 kB / 1.111 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.7848, allocations: 249.9 kB / 1.112 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.146e-05/0.7848, allocations: 16.73 kB / 1.112 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.7849, allocations: 13.2 kB / 1.112 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.7849, allocations: 0 / 1.112 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.7849, allocations: 39.48 kB / 1.112 GB, free: 17.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.7849, allocations: 1.031 kB / 1.112 GB, free: 17.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.785, allocations: 34.28 kB / 1.112 GB, free: 17.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.7851, allocations: 51.41 kB / 1.112 GB, free: 17.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.7852, allocations: 106 kB / 1.112 GB, free: 17.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.7852, allocations: 30.89 kB / 1.112 GB, free: 17.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.7852, allocations: 92.98 kB / 1.112 GB, free: 17.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.7852, allocations: 4.625 kB / 1.112 GB, free: 17.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.7852, allocations: 0 / 1.112 GB, free: 17.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7854, allocations: 313.9 kB / 1.112 GB, free: 16.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.7854, allocations: 8 kB / 1.112 GB, free: 16.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.7854, allocations: 21.36 kB / 1.112 GB, free: 16.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.7854, allocations: 18.14 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7855, allocations: 0 / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.464e-05/0.7855, allocations: 52.23 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.7856, allocations: 5.125 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.7856, allocations: 5.359 kB / 1.112 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7856, allocations: 1.188 kB / 1.112 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.7856, allocations: 6.125 kB / 1.112 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.7857, allocations: 1.344 kB / 1.112 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.7857, allocations: 14.72 kB / 1.112 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.7857, allocations: 2.594 kB / 1.112 GB, free: 16.84 MB / 0.698 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 7.724e-05/0.7858, allocations: 107.5 kB / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.7858, allocations: 2 kB / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.7858, allocations: 10.23 kB / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7859, allocations: 3.953 kB / 1.113 GB, free: 16.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7859, allocations: 0 / 1.113 GB, free: 16.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.7859, allocations: 3.188 kB / 1.113 GB, free: 16.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.7861, allocations: 349.3 kB / 1.113 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7861, allocations: 1.125 kB / 1.113 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.7861, allocations: 1.625 kB / 1.113 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.7861, allocations: 3.953 kB / 1.113 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.7861, allocations: 0 / 1.113 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.7862, allocations: 1.5 kB / 1.113 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7862, allocations: 3.938 kB / 1.113 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.569e-05/0.7862, allocations: 63.86 kB / 1.113 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.7863, allocations: 78.89 kB / 1.113 GB, free: 16.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.7863, allocations: 5.594 kB / 1.113 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.7864, allocations: 4.094 kB / 1.113 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.7864, allocations: 2.078 kB / 1.113 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.7864, allocations: 3.938 kB / 1.113 GB, free: 16.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.7865, allocations: 85.16 kB / 1.113 GB, free: 16.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7865, allocations: 1.438 kB / 1.113 GB, free: 16.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001978/0.7867, allocations: 10 kB / 1.113 GB, free: 16.09 MB / 0.698 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 (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.0001075/0.7868, allocations: 96.88 kB / 1.113 GB, free: 16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.105e-05/0.7869, allocations: 19.09 kB / 1.113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7869, allocations: 0 / 1.113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-06/0.7869, allocations: 3.406 kB / 1.113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.7871, allocations: 6.297 kB / 1.113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.7873, allocations: 124.3 kB / 1.113 GB, free: 15.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.7876, allocations: 0.677 MB / 1.114 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.566e-05/0.7876, allocations: 4.719 kB / 1.114 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.7876, allocations: 10.67 kB / 1.114 GB, free: 15.18 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7876, allocations: 0 / 1.114 GB, free: 15.18 MB / 0.698 GB Notification: Performance of Templates: time 0.00236/0.79, allocations: 438 kB / 1.115 GB, free: 15.15 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)