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.359/1.359, allocations: 252 MB / 268 MB, free: 10.85 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.001037/0.001037, allocations: 177.7 kB / 327.6 MB, free: 2.086 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.576/1.576, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007078/0.0007078, allocations: 89.98 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 8.531 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1875, allocations: 106.3 MB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1368/0.3243, allocations: 143.7 MB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001185/0.3245, allocations: 43.86 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.3245, allocations: 4 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.3247, allocations: 0 / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.3247, allocations: 19.91 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.3252, allocations: 93.94 kB / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.3253, allocations: 51.88 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.3254, allocations: 0 / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.3254, allocations: 15.98 kB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/0.3255, allocations: 19.86 kB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3255, allocations: 0 / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.3258, allocations: 79.78 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.3258, allocations: 11.98 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.3259, allocations: 33.64 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.326, allocations: 43.94 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.326, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/0.326, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.326, allocations: 3.938 kB / 1.042 GB, free: 14.63 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.000407/0.3264, allocations: 334.2 kB / 1.043 GB, free: 14.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3265, allocations: 12.03 kB / 1.043 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.3267, allocations: 20.92 kB / 1.043 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3269, allocations: 168.3 kB / 1.043 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/0.327, allocations: 33.64 kB / 1.043 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.327, allocations: 0 / 1.043 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3271, allocations: 45.69 kB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3272, allocations: 3.984 kB / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3272, allocations: 0 / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.3272, allocations: 7.984 kB / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.3273, allocations: 19.98 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.3277, allocations: 260.8 kB / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.3277, allocations: 18.52 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.3277, allocations: 8.922 kB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.3278, allocations: 12.03 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3278, allocations: 30.56 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.3278, allocations: 0 / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.3279, allocations: 33.64 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.328, allocations: 59.34 kB / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.3281, allocations: 106 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.3281, allocations: 25.7 kB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.3281, allocations: 96.11 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.3281, allocations: 7.844 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.3281, allocations: 0 / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.3282, allocations: 314.8 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.3283, allocations: 3.984 kB / 1.044 GB, free: 12.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.3283, allocations: 26.58 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.3284, allocations: 38.5 kB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3284, allocations: 0 / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.225e-05/0.3285, allocations: 49.64 kB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3285, allocations: 4 kB / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3285, allocations: 64 / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3285, allocations: 11.98 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.3286, allocations: 4 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3286, allocations: 3.938 kB / 1.044 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.3286, allocations: 8.094 kB / 1.044 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.3287, allocations: 0 / 1.044 GB, free: 12.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/0.3287, allocations: 113.8 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.3288, allocations: 3.906 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.3288, allocations: 3.125 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3288, allocations: 4 kB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3288, allocations: 11.86 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3288, allocations: 0 / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3291, allocations: 350.7 kB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3291, allocations: 0 / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.507e-05/0.3291, allocations: 0 / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.3292, allocations: 3.938 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3292, allocations: 4 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3292, allocations: 0 / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3292, allocations: 0 / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.037e-05/0.3293, allocations: 65.09 kB / 1.044 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.3293, allocations: 85.05 kB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3293, allocations: 0 / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.3294, allocations: 7.984 kB / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.3294, allocations: 0 / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.3294, allocations: 0 / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.3295, allocations: 83.28 kB / 1.045 GB, free: 11.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.39e-06/0.3295, allocations: 0 / 1.045 GB, free: 11.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001843/0.3297, allocations: 11.94 kB / 1.045 GB, free: 11.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.781e-05/0.3298, allocations: 99.28 kB / 1.045 GB, free: 11.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.661e-05/0.3299, allocations: 23.92 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3299, allocations: 0 / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.3299, allocations: 0 / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.3301, allocations: 6.031 kB / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.3304, allocations: 158.4 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3306, allocations: 0.677 MB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.3306, allocations: 7.438 kB / 1.046 GB, free: 10.79 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/0.3306, allocations: 0 / 1.046 GB, free: 10.79 MB / 0.698 GB Notification: Performance of Templates: time 0.001668/0.3323, allocations: 0.542 MB / 1.046 GB, free: 10.25 MB / 0.698 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)