Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00726/0.00726, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001296/0.001296, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.569/1.569, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.5808/0.5808, allocations: 95.48 MB / 365.4 MB, free: 9.766 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.001469/0.001469, allocations: 71.89 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1924, allocations: 69.08 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.6668/0.8593, allocations: 160.8 MB / 0.7281 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000218/0.8595, allocations: 142.2 kB / 0.7283 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.8596, allocations: 0 / 0.7283 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.8598, allocations: 7.938 kB / 0.7283 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.8599, allocations: 11.97 kB / 0.7283 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000918/0.8609, allocations: 222.7 kB / 0.7285 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.141e-05/0.861, allocations: 27.91 kB / 0.7285 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.861, allocations: 4 kB / 0.7285 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.8611, allocations: 15.98 kB / 0.7285 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.8611, allocations: 11.92 kB / 0.7285 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.8612, allocations: 4 kB / 0.7285 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009676/0.8621, allocations: 278.3 kB / 0.7288 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.8622, allocations: 0 / 0.7288 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.8622, allocations: 15.98 kB / 0.7288 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.8625, allocations: 151.3 kB / 0.729 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8625, allocations: 3.938 kB / 0.729 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8626, allocations: 0 / 0.729 GB, free: 12.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.8626, allocations: 0 / 0.729 GB, free: 12.79 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.0006467/0.8632, allocations: 363.3 kB / 0.7293 GB, free: 12.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.8633, allocations: 18.33 kB / 0.7293 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.8633, allocations: 0 / 0.7293 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.8635, allocations: 159.1 kB / 0.7295 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.8636, allocations: 33.69 kB / 0.7295 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.8636, allocations: 7.938 kB / 0.7295 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.8638, allocations: 41.69 kB / 0.7296 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8638, allocations: 0 / 0.7296 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.8639, allocations: 4 kB / 0.7296 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.8639, allocations: 7.938 kB / 0.7296 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.864, allocations: 27.92 kB / 0.7296 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.8647, allocations: 362.7 kB / 0.73 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.205e-05/0.8647, allocations: 14.58 kB / 0.73 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.8648, allocations: 12.92 kB / 0.73 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.8648, allocations: 3.984 kB / 0.73 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.865, allocations: 30.56 kB / 0.73 GB, free: 11.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.865, allocations: 0 / 0.73 GB, free: 11.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002005/0.8652, allocations: 41.64 kB / 0.7301 GB, free: 11.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.8652, allocations: 51.41 kB / 0.7301 GB, free: 11.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.8656, allocations: 105.8 kB / 0.7302 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.8656, allocations: 29.83 kB / 0.7302 GB, free: 11.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.8656, allocations: 84.05 kB / 0.7303 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.8656, allocations: 3.906 kB / 0.7303 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.8657, allocations: 25.7 kB / 0.7303 GB, free: 11.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0004751/0.8662, allocations: 314.8 kB / 0.7306 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.8662, allocations: 4 kB / 0.7306 GB, free: 10.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.631e-05/0.8662, allocations: 30.5 kB / 0.7307 GB, free: 10.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.8663, allocations: 34.52 kB / 0.7307 GB, free: 10.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8663, allocations: 0 / 0.7307 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.362e-05/0.8664, allocations: 57.25 kB / 0.7308 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.8664, allocations: 8 kB / 0.7308 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8665, allocations: 0 / 0.7308 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.8665, allocations: 0 / 0.7308 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.8665, allocations: 16.08 kB / 0.7308 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8665, allocations: 0 / 0.7308 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.8666, allocations: 4 kB / 0.7308 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.8666, allocations: 3.938 kB / 0.7308 GB, free: 10.66 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 0.0001279/0.8667, allocations: 113.8 kB / 0.7309 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.8668, allocations: 3.906 kB / 0.7309 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.8669, allocations: 124.9 kB / 0.731 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/0.867, allocations: 184.5 kB / 0.7312 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/0.8671, allocations: 184.3 kB / 0.7314 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002275/0.8673, allocations: 176.3 kB / 0.7315 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.8678, allocations: 417 kB / 0.7319 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.8679, allocations: 105 kB / 0.732 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.868, allocations: 112.9 kB / 0.7321 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-05/0.8681, allocations: 184.2 kB / 0.7323 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/0.8683, allocations: 180.3 kB / 0.7325 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003465/0.8686, allocations: 180.2 kB / 0.7327 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003471/0.869, allocations: 176.3 kB / 0.7328 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.8693, allocations: 319.9 kB / 0.7331 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.8695, allocations: 178.1 kB / 0.7333 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.8698, allocations: 184.2 kB / 0.7335 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.87, allocations: 105 kB / 0.7336 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.8702, allocations: 184.2 kB / 0.7338 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.8702, allocations: 109 kB / 0.7339 GB, free: 7.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.409e-05/0.8703, allocations: 91.14 kB / 0.734 GB, free: 7.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8703, allocations: 0 / 0.734 GB, free: 7.211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003841/0.8707, allocations: 40 kB / 0.734 GB, free: 7.172 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.0004035/0.8711, allocations: 238.4 kB / 0.7342 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.8712, allocations: 19.92 kB / 0.7342 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.8712, allocations: 4 kB / 0.7342 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.8712, allocations: 4 kB / 0.7342 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.8719, allocations: 459.7 kB / 0.7347 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.8722, allocations: 183.1 kB / 0.7349 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.8726, allocations: 0.669 MB / 0.7355 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.8728, allocations: 12.23 kB / 0.7355 GB, free: 5.539 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.8728, allocations: 11.38 kB / 0.7355 GB, free: 5.527 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.8728, allocations: 0 / 0.7355 GB, free: 5.527 MB / 0.545 GB Notification: Performance of Templates: time 0.005129/0.8779, allocations: 1.136 MB / 0.7366 GB, free: 4.441 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)