Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001249/0.001249, allocations: 108.4 kB / 17.03 MB, free: 5.656 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.001077/0.001077, allocations: 190.9 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6772/0.6772, allocations: 115.1 MB / 406.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.86 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3463, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1452/0.4915, allocations: 147.8 MB / 0.7019 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.4917, allocations: 55.8 kB / 0.702 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.4918, allocations: 4 kB / 0.702 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.4919, allocations: 3.984 kB / 0.702 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.492, allocations: 7.938 kB / 0.702 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.4925, allocations: 107.6 kB / 0.7021 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.4926, allocations: 35.91 kB / 0.7021 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.4926, allocations: 3.984 kB / 0.7021 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.4927, allocations: 15.92 kB / 0.7022 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.4928, allocations: 19.92 kB / 0.7022 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.4928, allocations: 0 / 0.7022 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.493, allocations: 83.72 kB / 0.7023 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.4931, allocations: 11.98 kB / 0.7023 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.4931, allocations: 7.938 kB / 0.7023 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.4933, allocations: 83.77 kB / 0.7024 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4933, allocations: 0 / 0.7024 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4933, allocations: 0 / 0.7024 GB, free: 15.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.4933, allocations: 0 / 0.7024 GB, free: 15.79 MB / 0.545 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.0003497/0.4936, allocations: 337.2 kB / 0.7027 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4937, allocations: 8.031 kB / 0.7027 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.4939, allocations: 24.83 kB / 0.7027 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.494, allocations: 164.4 kB / 0.7029 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.4941, allocations: 29.64 kB / 0.7029 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.4941, allocations: 4 kB / 0.7029 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.4942, allocations: 45.62 kB / 0.7029 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.4942, allocations: 0 / 0.7029 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.4942, allocations: 4 kB / 0.7029 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.4943, allocations: 4 kB / 0.7029 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.4943, allocations: 19.98 kB / 0.703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.4947, allocations: 256.9 kB / 0.7032 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.35e-05/0.4947, allocations: 18.52 kB / 0.7032 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.4947, allocations: 8.922 kB / 0.7032 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.4947, allocations: 7.984 kB / 0.7032 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.4948, allocations: 30.56 kB / 0.7033 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4948, allocations: 0 / 0.7033 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001296/0.4949, allocations: 37.69 kB / 0.7033 GB, free: 14.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.4949, allocations: 59.34 kB / 0.7034 GB, free: 14.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.495, allocations: 105.8 kB / 0.7035 GB, free: 14.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.4951, allocations: 25.7 kB / 0.7035 GB, free: 14.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4951, allocations: 96.02 kB / 0.7036 GB, free: 14.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-06/0.4951, allocations: 0 / 0.7036 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.4952, allocations: 17.72 kB / 0.7036 GB, free: 14.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.4953, allocations: 318.8 kB / 0.7039 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.4953, allocations: 8 kB / 0.7039 GB, free: 13.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.4953, allocations: 18.58 kB / 0.7039 GB, free: 13.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.4954, allocations: 38.5 kB / 0.704 GB, free: 13.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4954, allocations: 4.25 kB / 0.704 GB, free: 13.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.838e-05/0.4954, allocations: 53.55 kB / 0.704 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4955, allocations: 7.984 kB / 0.704 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4955, allocations: 7.938 kB / 0.704 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4955, allocations: 0 / 0.704 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.4956, allocations: 8 kB / 0.704 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4956, allocations: 8.031 kB / 0.704 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.4956, allocations: 4 kB / 0.7041 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.4956, allocations: 0 / 0.7041 GB, free: 13.8 MB / 0.545 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.549e-05/0.4957, allocations: 113.8 kB / 0.7042 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.4957, allocations: 3.938 kB / 0.7042 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.479e-05/0.4958, allocations: 3.125 kB / 0.7042 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4958, allocations: 3.984 kB / 0.7042 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4958, allocations: 3.938 kB / 0.7042 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4958, allocations: 4 kB / 0.7042 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.496, allocations: 346.7 kB / 0.7045 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.496, allocations: 0 / 0.7045 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.496, allocations: 0 / 0.7045 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.496, allocations: 3.938 kB / 0.7045 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.4961, allocations: 0 / 0.7045 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4961, allocations: 0 / 0.7045 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4961, allocations: 4 kB / 0.7045 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.753e-05/0.4961, allocations: 61.16 kB / 0.7046 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.4962, allocations: 84.95 kB / 0.7047 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.4962, allocations: 4 kB / 0.7047 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.4963, allocations: 3.984 kB / 0.7047 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.4963, allocations: 0 / 0.7047 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.4963, allocations: 7.938 kB / 0.7047 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.595e-05/0.4963, allocations: 83.28 kB / 0.7048 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4963, allocations: 0 / 0.7048 GB, free: 12.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001809/0.4965, allocations: 8.031 kB / 0.7048 GB, free: 12.97 MB / 0.545 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 7.982e-05/0.4966, allocations: 101.9 kB / 0.7049 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.4967, allocations: 15.98 kB / 0.7049 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4967, allocations: 0 / 0.7049 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-06/0.4967, allocations: 3.938 kB / 0.7049 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.4969, allocations: 8.125 kB / 0.7049 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.4971, allocations: 126.8 kB / 0.705 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.4974, allocations: 0.6768 MB / 0.7057 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.252e-05/0.4974, allocations: 4 kB / 0.7057 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.4974, allocations: 7.438 kB / 0.7057 GB, free: 11.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4974, allocations: 0 / 0.7057 GB, free: 11.98 MB / 0.545 GB Notification: Performance of Templates: time 0.002139/0.4996, allocations: 0.5086 MB / 0.7062 GB, free: 11.5 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)