Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5535/0.5535, allocations: 94.78 MB / 102.3 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001119/0.001119, allocations: 177.8 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 2.204/2.204, allocations: 170.6 MB / 319.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001693/0.001693, allocations: 109 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.102e-05, allocations: 0 / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1997, allocations: 61.53 MB / 0.4987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.09/17.29, allocations: 5.173 GB / 5.671 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/17.29, allocations: 76.61 kB / 5.671 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.029/18.32, allocations: 274.2 MB / 5.939 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.543e-06/18.32, allocations: 4 kB / 5.939 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.499e-05/18.32, allocations: 16 kB / 5.939 GB, free: 43.46 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003343/18.32, allocations: 1.01 MB / 5.94 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/18.32, allocations: 8.031 kB / 5.94 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006274/18.32, allocations: 59.42 kB / 5.94 GB, free: 42.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007821/18.32, allocations: 357.9 kB / 5.94 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/18.32, allocations: 22.17 kB / 5.94 GB, free: 41.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/18.32, allocations: 24 kB / 5.94 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009563/18.32, allocations: 0.5296 MB / 5.941 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/18.32, allocations: 427.8 kB / 5.941 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/18.32, allocations: 0 / 5.941 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.598e-05/18.32, allocations: 4 kB / 5.941 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/18.32, allocations: 14.06 kB / 5.941 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/18.33, allocations: 1.603 MB / 5.943 GB, free: 39.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/18.33, allocations: 0.5116 MB / 5.943 GB, free: 38.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/18.33, allocations: 226.6 kB / 5.944 GB, free: 38.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/18.33, allocations: 189.8 kB / 5.944 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/18.33, allocations: 39 kB / 5.944 GB, free: 38.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 2.104e-06/18.33, allocations: 0 / 5.944 GB, free: 38.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58): time 0.004973/18.33, allocations: 1.943 MB / 5.946 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/18.33, allocations: 55.97 kB / 5.946 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/18.33, allocations: 228.4 kB / 5.946 GB, free: 35.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/18.33, allocations: 25.7 kB / 5.946 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/18.33, allocations: 204.8 kB / 5.946 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/18.33, allocations: 189.1 kB / 5.946 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/18.33, allocations: 0 / 5.946 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001127/18.33, allocations: 346.8 kB / 5.947 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/18.33, allocations: 209.4 kB / 5.947 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/18.33, allocations: 285.6 kB / 5.947 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006776/18.34, allocations: 313.9 kB / 5.948 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/18.34, allocations: 0 / 5.948 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001273/18.34, allocations: 0.6875 MB / 5.948 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/18.34, allocations: 4 kB / 5.948 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/18.34, allocations: 4 kB / 5.948 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/18.34, allocations: 45.69 kB / 5.948 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/18.34, allocations: 143.7 kB / 5.948 GB, free: 33.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/18.34, allocations: 2.533 MB / 5.951 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/18.34, allocations: 27.98 kB / 5.951 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/18.34, allocations: 27.98 kB / 5.951 GB, free: 30.59 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002972/18.34, allocations: 121.7 kB / 5.951 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/18.34, allocations: 47.52 kB / 5.951 GB, free: 30.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/18.34, allocations: 0.7429 MB / 5.952 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/18.34, allocations: 8 kB / 5.952 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/18.34, allocations: 0 / 5.952 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009557/18.34, allocations: 0.7851 MB / 5.953 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/18.34, allocations: 1.297 MB / 5.954 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/18.34, allocations: 7.984 kB / 5.954 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/18.35, allocations: 131.9 kB / 5.954 GB, free: 27.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/18.35, allocations: 4 kB / 5.954 GB, free: 27.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/18.35, allocations: 12 kB / 5.954 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/18.35, allocations: 3.984 kB / 5.954 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/18.35, allocations: 4 kB / 5.954 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/18.35, allocations: 0.9772 MB / 5.955 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/18.35, allocations: 188.6 kB / 5.955 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/18.35, allocations: 8.078 kB / 5.955 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/18.35, allocations: 27.83 kB / 5.955 GB, free: 26.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/18.35, allocations: 48.39 kB / 5.955 GB, free: 26.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/18.35, allocations: 35.97 kB / 5.955 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000198/18.35, allocations: 186 kB / 5.955 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/18.35, allocations: 0 / 5.955 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001839/18.35, allocations: 447.5 kB / 5.956 GB, free: 25.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.002736/18.35, allocations: 1.301 MB / 5.957 GB, free: 24.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001123/18.35, allocations: 0.7239 MB / 5.958 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/18.35, allocations: 0 / 5.958 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/18.35, allocations: 293.9 kB / 5.958 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/18.36, allocations: 221 kB / 5.958 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/18.36, allocations: 0.8904 MB / 5.959 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/18.36, allocations: 0.8647 MB / 5.96 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000711/18.36, allocations: 144.1 kB / 5.96 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/18.36, allocations: 59.41 kB / 5.96 GB, free: 20.94 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/18.36, allocations: 4 kB / 5.96 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.03157/18.39, allocations: 18.48 MB / 5.978 GB, free: 2.504 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe 2>&1)