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.001024/0.001024, allocations: 108.9 kB / 17.03 MB, free: 6.094 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.001048/0.001048, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.42/1.42, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7107/0.7107, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 59.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3567, allocations: 76.14 MB / 0.5575 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1511/0.5078, allocations: 148.3 MB / 0.7023 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.508, allocations: 43.88 kB / 0.7024 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.508, allocations: 0 / 0.7024 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.5081, allocations: 7.984 kB / 0.7024 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.5083, allocations: 19.92 kB / 0.7024 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.509, allocations: 211.2 kB / 0.7026 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.5091, allocations: 35.78 kB / 0.7026 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.5091, allocations: 7.984 kB / 0.7027 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.5092, allocations: 12 kB / 0.7027 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.5093, allocations: 19.91 kB / 0.7027 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.5093, allocations: 4 kB / 0.7027 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.5097, allocations: 191.5 kB / 0.7029 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.5097, allocations: 11.92 kB / 0.7029 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.5097, allocations: 4 kB / 0.7029 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.51, allocations: 121.5 kB / 0.703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.51, allocations: 0 / 0.703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.51, allocations: 0 / 0.703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.51, allocations: 0 / 0.703 GB, free: 15.11 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.0003636/0.5104, allocations: 343.4 kB / 0.7033 GB, free: 14.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.5104, allocations: 12.03 kB / 0.7033 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/0.5107, allocations: 28.81 kB / 0.7034 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.5108, allocations: 164.4 kB / 0.7035 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.5109, allocations: 29.64 kB / 0.7036 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.5109, allocations: 0 / 0.7036 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.511, allocations: 49.67 kB / 0.7036 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.511, allocations: 4 kB / 0.7036 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5111, allocations: 4 kB / 0.7036 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.5111, allocations: 3.938 kB / 0.7036 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.187e-05/0.5111, allocations: 19.98 kB / 0.7036 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.5115, allocations: 256.8 kB / 0.7039 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.592e-05/0.5115, allocations: 30.55 kB / 0.7039 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.5116, allocations: 8.859 kB / 0.7039 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.5117, allocations: 97.16 kB / 0.704 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.5117, allocations: 34.5 kB / 0.704 GB, free: 13.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5118, allocations: 0 / 0.704 GB, free: 13.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002428/0.512, allocations: 49.69 kB / 0.7041 GB, free: 13.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.512, allocations: 51.41 kB / 0.7041 GB, free: 13.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.5121, allocations: 109.9 kB / 0.7042 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.5121, allocations: 25.7 kB / 0.7043 GB, free: 13.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.5122, allocations: 95.97 kB / 0.7044 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.5122, allocations: 7.906 kB / 0.7044 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.5123, allocations: 13.72 kB / 0.7044 GB, free: 13.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5124, allocations: 318.8 kB / 0.7047 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.5124, allocations: 4 kB / 0.7047 GB, free: 13.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.5124, allocations: 26.52 kB / 0.7047 GB, free: 13.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.5125, allocations: 30.56 kB / 0.7047 GB, free: 13.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5125, allocations: 0 / 0.7047 GB, free: 13.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.778e-05/0.5126, allocations: 49.64 kB / 0.7048 GB, free: 13.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5126, allocations: 8 kB / 0.7048 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5126, allocations: 8.078 kB / 0.7048 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.5126, allocations: 0 / 0.7048 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.5127, allocations: 8 kB / 0.7048 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5127, allocations: 7.875 kB / 0.7048 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.5127, allocations: 7.906 kB / 0.7048 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.5127, allocations: 8 kB / 0.7048 GB, free: 12.98 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.012e-05/0.5128, allocations: 105.8 kB / 0.7049 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.5128, allocations: 4 kB / 0.7049 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.5129, allocations: 7.125 kB / 0.7049 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5129, allocations: 7.984 kB / 0.705 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5129, allocations: 3.938 kB / 0.705 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5129, allocations: 0 / 0.705 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.5131, allocations: 355.9 kB / 0.7053 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5132, allocations: 0 / 0.7053 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.5132, allocations: 7.984 kB / 0.7053 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5132, allocations: 7.875 kB / 0.7053 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.5132, allocations: 4.062 kB / 0.7053 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5132, allocations: 0 / 0.7053 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5132, allocations: 7.984 kB / 0.7053 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.401e-05/0.5133, allocations: 73.94 kB / 0.7054 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.5134, allocations: 88.94 kB / 0.7055 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.5134, allocations: 4 kB / 0.7055 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.5135, allocations: 4.031 kB / 0.7055 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.5135, allocations: 7.938 kB / 0.7055 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5135, allocations: 0 / 0.7055 GB, free: 12.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.5135, allocations: 83.27 kB / 0.7056 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5135, allocations: 0 / 0.7056 GB, free: 12.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001925/0.5137, allocations: 8 kB / 0.7056 GB, free: 12.1 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.0001028/0.5138, allocations: 99.25 kB / 0.7057 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.034e-05/0.5139, allocations: 19.94 kB / 0.7057 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5139, allocations: 0 / 0.7057 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.5139, allocations: 7.984 kB / 0.7057 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.5142, allocations: 9.578 kB / 0.7057 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.5144, allocations: 127.6 kB / 0.7058 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.5146, allocations: 0.6807 MB / 0.7065 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.5147, allocations: 4 kB / 0.7065 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.5147, allocations: 11.44 kB / 0.7065 GB, free: 11.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5147, allocations: 0 / 0.7065 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Templates: time 0.002428/0.5172, allocations: 0.5747 MB / 0.7071 GB, free: 10.52 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)