Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006005/0.006005, allocations: 102.8 kB / 15.73 MB, free: 5.984 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.001242/0.001242, allocations: 195.2 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7007/0.7007, allocations: 95.48 MB / 365.4 MB, free: 9.773 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 63.89 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 69.09 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion): time 0.5232/0.6643, allocations: 158.9 MB / 0.7262 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 6.158e-05/0.6644, allocations: 30.7 kB / 0.7263 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.6644, allocations: 0 / 0.7263 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.6646, allocations: 7.922 kB / 0.7263 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.6647, allocations: 0 / 0.7263 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.6666, allocations: 0.5618 MB / 0.7268 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.6667, allocations: 34.66 kB / 0.7269 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.6667, allocations: 4 kB / 0.7269 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.737e-05/0.6668, allocations: 15.92 kB / 0.7269 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/0.6668, allocations: 11.98 kB / 0.7269 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.6669, allocations: 4 kB / 0.7269 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.668, allocations: 0.6315 MB / 0.7275 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.6681, allocations: 7.984 kB / 0.7275 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.6681, allocations: 11.92 kB / 0.7275 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006253/0.6688, allocations: 387.2 kB / 0.7279 GB, free: 13.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6688, allocations: 0 / 0.7279 GB, free: 13.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6688, allocations: 0 / 0.7279 GB, free: 13.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.6688, allocations: 0 / 0.7279 GB, free: 13.87 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.0005458/0.6694, allocations: 415.2 kB / 0.7283 GB, free: 13.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.6694, allocations: 11.98 kB / 0.7283 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.6695, allocations: 0 / 0.7283 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.6696, allocations: 171 kB / 0.7285 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.167e-05/0.6697, allocations: 25.7 kB / 0.7285 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.6697, allocations: 3.984 kB / 0.7285 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.6699, allocations: 49.67 kB / 0.7285 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6699, allocations: 3.938 kB / 0.7285 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.6699, allocations: 4 kB / 0.7285 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.6699, allocations: 4 kB / 0.7286 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.67, allocations: 19.98 kB / 0.7286 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.6704, allocations: 272.7 kB / 0.7288 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.6705, allocations: 18.58 kB / 0.7288 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.6705, allocations: 8.797 kB / 0.7289 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.6705, allocations: 4.062 kB / 0.7289 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.6705, allocations: 34.56 kB / 0.7289 GB, free: 12.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.6705, allocations: 0 / 0.7289 GB, free: 12.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001702/0.6707, allocations: 45.62 kB / 0.7289 GB, free: 12.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.6708, allocations: 55.34 kB / 0.729 GB, free: 12.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.6709, allocations: 101.9 kB / 0.7291 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.6709, allocations: 25.7 kB / 0.7291 GB, free: 12.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.671, allocations: 88.03 kB / 0.7292 GB, free: 12.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.671, allocations: 3.906 kB / 0.7292 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.671, allocations: 21.84 kB / 0.7292 GB, free: 12.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6712, allocations: 318.8 kB / 0.7295 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.6712, allocations: 3.984 kB / 0.7295 GB, free: 11.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.6712, allocations: 26.58 kB / 0.7296 GB, free: 11.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.6713, allocations: 38.5 kB / 0.7296 GB, free: 11.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6713, allocations: 0 / 0.7296 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.728e-05/0.6714, allocations: 53.62 kB / 0.7296 GB, free: 11.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6714, allocations: 8.625 kB / 0.7296 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6714, allocations: 0.875 kB / 0.7296 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.6714, allocations: 0 / 0.7296 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.6715, allocations: 8 kB / 0.7297 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.6715, allocations: 0 / 0.7297 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.6715, allocations: 3.906 kB / 0.7297 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.6716, allocations: 8.094 kB / 0.7297 GB, free: 11.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 8.529e-05/0.6717, allocations: 121.7 kB / 0.7298 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.6717, allocations: 0 / 0.7298 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.6718, allocations: 124.9 kB / 0.7299 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.425e-05/0.6719, allocations: 176.3 kB / 0.7301 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-05/0.672, allocations: 192.1 kB / 0.7303 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.779e-05/0.6721, allocations: 180.3 kB / 0.7304 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.6723, allocations: 409.1 kB / 0.7308 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-05/0.6724, allocations: 105 kB / 0.7309 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.6724, allocations: 101 kB / 0.731 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.327e-05/0.6725, allocations: 184.2 kB / 0.7312 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.6726, allocations: 184.3 kB / 0.7314 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.864e-05/0.6726, allocations: 188.2 kB / 0.7315 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-05/0.6727, allocations: 181.4 kB / 0.7317 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.6728, allocations: 307.7 kB / 0.732 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.6729, allocations: 182.4 kB / 0.7322 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.673, allocations: 188.2 kB / 0.7324 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.6731, allocations: 101 kB / 0.7325 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.6732, allocations: 180.2 kB / 0.7326 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.6732, allocations: 109.2 kB / 0.7327 GB, free: 8.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.6733, allocations: 87.27 kB / 0.7328 GB, free: 8.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6733, allocations: 4 kB / 0.7328 GB, free: 8.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003949/0.6737, allocations: 107.9 kB / 0.7329 GB, free: 8.254 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 (0): * Single equations (assignments): 0 * 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.0006543/0.6744, allocations: 352.9 kB / 0.7333 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.634e-05/0.6744, allocations: 23.92 kB / 0.7333 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6745, allocations: 4 kB / 0.7333 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.6745, allocations: 0 / 0.7333 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.6748, allocations: 466.1 kB / 0.7337 GB, free: 7.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.6751, allocations: 183.3 kB / 0.7339 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.6754, allocations: 0.6729 MB / 0.7346 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.265e-05/0.6754, allocations: 12.19 kB / 0.7346 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.6755, allocations: 7.438 kB / 0.7346 GB, free: 6.504 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6755, allocations: 0 / 0.7346 GB, free: 6.504 MB / 0.545 GB Notification: Performance of Templates: time 0.004921/0.6804, allocations: 2.315 MB / 0.7368 GB, free: 4.234 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)