Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 110.9 kB / 17.02 MB, free: 5.703 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.001348/0.001348, allocations: 195 kB / 17.97 MB, free: 5.113 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.69/0.69, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3364, allocations: 76.14 MB / 0.5575 GB, free: 36.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1571/0.4936, allocations: 148.3 MB / 0.7023 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001353/0.4937, allocations: 59.84 kB / 0.7024 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.4938, allocations: 0 / 0.7024 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.833e-05/0.4939, allocations: 3.938 kB / 0.7024 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.494, allocations: 19.92 kB / 0.7024 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.4947, allocations: 211.2 kB / 0.7026 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.806e-05/0.4948, allocations: 35.8 kB / 0.7026 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.4948, allocations: 0 / 0.7026 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.4949, allocations: 23.97 kB / 0.7027 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.4949, allocations: 4 kB / 0.7027 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.4949, allocations: 0 / 0.7027 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.4953, allocations: 203.4 kB / 0.7029 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.4954, allocations: 7.938 kB / 0.7029 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.4954, allocations: 11.92 kB / 0.7029 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.4956, allocations: 113.6 kB / 0.703 GB, free: 15.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4956, allocations: 4 kB / 0.703 GB, free: 15.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4956, allocations: 4 kB / 0.703 GB, free: 15.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4957, allocations: 0 / 0.703 GB, free: 15.28 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.0003652/0.496, allocations: 335.5 kB / 0.7033 GB, free: 14.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.4961, allocations: 12.03 kB / 0.7033 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002883/0.4964, allocations: 28.81 kB / 0.7034 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.578e-05/0.4965, allocations: 168.3 kB / 0.7035 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.4965, allocations: 33.64 kB / 0.7036 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.4965, allocations: 3.984 kB / 0.7036 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.4967, allocations: 53.66 kB / 0.7036 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.4967, allocations: 0 / 0.7036 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4967, allocations: 0 / 0.7036 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.4967, allocations: 4 kB / 0.7036 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.4968, allocations: 19.98 kB / 0.7036 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.4971, allocations: 264.8 kB / 0.7039 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.4971, allocations: 22.52 kB / 0.7039 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.4971, allocations: 12.92 kB / 0.7039 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.4973, allocations: 89.09 kB / 0.704 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.4973, allocations: 34.56 kB / 0.704 GB, free: 14.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4973, allocations: 4 kB / 0.704 GB, free: 14.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002157/0.4976, allocations: 49.62 kB / 0.7041 GB, free: 13.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.4976, allocations: 55.41 kB / 0.7041 GB, free: 13.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.4977, allocations: 105.8 kB / 0.7042 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.4977, allocations: 25.7 kB / 0.7043 GB, free: 13.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.4977, allocations: 91.98 kB / 0.7044 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-06/0.4977, allocations: 7.906 kB / 0.7044 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.4978, allocations: 21.83 kB / 0.7044 GB, free: 13.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.4979, allocations: 310.8 kB / 0.7047 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.4979, allocations: 8 kB / 0.7047 GB, free: 13.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.4979, allocations: 22.56 kB / 0.7047 GB, free: 13.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.498, allocations: 30.52 kB / 0.7047 GB, free: 13.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.498, allocations: 4 kB / 0.7047 GB, free: 13.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.508e-05/0.4981, allocations: 53.62 kB / 0.7048 GB, free: 13.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4981, allocations: 8 kB / 0.7048 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.4981, allocations: 0 / 0.7048 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.4981, allocations: 0 / 0.7048 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.4982, allocations: 8 kB / 0.7048 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4982, allocations: 3.938 kB / 0.7048 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.4982, allocations: 3.906 kB / 0.7048 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4982, allocations: 8 kB / 0.7048 GB, free: 13.15 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.235e-05/0.4983, allocations: 117.9 kB / 0.7049 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.4983, allocations: 4 kB / 0.7049 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.4983, allocations: 7.125 kB / 0.7049 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4983, allocations: 4 kB / 0.7049 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4984, allocations: 3.938 kB / 0.705 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4984, allocations: 0 / 0.705 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.4986, allocations: 363.6 kB / 0.7053 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4987, allocations: 0 / 0.7053 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.4987, allocations: 4 kB / 0.7053 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4987, allocations: 7.875 kB / 0.7053 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.4987, allocations: 3.938 kB / 0.7053 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4987, allocations: 0 / 0.7053 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4987, allocations: 0 / 0.7053 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.249e-05/0.4988, allocations: 82.05 kB / 0.7054 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.4988, allocations: 85.23 kB / 0.7055 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.4989, allocations: 0 / 0.7055 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.499, allocations: 4 kB / 0.7055 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.499, allocations: 7.969 kB / 0.7055 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.499, allocations: 4 kB / 0.7055 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.499, allocations: 79.28 kB / 0.7056 GB, free: 12.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.499, allocations: 0 / 0.7056 GB, free: 12.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001848/0.4992, allocations: 8 kB / 0.7056 GB, free: 12.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 0.0001015/0.4993, allocations: 108 kB / 0.7057 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.463e-05/0.4994, allocations: 11.98 kB / 0.7057 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4994, allocations: 0 / 0.7057 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.4994, allocations: 11.94 kB / 0.7057 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.4997, allocations: 4.312 kB / 0.7057 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.4999, allocations: 131.3 kB / 0.7058 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.5001, allocations: 0.6768 MB / 0.7065 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.5002, allocations: 7.984 kB / 0.7065 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.5002, allocations: 11.44 kB / 0.7065 GB, free: 11.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5002, allocations: 4 kB / 0.7065 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Templates: time 0.002394/0.5026, allocations: 0.5706 MB / 0.7071 GB, free: 10.68 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)