Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005459/0.005459, allocations: 103.6 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.001233/0.001233, allocations: 190.1 kB / 16.67 MB, free: 5.961 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.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.6143/0.6143, allocations: 95.47 MB / 365.4 MB, free: 9.789 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.001417/0.001417, allocations: 70.09 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1492, allocations: 69.08 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.5222/0.6715, allocations: 160.9 MB / 0.7281 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001909/0.6717, allocations: 134.3 kB / 0.7283 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.6718, allocations: 4 kB / 0.7283 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.672, allocations: 3.938 kB / 0.7283 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.6721, allocations: 16.41 kB / 0.7283 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.6727, allocations: 219.1 kB / 0.7285 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.6728, allocations: 27.91 kB / 0.7285 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.6729, allocations: 0 / 0.7285 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.227e-05/0.6729, allocations: 15.94 kB / 0.7286 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.673, allocations: 19.91 kB / 0.7286 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.673, allocations: 0 / 0.7286 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.6735, allocations: 278.3 kB / 0.7288 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.6736, allocations: 11.92 kB / 0.7288 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.6736, allocations: 4 kB / 0.7289 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.6739, allocations: 159.3 kB / 0.729 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6739, allocations: 0 / 0.729 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6739, allocations: 0 / 0.729 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6739, allocations: 0 / 0.729 GB, free: 12.77 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.0004412/0.6744, allocations: 363.3 kB / 0.7293 GB, free: 12.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.6744, allocations: 11.98 kB / 0.7294 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.6745, allocations: 4 kB / 0.7294 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.6746, allocations: 163.1 kB / 0.7295 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.6746, allocations: 29.64 kB / 0.7295 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.6746, allocations: 3.938 kB / 0.7296 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.6748, allocations: 57.61 kB / 0.7296 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6748, allocations: 0 / 0.7296 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.6748, allocations: 0 / 0.7296 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.6748, allocations: 0 / 0.7296 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.057e-05/0.6749, allocations: 23.98 kB / 0.7296 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.6754, allocations: 361.8 kB / 0.73 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.524e-05/0.6755, allocations: 18.58 kB / 0.73 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.6755, allocations: 8.859 kB / 0.73 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.6755, allocations: 3.938 kB / 0.73 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.6755, allocations: 38.62 kB / 0.73 GB, free: 11.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.6755, allocations: 0 / 0.73 GB, free: 11.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.6757, allocations: 33.69 kB / 0.7301 GB, free: 11.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.6757, allocations: 51.41 kB / 0.7301 GB, free: 11.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.6758, allocations: 105.8 kB / 0.7302 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.6758, allocations: 25.7 kB / 0.7302 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.6759, allocations: 92.03 kB / 0.7303 GB, free: 11.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.864e-06/0.6759, allocations: 7.906 kB / 0.7303 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.676, allocations: 17.84 kB / 0.7304 GB, free: 11.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6761, allocations: 318.8 kB / 0.7307 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.6761, allocations: 7.984 kB / 0.7307 GB, free: 10.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.6762, allocations: 22.52 kB / 0.7307 GB, free: 10.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.6762, allocations: 34.56 kB / 0.7307 GB, free: 10.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6762, allocations: 1.188 kB / 0.7307 GB, free: 10.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.6764, allocations: 57.62 kB / 0.7308 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.6764, allocations: 4 kB / 0.7308 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.6764, allocations: 0 / 0.7308 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.6764, allocations: 4 kB / 0.7308 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.6764, allocations: 7.938 kB / 0.7308 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.6765, allocations: 4 kB / 0.7308 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.6765, allocations: 7.938 kB / 0.7308 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.6765, allocations: 16.03 kB / 0.7308 GB, free: 10.63 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 6.018e-05/0.6766, allocations: 109.8 kB / 0.7309 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.6766, allocations: 3.906 kB / 0.7309 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.6767, allocations: 120.9 kB / 0.731 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.505e-05/0.6768, allocations: 188.1 kB / 0.7312 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.024e-05/0.6768, allocations: 185.1 kB / 0.7314 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-05/0.6769, allocations: 180.2 kB / 0.7316 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.6771, allocations: 413.1 kB / 0.732 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-05/0.6772, allocations: 104.9 kB / 0.7321 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.6772, allocations: 101 kB / 0.7322 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-05/0.6773, allocations: 180.3 kB / 0.7323 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.6773, allocations: 187.6 kB / 0.7325 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.325e-05/0.6774, allocations: 180.2 kB / 0.7327 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.432e-05/0.6774, allocations: 184.2 kB / 0.7329 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.6776, allocations: 300 kB / 0.7332 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.6776, allocations: 198 kB / 0.7333 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.6777, allocations: 180.3 kB / 0.7335 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.6778, allocations: 108.9 kB / 0.7336 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.6779, allocations: 180.3 kB / 0.7338 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/0.678, allocations: 105 kB / 0.7339 GB, free: 7.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.678, allocations: 91.22 kB / 0.734 GB, free: 7.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.678, allocations: 4 kB / 0.734 GB, free: 7.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002931/0.6783, allocations: 39.98 kB / 0.734 GB, free: 7.148 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.0003451/0.6787, allocations: 242.3 kB / 0.7342 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.6788, allocations: 12 kB / 0.7343 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6788, allocations: 0 / 0.7343 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.6788, allocations: 192 / 0.7343 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.6792, allocations: 464.8 kB / 0.7347 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.6794, allocations: 174.4 kB / 0.7349 GB, free: 6.238 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.6797, allocations: 0.6768 MB / 0.7355 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.506e-05/0.6798, allocations: 11.62 kB / 0.7355 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.6798, allocations: 11.44 kB / 0.7356 GB, free: 5.516 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6798, allocations: 0 / 0.7356 GB, free: 5.516 MB / 0.545 GB Notification: Performance of Templates: time 0.00326/0.6831, allocations: 1.141 MB / 0.7367 GB, free: 4.43 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)