Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006244/0.006244, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001186/0.001186, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4728/0.4728, allocations: 95.48 MB / 365.4 MB, free: 12.17 MB / 318.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.001593/0.001593, allocations: 67.89 kB / 0.5036 GB, free: 11.86 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4791, allocations: 69.1 MB / 0.5711 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion): time 0.2134/0.6925, allocations: 158.9 MB / 0.7262 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 8.602e-05/0.6927, allocations: 19.97 kB / 0.7263 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.6928, allocations: 3.938 kB / 0.7263 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.6929, allocations: 11.92 kB / 0.7263 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.6931, allocations: 11.98 kB / 0.7263 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.6955, allocations: 0.5632 MB / 0.7268 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.6956, allocations: 27.91 kB / 0.7269 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.6957, allocations: 7.938 kB / 0.7269 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.244e-05/0.6957, allocations: 11.98 kB / 0.7269 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.016e-05/0.6958, allocations: 11.92 kB / 0.7269 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.6959, allocations: 4 kB / 0.7269 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.6972, allocations: 0.6269 MB / 0.7275 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.6972, allocations: 7.984 kB / 0.7275 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.6973, allocations: 15.92 kB / 0.7275 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.6979, allocations: 389.5 kB / 0.7279 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.698, allocations: 0 / 0.7279 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.485e-06/0.698, allocations: 3.938 kB / 0.7279 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.698, allocations: 0 / 0.7279 GB, free: 2.941 MB / 0.5762 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.0007153/0.6987, allocations: 411.2 kB / 0.7283 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.6988, allocations: 11.98 kB / 0.7283 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.6988, allocations: 0 / 0.7283 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.699, allocations: 163.1 kB / 0.7285 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/0.6991, allocations: 33.69 kB / 0.7285 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.6991, allocations: 0 / 0.7285 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.6993, allocations: 57.61 kB / 0.7286 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6993, allocations: 0 / 0.7286 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.6993, allocations: 3.984 kB / 0.7286 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.6994, allocations: 0 / 0.7286 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.6994, allocations: 27.92 kB / 0.7286 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.7, allocations: 276.7 kB / 0.7288 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.96e-05/0.7001, allocations: 18.58 kB / 0.7289 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.7001, allocations: 4.859 kB / 0.7289 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.7002, allocations: 4.062 kB / 0.7289 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.7002, allocations: 30.56 kB / 0.7289 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7002, allocations: 0 / 0.7289 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001722/0.7004, allocations: 45.62 kB / 0.7289 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/0.7005, allocations: 51.41 kB / 0.729 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.7006, allocations: 106 kB / 0.7291 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.7006, allocations: 25.7 kB / 0.7291 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.7009, allocations: 88.03 kB / 0.7292 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.7009, allocations: 3.906 kB / 0.7292 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.7009, allocations: 17.72 kB / 0.7292 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7011, allocations: 318.8 kB / 0.7295 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.7011, allocations: 7.922 kB / 0.7295 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.135e-05/0.7012, allocations: 30.58 kB / 0.7296 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.7013, allocations: 34.5 kB / 0.7296 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7013, allocations: 0 / 0.7296 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.573e-05/0.7014, allocations: 53.62 kB / 0.7296 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7014, allocations: 8 kB / 0.7297 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7014, allocations: 4.094 kB / 0.7297 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.7014, allocations: 0 / 0.7297 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.7015, allocations: 8 kB / 0.7297 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7015, allocations: 0 / 0.7297 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.7016, allocations: 0 / 0.7297 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.7016, allocations: 4 kB / 0.7297 GB, free: 0.8828 MB / 0.5762 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.578e-05/0.7017, allocations: 130.3 kB / 0.7298 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.7017, allocations: 3.906 kB / 0.7298 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.7018, allocations: 117 kB / 0.7299 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-05/0.7019, allocations: 180.2 kB / 0.7301 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.693e-05/0.702, allocations: 180.2 kB / 0.7303 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.628e-05/0.7021, allocations: 184.3 kB / 0.7304 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.7025, allocations: 405.1 kB / 0.7308 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.859e-05/0.7026, allocations: 109 kB / 0.7309 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.7026, allocations: 112.9 kB / 0.731 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.462e-05/0.7027, allocations: 176.3 kB / 0.7312 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/0.7028, allocations: 180.2 kB / 0.7314 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-05/0.7029, allocations: 192.2 kB / 0.7316 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-05/0.703, allocations: 176.3 kB / 0.7317 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.7032, allocations: 311.7 kB / 0.732 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.152e-05/0.7033, allocations: 178.1 kB / 0.7322 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7034, allocations: 188.2 kB / 0.7324 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.7036, allocations: 101 kB / 0.7325 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-05/0.7037, allocations: 188.2 kB / 0.7326 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.065e-05/0.7038, allocations: 109 kB / 0.7327 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.847e-05/0.7038, allocations: 83.27 kB / 0.7328 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7038, allocations: 0 / 0.7328 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005506/0.7044, allocations: 103.9 kB / 0.7329 GB, free: 13.33 MB / 0.5919 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.0008983/0.7053, allocations: 357.1 kB / 0.7333 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.852e-05/0.7054, allocations: 23.86 kB / 0.7333 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7054, allocations: 0 / 0.7333 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.7054, allocations: 4 kB / 0.7333 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.7062, allocations: 459.8 kB / 0.7337 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.7066, allocations: 185.9 kB / 0.7339 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.7071, allocations: 0.6768 MB / 0.7346 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.832e-05/0.7072, allocations: 12.25 kB / 0.7346 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.7072, allocations: 7.438 kB / 0.7346 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.7072, allocations: 0 / 0.7346 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.006267/0.7135, allocations: 2.302 MB / 0.7368 GB, free: 9.281 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)