Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.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.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008822, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0009596/0.0009596, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.5588/0.5588, allocations: 95.59 MB / 366 MB, free: 10.36 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.0005629/0.0005631, allocations: 16 kB / 446.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2876, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.4363/0.7239, allocations: 132.2 MB / 0.6341 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.7241, allocations: 135.5 kB / 0.6343 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.7242, allocations: 0 / 0.6343 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.7243, allocations: 3 kB / 0.6343 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.865e-05/0.7243, allocations: 9.438 kB / 0.6343 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.725, allocations: 172.8 kB / 0.6344 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.374e-05/0.7251, allocations: 14.25 kB / 0.6345 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.7252, allocations: 1.594 kB / 0.6345 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.7252, allocations: 14.16 kB / 0.6345 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.7253, allocations: 7.906 kB / 0.6345 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.7253, allocations: 1.531 kB / 0.6345 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006556/0.726, allocations: 254.4 kB / 0.6347 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.726, allocations: 4.781 kB / 0.6347 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.7262, allocations: 33.02 kB / 0.6348 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.7264, allocations: 105.6 kB / 0.6349 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7265, allocations: 2.812 kB / 0.6349 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7265, allocations: 0 / 0.6349 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.7265, allocations: 0.8125 kB / 0.6349 GB, free: 17.88 MB / 0.4981 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.000439/0.7269, allocations: 358 kB / 0.6352 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.727, allocations: 13.45 kB / 0.6352 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.727, allocations: 5.578 kB / 0.6352 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.7272, allocations: 163.6 kB / 0.6354 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.7272, allocations: 31.91 kB / 0.6354 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.7273, allocations: 1.5 kB / 0.6354 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.7274, allocations: 47.86 kB / 0.6355 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.7274, allocations: 0 / 0.6355 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.7274, allocations: 0.5156 kB / 0.6355 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.7275, allocations: 6.641 kB / 0.6355 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.937e-05/0.7275, allocations: 25.86 kB / 0.6355 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.7279, allocations: 262.7 kB / 0.6357 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.138e-05/0.7279, allocations: 21.67 kB / 0.6358 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.7279, allocations: 1.391 kB / 0.6358 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.728, allocations: 35.36 kB / 0.6358 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.728, allocations: 0 / 0.6358 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.7281, allocations: 46.33 kB / 0.6358 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.7282, allocations: 52.83 kB / 0.6359 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.7282, allocations: 107.6 kB / 0.636 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.7283, allocations: 25.7 kB / 0.636 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.7283, allocations: 89.69 kB / 0.6361 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/0.7283, allocations: 2.094 kB / 0.6361 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.7283, allocations: 5 kB / 0.6361 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7284, allocations: 315.2 kB / 0.6364 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.7285, allocations: 8.125 kB / 0.6364 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.7285, allocations: 22.91 kB / 0.6364 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.7285, allocations: 16.66 kB / 0.6365 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7285, allocations: 0 / 0.6365 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.827e-05/0.7286, allocations: 57.11 kB / 0.6365 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.7286, allocations: 5.219 kB / 0.6365 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.7286, allocations: 1.062 kB / 0.6365 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.7286, allocations: 1.188 kB / 0.6365 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.026e-05/0.7287, allocations: 12.95 kB / 0.6365 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.7287, allocations: 5.984 kB / 0.6365 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.7287, allocations: 1.844 kB / 0.6365 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.7288, allocations: 2.781 kB / 0.6365 GB, free: 16.19 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.7288, allocations: 111 kB / 0.6366 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.7289, allocations: 1.875 kB / 0.6366 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.729, allocations: 124.9 kB / 0.6368 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-05/0.729, allocations: 185.1 kB / 0.6369 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.935e-05/0.7291, allocations: 185.2 kB / 0.6371 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.688e-05/0.7292, allocations: 181 kB / 0.6373 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.7294, allocations: 404.4 kB / 0.6377 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.84e-05/0.7294, allocations: 105.9 kB / 0.6378 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.7294, allocations: 105 kB / 0.6379 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.574e-05/0.7295, allocations: 185.5 kB / 0.6381 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.7296, allocations: 179.8 kB / 0.6382 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-05/0.7296, allocations: 181.2 kB / 0.6384 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.562e-05/0.7297, allocations: 177.1 kB / 0.6386 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.7298, allocations: 316.7 kB / 0.6389 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.7299, allocations: 188.7 kB / 0.639 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.73, allocations: 178.4 kB / 0.6392 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.7301, allocations: 111.8 kB / 0.6393 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.7302, allocations: 180.8 kB / 0.6395 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.7302, allocations: 108.9 kB / 0.6396 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.7303, allocations: 85.77 kB / 0.6397 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7303, allocations: 0 / 0.6397 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003047/0.7306, allocations: 50.91 kB / 0.6397 GB, free: 12.84 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002929/0.7309, allocations: 226.1 kB / 0.6399 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.7e-05/0.731, allocations: 18 kB / 0.64 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.731, allocations: 1.062 kB / 0.64 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.731, allocations: 4 kB / 0.64 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.7315, allocations: 0.5236 MB / 0.6405 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.7318, allocations: 186.6 kB / 0.6407 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.7321, allocations: 0.6804 MB / 0.6413 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.577e-05/0.7322, allocations: 7.125 kB / 0.6413 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.7322, allocations: 9.531 kB / 0.6413 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.7322, allocations: 0 / 0.6413 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.004257/0.7365, allocations: 1.039 MB / 0.6424 GB, free: 11.17 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: