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.005453/0.005453, allocations: 101.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.001049/0.001049, allocations: 183.8 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.6336/0.6336, allocations: 95.48 MB / 365.4 MB, free: 9.793 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.001442/0.001442, allocations: 71.89 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1864, allocations: 69.09 MB / 0.5711 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion): time 0.6812/0.8676, allocations: 158.9 MB / 0.7262 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 9.717e-05/0.8677, allocations: 30.7 kB / 0.7263 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.8678, allocations: 0 / 0.7263 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.868, allocations: 7.938 kB / 0.7263 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.8681, allocations: 11.91 kB / 0.7263 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.8701, allocations: 0.5591 MB / 0.7268 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.091e-05/0.8702, allocations: 27.91 kB / 0.7269 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.8703, allocations: 11.28 kB / 0.7269 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.8703, allocations: 15.88 kB / 0.7269 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.8704, allocations: 7.984 kB / 0.7269 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.8704, allocations: 4 kB / 0.7269 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.8716, allocations: 0.6316 MB / 0.7275 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.8717, allocations: 4 kB / 0.7275 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.8717, allocations: 15.92 kB / 0.7275 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.8723, allocations: 391.2 kB / 0.7279 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8724, allocations: 0 / 0.7279 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8724, allocations: 0 / 0.7279 GB, free: 13.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8724, allocations: 4 kB / 0.7279 GB, free: 13.88 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.0005572/0.8729, allocations: 407.2 kB / 0.7283 GB, free: 13.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.873, allocations: 11.98 kB / 0.7283 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.873, allocations: 3.625 kB / 0.7283 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.8732, allocations: 167.1 kB / 0.7285 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.8732, allocations: 25.7 kB / 0.7285 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.8732, allocations: 0 / 0.7285 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.8734, allocations: 53.69 kB / 0.7285 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8734, allocations: 3.938 kB / 0.7286 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.8734, allocations: 0 / 0.7286 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.8735, allocations: 7.922 kB / 0.7286 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.8735, allocations: 23.98 kB / 0.7286 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.8739, allocations: 268.8 kB / 0.7288 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.874, allocations: 14.58 kB / 0.7289 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.874, allocations: 12.8 kB / 0.7289 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.8741, allocations: 8.047 kB / 0.7289 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.8741, allocations: 38.5 kB / 0.7289 GB, free: 12.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.8741, allocations: 0 / 0.7289 GB, free: 12.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.8743, allocations: 33.7 kB / 0.7289 GB, free: 12.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.8743, allocations: 51.41 kB / 0.729 GB, free: 12.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.8745, allocations: 105.8 kB / 0.7291 GB, free: 12.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.8745, allocations: 25.83 kB / 0.7291 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.8746, allocations: 88.05 kB / 0.7292 GB, free: 12.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.8746, allocations: 3.906 kB / 0.7292 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.8746, allocations: 25.64 kB / 0.7292 GB, free: 12.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8747, allocations: 318.8 kB / 0.7295 GB, free: 12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.8748, allocations: 4 kB / 0.7295 GB, free: 12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.8748, allocations: 30.5 kB / 0.7296 GB, free: 11.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.344e-05/0.8749, allocations: 30.58 kB / 0.7296 GB, free: 11.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8749, allocations: 0 / 0.7296 GB, free: 11.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.221e-05/0.875, allocations: 53.62 kB / 0.7296 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.875, allocations: 8 kB / 0.7297 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.875, allocations: 0 / 0.7297 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.875, allocations: 0 / 0.7297 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.8751, allocations: 20.02 kB / 0.7297 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.8751, allocations: 0 / 0.7297 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.8751, allocations: 3.906 kB / 0.7297 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.8751, allocations: 4 kB / 0.7297 GB, free: 11.82 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.225e-05/0.8752, allocations: 121.7 kB / 0.7298 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.8752, allocations: 288 / 0.7298 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.8754, allocations: 120.9 kB / 0.7299 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.307e-05/0.8754, allocations: 188.2 kB / 0.7301 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.898e-05/0.8755, allocations: 180.3 kB / 0.7303 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-05/0.8756, allocations: 184.2 kB / 0.7304 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.8758, allocations: 401.2 kB / 0.7308 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/0.8758, allocations: 109 kB / 0.7309 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.8759, allocations: 108.9 kB / 0.731 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-05/0.8759, allocations: 180.3 kB / 0.7312 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.876, allocations: 184.1 kB / 0.7314 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.026e-05/0.8761, allocations: 184.3 kB / 0.7316 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.154e-05/0.8761, allocations: 180.2 kB / 0.7317 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.8763, allocations: 315.7 kB / 0.732 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.8763, allocations: 182 kB / 0.7322 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.8764, allocations: 180.3 kB / 0.7324 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.8765, allocations: 109 kB / 0.7325 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.8766, allocations: 180.5 kB / 0.7326 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.8767, allocations: 109 kB / 0.7327 GB, free: 8.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.135e-05/0.8767, allocations: 83.27 kB / 0.7328 GB, free: 8.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8767, allocations: 0 / 0.7328 GB, free: 8.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004051/0.8771, allocations: 107.9 kB / 0.7329 GB, free: 8.273 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.0007248/0.8779, allocations: 354.4 kB / 0.7333 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.8779, allocations: 12 kB / 0.7333 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.878, allocations: 0 / 0.7333 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.878, allocations: 4 kB / 0.7333 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.8783, allocations: 459.6 kB / 0.7337 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.8786, allocations: 181.6 kB / 0.7339 GB, free: 7.254 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.8788, allocations: 0.6768 MB / 0.7346 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.8789, allocations: 15.3 kB / 0.7346 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.8789, allocations: 7.438 kB / 0.7346 GB, free: 6.531 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.8789, allocations: 4 kB / 0.7346 GB, free: 6.527 MB / 0.545 GB Notification: Performance of Templates: time 0.005547/0.8845, allocations: 2.306 MB / 0.7368 GB, free: 4.242 MB / 0.545 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)