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.719/1.719, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001192/0.001192, allocations: 179.5 kB / 326.5 MB, free: 2.688 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.495/1.495, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007711/0.000771, allocations: 88.62 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003041, allocations: 8.531 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1676, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1252/0.2928, allocations: 145.3 MB / 1.039 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.293, allocations: 55.86 kB / 1.039 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.293, allocations: 0 / 1.039 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.2931, allocations: 0 / 1.039 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.2932, allocations: 11.92 kB / 1.039 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.2936, allocations: 85.86 kB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.376e-05/0.2937, allocations: 63.75 kB / 1.039 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.2937, allocations: 4 kB / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.2938, allocations: 15.98 kB / 1.039 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.2938, allocations: 11.98 kB / 1.039 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2938, allocations: 0 / 1.039 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.2941, allocations: 87.72 kB / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.2941, allocations: 11.92 kB / 1.039 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.2942, allocations: 4 kB / 1.039 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2943, allocations: 52.16 kB / 1.039 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.2943, allocations: 0 / 1.039 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2943, allocations: 3.938 kB / 1.039 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.2943, allocations: 0 / 1.039 GB, free: 1.961 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.000349/0.2947, allocations: 327.5 kB / 1.039 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2947, allocations: 8.031 kB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.2949, allocations: 28.91 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.295, allocations: 160.4 kB / 1.039 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.2951, allocations: 33.58 kB / 1.04 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2951, allocations: 4 kB / 1.04 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.2953, allocations: 49.67 kB / 1.04 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2953, allocations: 0 / 1.04 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2953, allocations: 0 / 1.04 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.2953, allocations: 4 kB / 1.04 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.886e-05/0.2954, allocations: 19.98 kB / 1.04 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.2957, allocations: 260.8 kB / 1.04 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.551e-05/0.2958, allocations: 22.52 kB / 1.04 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.2958, allocations: 4.859 kB / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-06/0.2958, allocations: 0 / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2958, allocations: 34.62 kB / 1.04 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.2958, allocations: 0 / 1.04 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001137/0.296, allocations: 37.64 kB / 1.04 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.296, allocations: 55.34 kB / 1.04 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2961, allocations: 113.9 kB / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.2961, allocations: 25.7 kB / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.2962, allocations: 88.05 kB / 1.04 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.675e-06/0.2962, allocations: 11.83 kB / 1.04 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.2962, allocations: 13.72 kB / 1.04 GB, free: 484 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2963, allocations: 314.8 kB / 1.041 GB, free: 160 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.2964, allocations: 0 / 1.041 GB, free: 160 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.2964, allocations: 34.56 kB / 1.041 GB, free: 116 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.2964, allocations: 26.52 kB / 1.041 GB, free: 80 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2964, allocations: 0 / 1.041 GB, free: 80 kB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.383e-05/0.2965, allocations: 57.62 kB / 1.041 GB, free: 16 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2966, allocations: 10.44 kB / 1.041 GB, free: 8 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2966, allocations: 0 / 1.041 GB, free: 8 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2966, allocations: 8.094 kB / 1.041 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.2967, allocations: 4.047 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2967, allocations: 3.938 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.2967, allocations: 4 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.2967, allocations: 96 / 1.041 GB, free: 15.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.2968, allocations: 113.8 kB / 1.041 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.2968, allocations: 7.891 kB / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.614e-05/0.2968, allocations: 7.125 kB / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2968, allocations: 0 / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2969, allocations: 12.19 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2969, allocations: 0 / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.2971, allocations: 346.7 kB / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2971, allocations: 0 / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.2971, allocations: 3.984 kB / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2971, allocations: 3.938 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-06/0.2971, allocations: 0 / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2972, allocations: 4 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2972, allocations: 8.016 kB / 1.041 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.321e-05/0.2972, allocations: 53.14 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.2973, allocations: 88.98 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2973, allocations: 3.984 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.2974, allocations: 4 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-06/0.2974, allocations: 0 / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-06/0.2974, allocations: 0 / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.2974, allocations: 87.3 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2974, allocations: 0 / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001778/0.2976, allocations: 12 kB / 1.041 GB, free: 15.14 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 8.541e-05/0.2977, allocations: 99.19 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.129e-05/0.2978, allocations: 8 kB / 1.041 GB, free: 15.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2978, allocations: 4 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/0.2978, allocations: 4.125 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.298, allocations: 13.28 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.2982, allocations: 149.9 kB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2985, allocations: 0.6731 MB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.2985, allocations: 7.438 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.2985, allocations: 0 / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of Templates: time 0.001545/0.3, allocations: 0.5488 MB / 1.043 GB, free: 13.58 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)