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.001219/0.001219, allocations: 106.9 kB / 15.99 MB, free: 6.332 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.001274/0.001274, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7723/0.7723, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.84 kB / 0.4906 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3508, allocations: 77.92 MB / 0.5667 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1546/0.5055, allocations: 146.2 MB / 0.7095 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001322/0.5056, allocations: 51.86 kB / 0.7095 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.5057, allocations: 0 / 0.7095 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.5058, allocations: 15.86 kB / 0.7095 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.5059, allocations: 11.94 kB / 0.7095 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.5067, allocations: 202.2 kB / 0.7097 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.5068, allocations: 31.92 kB / 0.7098 GB, free: 8.047 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.5069, allocations: 0 / 0.7098 GB, free: 8.047 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.5069, allocations: 27.91 kB / 0.7098 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.507, allocations: 15.92 kB / 0.7098 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.507, allocations: 0 / 0.7098 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.5074, allocations: 199.4 kB / 0.71 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.5075, allocations: 7.984 kB / 0.71 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.5075, allocations: 11.98 kB / 0.71 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.5078, allocations: 129.7 kB / 0.7101 GB, free: 7.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.5079, allocations: 0 / 0.7101 GB, free: 7.664 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5079, allocations: 0 / 0.7101 GB, free: 7.664 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5079, allocations: 0 / 0.7101 GB, free: 7.664 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.0004409/0.5083, allocations: 351.4 kB / 0.7105 GB, free: 7.273 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5084, allocations: 8.625 kB / 0.7105 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.5087, allocations: 28.84 kB / 0.7105 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.5088, allocations: 160.4 kB / 0.7107 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.5089, allocations: 29.64 kB / 0.7107 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.5089, allocations: 0 / 0.7107 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.5091, allocations: 57.61 kB / 0.7107 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5091, allocations: 11.92 kB / 0.7108 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5091, allocations: 0 / 0.7108 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5091, allocations: 0 / 0.7108 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.5092, allocations: 23.98 kB / 0.7108 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.5095, allocations: 248.9 kB / 0.711 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.7e-05/0.5096, allocations: 34.55 kB / 0.711 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.5096, allocations: 8.859 kB / 0.7111 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.5098, allocations: 93.16 kB / 0.7111 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.5098, allocations: 34.56 kB / 0.7112 GB, free: 6.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.5098, allocations: 0 / 0.7112 GB, free: 6.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002451/0.5101, allocations: 49.59 kB / 0.7112 GB, free: 6.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.5101, allocations: 59.53 kB / 0.7113 GB, free: 6.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.5102, allocations: 101.8 kB / 0.7114 GB, free: 6.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.5102, allocations: 25.7 kB / 0.7114 GB, free: 6.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.5103, allocations: 99.97 kB / 0.7115 GB, free: 6.043 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.645e-06/0.5103, allocations: 0 / 0.7115 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.5104, allocations: 21.66 kB / 0.7115 GB, free: 6.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5105, allocations: 314.8 kB / 0.7118 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.5105, allocations: 4 kB / 0.7118 GB, free: 5.695 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.5105, allocations: 30.58 kB / 0.7119 GB, free: 5.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.5106, allocations: 30.56 kB / 0.7119 GB, free: 5.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5106, allocations: 8 kB / 0.7119 GB, free: 5.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.226e-05/0.5107, allocations: 53.55 kB / 0.7119 GB, free: 5.551 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5107, allocations: 12.03 kB / 0.712 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.5107, allocations: 3.984 kB / 0.712 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.5107, allocations: 0 / 0.712 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.5108, allocations: 8 kB / 0.712 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.5108, allocations: 3.938 kB / 0.712 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.5108, allocations: 0 / 0.712 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.5109, allocations: 4 kB / 0.712 GB, free: 5.52 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 7.262e-05/0.5109, allocations: 109.8 kB / 0.7121 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.511, allocations: 0 / 0.7121 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.511, allocations: 11.12 kB / 0.7121 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.511, allocations: 0 / 0.7121 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.511, allocations: 7.922 kB / 0.7121 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.511, allocations: 3.938 kB / 0.7121 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.5113, allocations: 363.5 kB / 0.7124 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5113, allocations: 3.938 kB / 0.7124 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.5114, allocations: 7.984 kB / 0.7125 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5114, allocations: 3.938 kB / 0.7125 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.5114, allocations: 4.062 kB / 0.7125 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5114, allocations: 0 / 0.7125 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5114, allocations: 4 kB / 0.7125 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.53e-05/0.5115, allocations: 65.94 kB / 0.7125 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.5115, allocations: 85.03 kB / 0.7126 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.5116, allocations: 4 kB / 0.7126 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.5116, allocations: 4.031 kB / 0.7126 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.5117, allocations: 4 kB / 0.7126 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.5117, allocations: 0 / 0.7126 GB, free: 4.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.5117, allocations: 87.55 kB / 0.7127 GB, free: 4.656 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5117, allocations: 0 / 0.7127 GB, free: 4.656 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001992/0.5119, allocations: 8 kB / 0.7127 GB, free: 4.648 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.0001287/0.5121, allocations: 99.38 kB / 0.7128 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.083e-05/0.5122, allocations: 19.94 kB / 0.7128 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5122, allocations: 4 kB / 0.7128 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.5122, allocations: 7.984 kB / 0.7128 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.5125, allocations: 3.938 kB / 0.7128 GB, free: 4.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.5128, allocations: 131.6 kB / 0.713 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.513, allocations: 0.6768 MB / 0.7136 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.542e-05/0.5131, allocations: 4 kB / 0.7136 GB, free: 3.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.5131, allocations: 7.438 kB / 0.7136 GB, free: 3.633 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5131, allocations: 4 kB / 0.7136 GB, free: 3.629 MB / 0.545 GB Notification: Performance of Templates: time 0.002977/0.5161, allocations: 0.5734 MB / 0.7142 GB, free: 3.062 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)