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.008166/0.008166, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.001718/0.001719, allocations: 196.6 kB / 16.67 MB, free: 5.938 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.531/1.531, allocations: 205.1 MB / 222.5 MB, free: 4.137 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.5876/0.5876, allocations: 95.48 MB / 365.4 MB, free: 9.695 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.002764/0.002764, allocations: 74.56 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1627, allocations: 69.08 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion): time 0.5389/0.7017, allocations: 158.9 MB / 0.7262 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 6.132e-05/0.7018, allocations: 22.72 kB / 0.7263 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.7019, allocations: 0 / 0.7263 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.702, allocations: 7.938 kB / 0.7263 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.7021, allocations: 19.91 kB / 0.7263 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.7038, allocations: 0.5586 MB / 0.7268 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.149e-05/0.7039, allocations: 30.73 kB / 0.7269 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.7039, allocations: 7.922 kB / 0.7269 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.225e-05/0.704, allocations: 11.94 kB / 0.7269 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.7041, allocations: 15.97 kB / 0.7269 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.7041, allocations: 0 / 0.7269 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.7054, allocations: 0.6277 MB / 0.7275 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.7054, allocations: 4 kB / 0.7275 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.7055, allocations: 15.92 kB / 0.7275 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.7064, allocations: 391.2 kB / 0.7279 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7064, allocations: 0 / 0.7279 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7064, allocations: 0 / 0.7279 GB, free: 13.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.7064, allocations: 0 / 0.7279 GB, free: 13.89 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.000707/0.7071, allocations: 411.2 kB / 0.7283 GB, free: 13.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.7072, allocations: 11.98 kB / 0.7283 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.7073, allocations: 7.688 kB / 0.7283 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.7074, allocations: 159.1 kB / 0.7285 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.315e-05/0.7075, allocations: 37.67 kB / 0.7285 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.7076, allocations: 4 kB / 0.7285 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.7077, allocations: 45.69 kB / 0.7285 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.7077, allocations: 7.875 kB / 0.7286 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.7078, allocations: 0 / 0.7286 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.7078, allocations: 4 kB / 0.7286 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/0.7079, allocations: 19.98 kB / 0.7286 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.7083, allocations: 272.7 kB / 0.7288 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.7084, allocations: 18.58 kB / 0.7289 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.7084, allocations: 8.922 kB / 0.7289 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.7084, allocations: 0 / 0.7289 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.7085, allocations: 38.48 kB / 0.7289 GB, free: 12.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.7085, allocations: 0 / 0.7289 GB, free: 12.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.7086, allocations: 37.7 kB / 0.7289 GB, free: 12.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.7087, allocations: 55.47 kB / 0.729 GB, free: 12.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.7088, allocations: 109.8 kB / 0.7291 GB, free: 12.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.7088, allocations: 25.7 kB / 0.7291 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.7089, allocations: 84.05 kB / 0.7292 GB, free: 12.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/0.7089, allocations: 3.906 kB / 0.7292 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.709, allocations: 21.72 kB / 0.7292 GB, free: 12.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7091, allocations: 318.8 kB / 0.7295 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.7091, allocations: 4 kB / 0.7295 GB, free: 12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.7092, allocations: 34.5 kB / 0.7296 GB, free: 11.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.7092, allocations: 26.58 kB / 0.7296 GB, free: 11.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7092, allocations: 0 / 0.7296 GB, free: 11.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.242e-05/0.7093, allocations: 57.62 kB / 0.7296 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.7093, allocations: 4 kB / 0.7296 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7094, allocations: 4.094 kB / 0.7297 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.7094, allocations: 0 / 0.7297 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.7094, allocations: 11.94 kB / 0.7297 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.7095, allocations: 3.984 kB / 0.7297 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.7095, allocations: 7.906 kB / 0.7297 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.7095, allocations: 0 / 0.7297 GB, free: 11.83 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.687e-05/0.7096, allocations: 121.7 kB / 0.7298 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.7096, allocations: 0 / 0.7298 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.7098, allocations: 124.9 kB / 0.7299 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.85e-05/0.7098, allocations: 180.5 kB / 0.7301 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.857e-05/0.7099, allocations: 180.3 kB / 0.7303 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.812e-05/0.71, allocations: 184.2 kB / 0.7304 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.7102, allocations: 405.2 kB / 0.7308 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/0.7103, allocations: 109 kB / 0.7309 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.7103, allocations: 108.9 kB / 0.731 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.213e-05/0.7104, allocations: 180.2 kB / 0.7312 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.7105, allocations: 193 kB / 0.7314 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.636e-05/0.7106, allocations: 176.3 kB / 0.7315 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-05/0.7107, allocations: 180.2 kB / 0.7317 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.7108, allocations: 311.8 kB / 0.732 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-05/0.7109, allocations: 186 kB / 0.7322 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.711, allocations: 176.3 kB / 0.7324 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.7112, allocations: 108.5 kB / 0.7325 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.7112, allocations: 192.2 kB / 0.7326 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.7113, allocations: 101.3 kB / 0.7327 GB, free: 8.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.7114, allocations: 79.28 kB / 0.7328 GB, free: 8.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7114, allocations: 0 / 0.7328 GB, free: 8.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004483/0.7118, allocations: 111.9 kB / 0.7329 GB, free: 8.285 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.0009514/0.7128, allocations: 364.3 kB / 0.7333 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.7129, allocations: 12 kB / 0.7333 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7129, allocations: 0 / 0.7333 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.7129, allocations: 0 / 0.7333 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.7134, allocations: 467.8 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.0003103/0.7137, allocations: 182.4 kB / 0.7339 GB, free: 7.254 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.714, allocations: 0.6768 MB / 0.7346 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.714, allocations: 9.344 kB / 0.7346 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.7141, allocations: 15.42 kB / 0.7346 GB, free: 6.527 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.7141, allocations: 0 / 0.7346 GB, free: 6.527 MB / 0.545 GB Notification: Performance of Templates: time 0.005547/0.7196, allocations: 2.305 MB / 0.7368 GB, free: 4.266 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)