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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 180 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007639/0.0007638, allocations: 88.48 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.000348, allocations: 7.062 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2286, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1484/0.3771, allocations: 134.1 MB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001348/0.3773, allocations: 55.88 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.3773, allocations: 0 / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.3775, allocations: 3.938 kB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.3775, allocations: 11.98 kB / 1.032 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.3779, allocations: 74.33 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.036e-05/0.378, allocations: 43.89 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.3781, allocations: 0 / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.3781, allocations: 19.91 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.3782, allocations: 12 kB / 1.032 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3782, allocations: 4 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.3784, allocations: 43.83 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.3785, allocations: 11.92 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.3785, allocations: 33.7 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3786, allocations: 31.97 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3786, allocations: 0 / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3786, allocations: 3.938 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.3786, allocations: 0 / 1.032 GB, free: 9.109 MB / 0.6823 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.0003811/0.379, allocations: 327.6 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3791, allocations: 16.03 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.3793, allocations: 19.94 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3794, allocations: 163.1 kB / 1.033 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.3795, allocations: 29.69 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3795, allocations: 4 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.3797, allocations: 45.67 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3797, allocations: 3.938 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3797, allocations: 8 kB / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.3798, allocations: 3.984 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.3798, allocations: 23.94 kB / 1.033 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3802, allocations: 256.8 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.832e-05/0.3803, allocations: 14.58 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.3803, allocations: 8.859 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.3803, allocations: 0 / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3804, allocations: 38.56 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3804, allocations: 0 / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.3805, allocations: 41.64 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3806, allocations: 51.41 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.919e-05/0.3806, allocations: 109.8 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3807, allocations: 25.83 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.3808, allocations: 95.98 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-06/0.3808, allocations: 3.906 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.3808, allocations: 4 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3809, allocations: 310.8 kB / 1.034 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.3809, allocations: 7.984 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.381, allocations: 26.52 kB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.381, allocations: 12 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.381, allocations: 0 / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.013e-05/0.3811, allocations: 53.62 kB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3811, allocations: 4 kB / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3811, allocations: 0 / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3812, allocations: 3.953 kB / 1.034 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.3812, allocations: 11.98 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3812, allocations: 0 / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.86e-05/0.3813, allocations: 8.094 kB / 1.034 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.3813, allocations: 0 / 1.034 GB, free: 7.18 MB / 0.6823 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 8.185e-05/0.3814, allocations: 113.8 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3814, allocations: 3.906 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.3814, allocations: 3.125 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3815, allocations: 7.891 kB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3815, allocations: 4 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3815, allocations: 0 / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.3818, allocations: 350.7 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3818, allocations: 0 / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.3818, allocations: 3.938 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3818, allocations: 3.953 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.3818, allocations: 0 / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3818, allocations: 0 / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3818, allocations: 4 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.798e-05/0.3819, allocations: 65.09 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.382, allocations: 77.11 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.382, allocations: 7.953 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.3821, allocations: 4 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.3821, allocations: 4.078 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.3821, allocations: 0 / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.995e-05/0.3822, allocations: 87.52 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3822, allocations: 0 / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001962/0.3824, allocations: 8 kB / 1.034 GB, free: 6.34 MB / 0.6823 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.0001162/0.3825, allocations: 99.28 kB / 1.035 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.3826, allocations: 19.92 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3826, allocations: 0 / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.3826, allocations: 4 kB / 1.035 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.3828, allocations: 5.828 kB / 1.035 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.3831, allocations: 150.5 kB / 1.035 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3834, allocations: 0.677 MB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.3834, allocations: 7.438 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3834, allocations: 0 / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of Templates: time 0.001753/0.3852, allocations: 0.5287 MB / 1.036 GB, free: 4.789 MB / 0.6823 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)