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.0009375/0.0009379, 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.001066/0.001067, allocations: 177.3 kB / 15.95 MB, free: 216 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.352/1.352, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.572/0.572, allocations: 95.58 MB / 366 MB, free: 10.4 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.000551/0.0005512, allocations: 16 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2834, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.4332/0.7166, allocations: 132.1 MB / 0.634 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004095/0.7171, allocations: 407 kB / 0.6343 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.7171, allocations: 0 / 0.6343 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.934e-05/0.7172, allocations: 1.031 kB / 0.6343 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.7173, allocations: 6.266 kB / 0.6344 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.7179, allocations: 172.6 kB / 0.6345 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.958e-05/0.718, allocations: 18.86 kB / 0.6345 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.718, allocations: 5.406 kB / 0.6345 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.718, allocations: 11.36 kB / 0.6346 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.7181, allocations: 8.375 kB / 0.6346 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.7181, allocations: 0.9375 kB / 0.6346 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.7187, allocations: 249.3 kB / 0.6348 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.7188, allocations: 8.281 kB / 0.6348 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.7188, allocations: 31.8 kB / 0.6348 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.719, allocations: 109.4 kB / 0.6349 GB, free: 1.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.7191, allocations: 0 / 0.6349 GB, free: 1.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7191, allocations: 0 / 0.6349 GB, free: 1.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.7191, allocations: 0 / 0.6349 GB, free: 1.879 MB / 494.1 MB 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.0004978/0.7196, allocations: 361.5 kB / 0.6353 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.7196, allocations: 13.39 kB / 0.6353 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.7197, allocations: 4.797 kB / 0.6353 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.7198, allocations: 160.5 kB / 0.6355 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.7199, allocations: 38.88 kB / 0.6355 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.7199, allocations: 7.953 kB / 0.6355 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.72, allocations: 49.44 kB / 0.6355 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.72, allocations: 0 / 0.6355 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.7201, allocations: 1.094 kB / 0.6355 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.7201, allocations: 4.719 kB / 0.6356 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.426e-05/0.7201, allocations: 23.27 kB / 0.6356 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.7207, allocations: 350.2 kB / 0.6359 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.696e-05/0.7207, allocations: 21.53 kB / 0.6359 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.7207, allocations: 2.688 kB / 0.6359 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.7208, allocations: 35.91 kB / 0.636 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.7208, allocations: 0 / 0.636 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.7209, allocations: 44.41 kB / 0.636 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.721, allocations: 57.39 kB / 0.6361 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.7211, allocations: 103 kB / 0.6362 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.7211, allocations: 25.7 kB / 0.6362 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.7211, allocations: 90.08 kB / 0.6363 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.7211, allocations: 5.562 kB / 0.6363 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.7212, allocations: 3.766 kB / 0.6363 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7213, allocations: 312.6 kB / 0.6366 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.7213, allocations: 4.094 kB / 0.6366 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.7213, allocations: 29.75 kB / 0.6366 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/0.7213, allocations: 8.797 kB / 0.6366 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7214, allocations: 1.031 kB / 0.6366 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.059e-05/0.7215, allocations: 56.81 kB / 0.6367 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.7215, allocations: 8.094 kB / 0.6367 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7215, allocations: 1.828 kB / 0.6367 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7215, allocations: 4.875 kB / 0.6367 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.7216, allocations: 11.36 kB / 0.6367 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.7216, allocations: 1.062 kB / 0.6367 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.7216, allocations: 12.95 kB / 0.6367 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.7216, allocations: 3 kB / 0.6367 GB, free: 16.09 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 7.677e-05/0.7217, allocations: 108.8 kB / 0.6368 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.7217, allocations: 2.312 kB / 0.6368 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.7219, allocations: 128.2 kB / 0.6369 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.277e-05/0.7219, allocations: 178.5 kB / 0.6371 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.624e-05/0.722, allocations: 189.3 kB / 0.6373 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.347e-05/0.7221, allocations: 178.1 kB / 0.6375 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.7223, allocations: 405.3 kB / 0.6379 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/0.7223, allocations: 110.9 kB / 0.638 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.7224, allocations: 105.8 kB / 0.6381 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.124e-05/0.7224, allocations: 177.7 kB / 0.6382 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.7225, allocations: 186.2 kB / 0.6384 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.756e-05/0.7226, allocations: 180.8 kB / 0.6386 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-05/0.7226, allocations: 183.9 kB / 0.6388 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.7228, allocations: 315.2 kB / 0.6391 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.7228, allocations: 188.3 kB / 0.6392 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.7229, allocations: 180.2 kB / 0.6394 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.7231, allocations: 105.2 kB / 0.6395 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.7231, allocations: 184.6 kB / 0.6397 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.7232, allocations: 104 kB / 0.6398 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.7232, allocations: 87.42 kB / 0.6399 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7232, allocations: 0 / 0.6399 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003267/0.7236, allocations: 48.64 kB / 0.6399 GB, free: 12.75 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.0002681/0.7238, allocations: 230.9 kB / 0.6401 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.088e-05/0.7239, allocations: 17.58 kB / 0.6401 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7239, allocations: 0.9062 kB / 0.6401 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.7239, allocations: 0 / 0.6401 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.7243, allocations: 0.5252 MB / 0.6407 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.7246, allocations: 196.8 kB / 0.6408 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.7248, allocations: 0.6765 MB / 0.6415 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.207e-05/0.7249, allocations: 10.55 kB / 0.6415 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.7249, allocations: 10.39 kB / 0.6415 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.7249, allocations: 0.8438 kB / 0.6415 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.003613/0.7285, allocations: 1.03 MB / 0.6425 GB, free: 11.07 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: