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.001382/0.001382, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.001986/0.001987, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.744/1.744, allocations: 251.9 MB / 0.51 GB, free: 4.898 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.0005205/0.0005205, allocations: 16 kB / 0.6241 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5157, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1618/0.6776, allocations: 124.9 MB / 0.8499 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.6779, allocations: 139.7 kB / 0.8501 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.6779, allocations: 0 / 0.8501 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.6781, allocations: 4 kB / 0.8501 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.6781, allocations: 3.984 kB / 0.8501 GB, free: 14.08 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.6785, allocations: 75.75 kB / 0.8502 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 6.265e-05/0.6786, allocations: 15.97 kB / 0.8502 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.6787, allocations: 7.984 kB / 0.8502 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.6787, allocations: 8 kB / 0.8502 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.6788, allocations: 11.94 kB / 0.8502 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.6788, allocations: 0 / 0.8502 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.679, allocations: 51.88 kB / 0.8503 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.6791, allocations: 7.984 kB / 0.8503 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.6791, allocations: 29.7 kB / 0.8503 GB, free: 13.87 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.6792, allocations: 29.95 kB / 0.8503 GB, free: 13.84 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.6792, allocations: 0 / 0.8503 GB, free: 13.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6792, allocations: 0 / 0.8503 GB, free: 13.84 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.6792, allocations: 4 kB / 0.8503 GB, free: 13.84 MB / 0.67 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.0004292/0.6797, allocations: 338.4 kB / 0.8506 GB, free: 13.46 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6797, allocations: 8.031 kB / 0.8507 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.68, allocations: 23.94 kB / 0.8507 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.6802, allocations: 167 kB / 0.8508 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.6802, allocations: 25.7 kB / 0.8509 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.6802, allocations: 8 kB / 0.8509 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.6804, allocations: 49.66 kB / 0.8509 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6804, allocations: 0 / 0.8509 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.6804, allocations: 4 kB / 0.8509 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.6805, allocations: 0 / 0.8509 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.6805, allocations: 23.94 kB / 0.8509 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.681, allocations: 264.9 kB / 0.8512 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 4.153e-05/0.681, allocations: 18.52 kB / 0.8512 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.681, allocations: 0 / 0.8512 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.6811, allocations: 34.56 kB / 0.8512 GB, free: 12.73 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.6811, allocations: 0 / 0.8512 GB, free: 12.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001579/0.6812, allocations: 37.72 kB / 0.8513 GB, free: 12.69 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.6813, allocations: 51.41 kB / 0.8513 GB, free: 12.62 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.6814, allocations: 113.9 kB / 0.8514 GB, free: 12.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.6814, allocations: 25.7 kB / 0.8515 GB, free: 12.47 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.6815, allocations: 95.97 kB / 0.8516 GB, free: 12.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-06/0.6815, allocations: 7.906 kB / 0.8516 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.6815, allocations: 0 / 0.8516 GB, free: 12.37 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6817, allocations: 310.8 kB / 0.8519 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.6817, allocations: 7.938 kB / 0.8519 GB, free: 12.05 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.6817, allocations: 30.56 kB / 0.8519 GB, free: 12.01 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/0.6818, allocations: 4 kB / 0.8519 GB, free: 12 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6818, allocations: 0 / 0.8519 GB, free: 12 MB / 0.67 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.452e-05/0.6819, allocations: 53.62 kB / 0.8519 GB, free: 11.95 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6819, allocations: 8 kB / 0.852 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6819, allocations: 0 / 0.852 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6819, allocations: 3.953 kB / 0.852 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.682, allocations: 8.094 kB / 0.852 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.682, allocations: 4 kB / 0.852 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.682, allocations: 7.938 kB / 0.852 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.6821, allocations: 7.938 kB / 0.852 GB, free: 11.91 MB / 0.67 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.327e-05/0.6821, allocations: 109.8 kB / 0.8521 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.6822, allocations: 7.906 kB / 0.8521 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/0.6822, allocations: 3.125 kB / 0.8521 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6822, allocations: 0 / 0.8521 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6822, allocations: 3.953 kB / 0.8521 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.6822, allocations: 4 kB / 0.8521 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.6825, allocations: 342.8 kB / 0.8524 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6825, allocations: 0 / 0.8524 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.6826, allocations: 7.984 kB / 0.8524 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6826, allocations: 0 / 0.8524 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.6826, allocations: 3.953 kB / 0.8524 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.6826, allocations: 3.938 kB / 0.8525 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6826, allocations: 0 / 0.8525 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.914e-05/0.6827, allocations: 57.17 kB / 0.8525 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.6827, allocations: 77.36 kB / 0.8526 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.6827, allocations: 4 kB / 0.8526 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.6828, allocations: 15.94 kB / 0.8526 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.6829, allocations: 0 / 0.8526 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.6829, allocations: 4 kB / 0.8526 GB, free: 11.17 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.6829, allocations: 83.27 kB / 0.8527 GB, free: 11.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6829, allocations: 4.031 kB / 0.8527 GB, free: 11.08 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001939/0.6831, allocations: 4 kB / 0.8527 GB, free: 11.08 MB / 0.67 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.000108/0.6832, allocations: 103.2 kB / 0.8528 GB, free: 10.97 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 7.526e-05/0.6833, allocations: 11.94 kB / 0.8528 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6833, allocations: 0 / 0.8528 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.6833, allocations: 0 / 0.8528 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.6835, allocations: 5 kB / 0.8528 GB, free: 10.95 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.6838, allocations: 136.4 kB / 0.8529 GB, free: 10.79 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.6842, allocations: 0.677 MB / 0.8536 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 6.516e-05/0.6843, allocations: 12.02 kB / 0.8536 GB, free: 10.08 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.6843, allocations: 11.44 kB / 0.8536 GB, free: 10.07 MB / 0.67 GB Notification: Performance of SimCode: time 2.6e-07/0.6843, allocations: 4 kB / 0.8536 GB, free: 10.06 MB / 0.67 GB Notification: Performance of Templates: time 0.002615/0.6869, allocations: 429.8 kB / 0.854 GB, free: 9.68 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: