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.616/1.616, allocations: 288.4 MB / 303.6 MB, free: 8.008 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.0009588/0.0009587, allocations: 184.9 kB / 372.3 MB, free: 10.11 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.465/1.465, allocations: 205.4 MB / 0.631 GB, free: 9.781 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.0007049/0.000705, allocations: 100.6 kB / 0.7444 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 11.66 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6464/0.8529, allocations: 134.1 MB / 1.111 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.8531, allocations: 45 kB / 1.111 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.8532, allocations: 0 / 1.111 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.8533, allocations: 3.344 kB / 1.111 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.8534, allocations: 13.92 kB / 1.111 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.8538, allocations: 81.81 kB / 1.111 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.8539, allocations: 50.16 kB / 1.111 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.854, allocations: 3.984 kB / 1.111 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.854, allocations: 11.91 kB / 1.111 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.8541, allocations: 12.77 kB / 1.111 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.8541, allocations: 1.062 kB / 1.111 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.8544, allocations: 84.77 kB / 1.111 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.8545, allocations: 9.203 kB / 1.111 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.8546, allocations: 35.23 kB / 1.111 GB, free: 18.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.8547, allocations: 45.27 kB / 1.111 GB, free: 18.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8548, allocations: 4.344 kB / 1.111 GB, free: 18.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8548, allocations: 4 kB / 1.111 GB, free: 18.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8548, allocations: 0 / 1.111 GB, free: 18.69 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.0004087/0.8552, allocations: 325.5 kB / 1.112 GB, free: 18.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8552, allocations: 10.77 kB / 1.112 GB, free: 18.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.8555, allocations: 17.22 kB / 1.112 GB, free: 18.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.8556, allocations: 166.9 kB / 1.112 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.8557, allocations: 40.38 kB / 1.112 GB, free: 18.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.8557, allocations: 1.062 kB / 1.112 GB, free: 18.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.8559, allocations: 45.84 kB / 1.112 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8559, allocations: 1.031 kB / 1.112 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.8559, allocations: 2.578 kB / 1.112 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.8559, allocations: 3.219 kB / 1.112 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.856, allocations: 22.73 kB / 1.112 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.8564, allocations: 259.8 kB / 1.112 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.438e-05/0.8565, allocations: 16.02 kB / 1.112 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.8565, allocations: 7.844 kB / 1.112 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.8565, allocations: 0 / 1.112 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.8565, allocations: 35.77 kB / 1.112 GB, free: 17.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.8565, allocations: 0 / 1.112 GB, free: 17.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.8567, allocations: 40.8 kB / 1.112 GB, free: 17.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.8567, allocations: 51.41 kB / 1.112 GB, free: 17.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.8568, allocations: 108.7 kB / 1.113 GB, free: 17.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.8569, allocations: 26.95 kB / 1.113 GB, free: 17.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.8569, allocations: 97.03 kB / 1.113 GB, free: 17.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.8569, allocations: 5.703 kB / 1.113 GB, free: 17.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.8569, allocations: 0 / 1.113 GB, free: 17.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.8571, allocations: 318.4 kB / 1.113 GB, free: 17.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.8571, allocations: 7.672 kB / 1.113 GB, free: 17.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.8571, allocations: 21.64 kB / 1.113 GB, free: 17.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.8572, allocations: 32.92 kB / 1.113 GB, free: 17.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8572, allocations: 1.156 kB / 1.113 GB, free: 17.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.575e-05/0.8573, allocations: 55.39 kB / 1.113 GB, free: 16.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.8573, allocations: 4.594 kB / 1.113 GB, free: 16.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8573, allocations: 2 kB / 1.113 GB, free: 16.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.8573, allocations: 1.469 kB / 1.113 GB, free: 16.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.8574, allocations: 7.125 kB / 1.113 GB, free: 16.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8574, allocations: 9.641 kB / 1.113 GB, free: 16.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.8574, allocations: 7.125 kB / 1.113 GB, free: 16.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.8574, allocations: 2.219 kB / 1.113 GB, free: 16.98 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 8.892e-05/0.8575, allocations: 114.2 kB / 1.113 GB, free: 16.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.8576, allocations: 9.312 kB / 1.113 GB, free: 16.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.8576, allocations: 4.625 kB / 1.113 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.8576, allocations: 3.172 kB / 1.113 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8576, allocations: 3.938 kB / 1.113 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8576, allocations: 4.078 kB / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.8579, allocations: 342.5 kB / 1.114 GB, free: 16.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8579, allocations: 0 / 1.114 GB, free: 16.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.8579, allocations: 1.969 kB / 1.114 GB, free: 16.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.8579, allocations: 9.062 kB / 1.114 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.858, allocations: 3.938 kB / 1.114 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.858, allocations: 0.7969 kB / 1.114 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.858, allocations: 1.094 kB / 1.114 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.508e-05/0.858, allocations: 56.59 kB / 1.114 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.8581, allocations: 83.55 kB / 1.114 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.8581, allocations: 3.938 kB / 1.114 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.8582, allocations: 9.75 kB / 1.114 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.8582, allocations: 4.906 kB / 1.114 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.8582, allocations: 0.9375 kB / 1.114 GB, free: 16.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.8583, allocations: 85.42 kB / 1.114 GB, free: 16.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8583, allocations: 1.859 kB / 1.114 GB, free: 16.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001984/0.8585, allocations: 7.094 kB / 1.114 GB, free: 16.21 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.0001098/0.8586, allocations: 100.1 kB / 1.114 GB, free: 16.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.991e-05/0.8587, allocations: 17.94 kB / 1.114 GB, free: 16.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8587, allocations: 0 / 1.114 GB, free: 16.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.631e-06/0.8587, allocations: 2.062 kB / 1.114 GB, free: 16.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.8589, allocations: 17.83 kB / 1.114 GB, free: 16.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.8592, allocations: 119.3 kB / 1.114 GB, free: 16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.8595, allocations: 0.6763 MB / 1.115 GB, free: 15.31 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.905e-05/0.8595, allocations: 12.59 kB / 1.115 GB, free: 15.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.8595, allocations: 8.875 kB / 1.115 GB, free: 15.29 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.8595, allocations: 0 / 1.115 GB, free: 15.29 MB / 0.698 GB Notification: Performance of Templates: time 0.002408/0.862, allocations: 440.9 kB / 1.115 GB, free: 15.27 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)