Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.528/1.528, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001172/0.001173, allocations: 176.8 kB / 366.7 MB, free: 1.684 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.374/1.374, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008149/0.0008148, allocations: 91.42 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.211e-05/1.24e-05, allocations: 0 / 0.8597 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5684/0.5684, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.046/9.615, allocations: 4.611 GB / 5.584 GB, free: 80.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/9.615, allocations: 83.94 kB / 5.585 GB, free: 80.78 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07419/9.689, allocations: 44.4 MB / 5.628 GB, free: 35.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/9.689, allocations: 4 kB / 5.628 GB, free: 35.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.881e-06/9.689, allocations: 0 / 5.628 GB, free: 35.87 MB / 0.948 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.0002475/9.689, allocations: 334.5 kB / 5.628 GB, free: 35.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/9.689, allocations: 12.03 kB / 5.628 GB, free: 35.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/9.69, allocations: 15.98 kB / 5.628 GB, free: 35.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.964e-05/9.69, allocations: 163.1 kB / 5.628 GB, free: 35.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/9.69, allocations: 29.64 kB / 5.628 GB, free: 35.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/9.69, allocations: 8 kB / 5.628 GB, free: 35.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.764e-05/9.69, allocations: 19.98 kB / 5.628 GB, free: 35.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.444e-05/9.69, allocations: 41.64 kB / 5.628 GB, free: 35.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/9.69, allocations: 0 / 5.628 GB, free: 35.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/9.69, allocations: 0 / 5.628 GB, free: 35.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/9.69, allocations: 0 / 5.628 GB, free: 35.16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/9.69, allocations: 237.4 kB / 5.629 GB, free: 34.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.332e-05/9.69, allocations: 26.52 kB / 5.629 GB, free: 34.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/9.69, allocations: 8.812 kB / 5.629 GB, free: 34.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/9.69, allocations: 0 / 5.629 GB, free: 34.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/9.69, allocations: 30.56 kB / 5.629 GB, free: 34.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/9.69, allocations: 0 / 5.629 GB, free: 34.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.000103/9.691, allocations: 37.77 kB / 5.629 GB, free: 34.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.474e-05/9.691, allocations: 55.44 kB / 5.629 GB, free: 34.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.46e-05/9.691, allocations: 94.58 kB / 5.629 GB, free: 34.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/9.691, allocations: 33.64 kB / 5.629 GB, free: 34.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/9.691, allocations: 91.95 kB / 5.629 GB, free: 34.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/9.691, allocations: 3.938 kB / 5.629 GB, free: 34.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/9.691, allocations: 0 / 5.629 GB, free: 34.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.184e-05/9.691, allocations: 311.2 kB / 5.629 GB, free: 34.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/9.691, allocations: 11.98 kB / 5.629 GB, free: 34.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/9.691, allocations: 26.52 kB / 5.629 GB, free: 34.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.593e-05/9.691, allocations: 4 kB / 5.629 GB, free: 34.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/9.691, allocations: 0 / 5.629 GB, free: 34.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.695e-05/9.691, allocations: 53.62 kB / 5.629 GB, free: 34.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/9.691, allocations: 7.953 kB / 5.629 GB, free: 34.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/9.691, allocations: 4 kB / 5.629 GB, free: 34.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/9.691, allocations: 0 / 5.629 GB, free: 34.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/9.691, allocations: 8.094 kB / 5.629 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/9.691, allocations: 4 kB / 5.63 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/9.691, allocations: 0 / 5.63 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/9.691, allocations: 5.953 kB / 5.63 GB, free: 34.01 MB / 0.948 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 () * 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 4.034e-05/9.691, allocations: 105 kB / 5.63 GB, free: 33.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/9.691, allocations: 4 kB / 5.63 GB, free: 33.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.631e-05/9.691, allocations: 15.69 kB / 5.63 GB, free: 33.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/9.691, allocations: 0 / 5.63 GB, free: 33.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/9.691, allocations: 4 kB / 5.63 GB, free: 33.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/9.691, allocations: 4 kB / 5.63 GB, free: 33.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/9.691, allocations: 319.3 kB / 5.63 GB, free: 33.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/9.691, allocations: 0 / 5.63 GB, free: 33.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/9.691, allocations: 256 / 5.63 GB, free: 33.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/9.691, allocations: 3.953 kB / 5.63 GB, free: 33.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/9.691, allocations: 7.984 kB / 5.63 GB, free: 33.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/9.691, allocations: 0 / 5.63 GB, free: 33.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/9.691, allocations: 0 / 5.63 GB, free: 33.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.087e-05/9.691, allocations: 61.17 kB / 5.63 GB, free: 33.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/9.691, allocations: 77.11 kB / 5.63 GB, free: 33.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/9.691, allocations: 3.953 kB / 5.63 GB, free: 33.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/9.692, allocations: 7.984 kB / 5.63 GB, free: 33.32 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/9.692, allocations: 0 / 5.63 GB, free: 33.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/9.692, allocations: 4 kB / 5.63 GB, free: 33.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.33e-05/9.692, allocations: 91.16 kB / 5.63 GB, free: 33.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/9.692, allocations: 7.875 kB / 5.63 GB, free: 33.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002173/9.692, allocations: 31.98 kB / 5.63 GB, free: 33.2 MB / 0.948 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 () * 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.0005209/9.692, allocations: 0.6559 MB / 5.631 GB, free: 32.53 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.776e-05/9.692, allocations: 12.12 kB / 5.631 GB, free: 32.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/9.692, allocations: 0 / 5.631 GB, free: 32.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-06/9.692, allocations: 0 / 5.631 GB, free: 32.52 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/9.693, allocations: 15.98 kB / 5.631 GB, free: 32.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001217/9.693, allocations: 52.39 kB / 5.631 GB, free: 32.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.023e-05/9.693, allocations: 0.6775 MB / 5.632 GB, free: 31.72 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.004e-05/9.693, allocations: 12.11 kB / 5.632 GB, free: 31.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/9.693, allocations: 7.438 kB / 5.632 GB, free: 31.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/9.693, allocations: 0 / 5.632 GB, free: 31.7 MB / 0.948 GB Notification: Performance of Templates: time 0.005309/9.698, allocations: 3.71 MB / 5.635 GB, free: 28.02 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)