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.00113/0.00113, allocations: 108.5 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.001149/0.001149, allocations: 193.4 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7036/0.7036, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3102, allocations: 76.14 MB / 0.5576 GB, free: 36.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1555/0.4657, allocations: 147.8 MB / 0.7019 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001797/0.466, allocations: 47.75 kB / 0.702 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.466, allocations: 4 kB / 0.702 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.4662, allocations: 7.922 kB / 0.702 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.357e-05/0.4663, allocations: 11.98 kB / 0.702 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.4667, allocations: 107.6 kB / 0.7021 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.944e-05/0.4668, allocations: 27.92 kB / 0.7021 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.4669, allocations: 3.938 kB / 0.7021 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.4669, allocations: 19.97 kB / 0.7022 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.467, allocations: 15.92 kB / 0.7022 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.467, allocations: 0 / 0.7022 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.4672, allocations: 87.72 kB / 0.7023 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.4673, allocations: 0 / 0.7023 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.4674, allocations: 24.03 kB / 0.7023 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.4675, allocations: 59.8 kB / 0.7023 GB, free: 15.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4675, allocations: 0 / 0.7023 GB, free: 15.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4676, allocations: 4 kB / 0.7023 GB, free: 15.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4676, allocations: 3.938 kB / 0.7023 GB, free: 15.91 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.0003742/0.4679, allocations: 341.3 kB / 0.7027 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.468, allocations: 8.031 kB / 0.7027 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.4682, allocations: 20.83 kB / 0.7027 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4683, allocations: 164.4 kB / 0.7029 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.4684, allocations: 37.58 kB / 0.7029 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.4684, allocations: 3.938 kB / 0.7029 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.4685, allocations: 45.67 kB / 0.7029 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.4686, allocations: 4 kB / 0.7029 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4686, allocations: 7.984 kB / 0.7029 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.4686, allocations: 4 kB / 0.7029 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.4687, allocations: 15.98 kB / 0.703 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.469, allocations: 252.9 kB / 0.7032 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.4691, allocations: 30.52 kB / 0.7032 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.4691, allocations: 4.859 kB / 0.7032 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.4691, allocations: 0 / 0.7032 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.4692, allocations: 30.56 kB / 0.7033 GB, free: 14.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4692, allocations: 0 / 0.7033 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.4693, allocations: 37.75 kB / 0.7033 GB, free: 14.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.4694, allocations: 59.28 kB / 0.7034 GB, free: 14.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.4694, allocations: 102 kB / 0.7035 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4695, allocations: 33.7 kB / 0.7035 GB, free: 14.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.4695, allocations: 95.88 kB / 0.7036 GB, free: 14.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-06/0.4695, allocations: 4 kB / 0.7036 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.4696, allocations: 17.72 kB / 0.7036 GB, free: 14.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.4697, allocations: 310.8 kB / 0.7039 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.4697, allocations: 7.984 kB / 0.7039 GB, free: 14.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.4697, allocations: 22.58 kB / 0.7039 GB, free: 14.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.4698, allocations: 34.52 kB / 0.704 GB, free: 14.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4698, allocations: 0 / 0.704 GB, free: 14.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.904e-05/0.4699, allocations: 57.53 kB / 0.704 GB, free: 13.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4699, allocations: 4 kB / 0.704 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4699, allocations: 7.938 kB / 0.704 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.4699, allocations: 4.094 kB / 0.704 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.47, allocations: 7.984 kB / 0.704 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.47, allocations: 7.938 kB / 0.704 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.4701, allocations: 0 / 0.704 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.4701, allocations: 0 / 0.704 GB, free: 13.92 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 8.868e-05/0.4702, allocations: 109.8 kB / 0.7042 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.4702, allocations: 0 / 0.7042 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.4702, allocations: 11.12 kB / 0.7042 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4702, allocations: 4.078 kB / 0.7042 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4702, allocations: 8.188 kB / 0.7042 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4702, allocations: 0 / 0.7042 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.4705, allocations: 350.7 kB / 0.7045 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4705, allocations: 0 / 0.7045 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.4705, allocations: 0 / 0.7045 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.4705, allocations: 7.938 kB / 0.7045 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.4705, allocations: 3.938 kB / 0.7045 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4706, allocations: 0 / 0.7045 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4706, allocations: 0 / 0.7045 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.091e-05/0.4706, allocations: 69.09 kB / 0.7046 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.4707, allocations: 84.95 kB / 0.7047 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.4707, allocations: 0 / 0.7047 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.4708, allocations: 4 kB / 0.7047 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.4708, allocations: 0 / 0.7047 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/0.4708, allocations: 3.984 kB / 0.7047 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.4709, allocations: 83.31 kB / 0.7048 GB, free: 13.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4709, allocations: 4 kB / 0.7048 GB, free: 13.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001968/0.4711, allocations: 8 kB / 0.7048 GB, free: 13.08 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 8.699e-05/0.4712, allocations: 95.25 kB / 0.7049 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.222e-05/0.4713, allocations: 11.98 kB / 0.7049 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4713, allocations: 3.938 kB / 0.7049 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.775e-06/0.4713, allocations: 8 kB / 0.7049 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.4716, allocations: 12.03 kB / 0.7049 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.4718, allocations: 113.4 kB / 0.705 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.4721, allocations: 0.6768 MB / 0.7057 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.512e-05/0.4721, allocations: 4 kB / 0.7057 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.4721, allocations: 11.38 kB / 0.7057 GB, free: 12.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4721, allocations: 4 kB / 0.7057 GB, free: 12.09 MB / 0.545 GB Notification: Performance of Templates: time 0.002554/0.4747, allocations: 0.5025 MB / 0.7062 GB, free: 11.62 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)