Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.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.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5624/0.5624, allocations: 94.78 MB / 102.2 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.001338/0.001338, allocations: 178.3 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.899/1.899, allocations: 170.6 MB / 319.4 MB, free: 9.336 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.002099/0.002099, allocations: 98.42 kB / 381.3 MB, free: 18.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/2.012e-05, allocations: 0 / 449.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 61.53 MB / 0.4987 GB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.56/17.76, allocations: 5.196 GB / 5.694 GB, free: 136 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/17.76, allocations: 80.62 kB / 5.694 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.068/18.83, allocations: 271.1 MB / 5.959 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.352e-06/18.83, allocations: 0 / 5.959 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.542e-05/18.83, allocations: 8 kB / 5.959 GB, free: 60.12 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003042/18.83, allocations: 0.9368 MB / 5.96 GB, free: 59.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/18.83, allocations: 12.03 kB / 5.96 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006091/18.83, allocations: 63.42 kB / 5.96 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000855/18.83, allocations: 344.2 kB / 5.96 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/18.83, allocations: 16 kB / 5.96 GB, free: 58.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/18.83, allocations: 24 kB / 5.96 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001006/18.83, allocations: 0.5101 MB / 5.961 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/18.84, allocations: 472.9 kB / 5.961 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/18.84, allocations: 0 / 5.961 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/18.84, allocations: 0 / 5.961 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/18.84, allocations: 18.05 kB / 5.961 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/18.84, allocations: 1.916 MB / 5.963 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/18.84, allocations: 299.1 kB / 5.964 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/18.84, allocations: 164.1 kB / 5.964 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/18.84, allocations: 182.2 kB / 5.964 GB, free: 54.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/18.84, allocations: 42.83 kB / 5.964 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.805e-06/18.84, allocations: 4 kB / 5.964 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41): time 0.003804/18.84, allocations: 1.255 MB / 5.965 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/18.84, allocations: 55.41 kB / 5.965 GB, free: 53.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/18.85, allocations: 286.2 kB / 5.966 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/18.85, allocations: 25.7 kB / 5.966 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/18.85, allocations: 231.6 kB / 5.966 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.95e-05/18.85, allocations: 149.8 kB / 5.966 GB, free: 52.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/18.85, allocations: 3.938 kB / 5.966 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/18.85, allocations: 338.8 kB / 5.966 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/18.85, allocations: 181 kB / 5.966 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/18.85, allocations: 254.3 kB / 5.967 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/18.85, allocations: 280.6 kB / 5.967 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/18.85, allocations: 3.953 kB / 5.967 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00111/18.85, allocations: 0.6144 MB / 5.968 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/18.85, allocations: 4 kB / 5.968 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/18.85, allocations: 4 kB / 5.968 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/18.85, allocations: 45.69 kB / 5.968 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/18.85, allocations: 131.8 kB / 5.968 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/18.85, allocations: 2.521 MB / 5.97 GB, free: 48.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/18.85, allocations: 27.95 kB / 5.97 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/18.85, allocations: 31.94 kB / 5.97 GB, free: 48.16 MB / 0.5105 GB 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] 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * 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.0002587/18.85, allocations: 120.9 kB / 5.97 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/18.85, allocations: 31.62 kB / 5.97 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/18.85, allocations: 0.5098 MB / 5.971 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/18.85, allocations: 7.953 kB / 5.971 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/18.85, allocations: 0 / 5.971 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007076/18.85, allocations: 0.6192 MB / 5.972 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/18.86, allocations: 1.233 MB / 5.973 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/18.86, allocations: 4 kB / 5.973 GB, free: 45.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/18.86, allocations: 95.88 kB / 5.973 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/18.86, allocations: 5.969 kB / 5.973 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/18.86, allocations: 8 kB / 5.973 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/18.86, allocations: 7.984 kB / 5.973 GB, free: 45.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/18.86, allocations: 8.25 kB / 5.973 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/18.86, allocations: 0.8656 MB / 5.974 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/18.86, allocations: 176.6 kB / 5.974 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/18.86, allocations: 4 kB / 5.974 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/18.86, allocations: 23.95 kB / 5.974 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/18.86, allocations: 31.95 kB / 5.974 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/18.86, allocations: 31.98 kB / 5.974 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002073/18.86, allocations: 221.9 kB / 5.974 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/18.86, allocations: 0 / 5.974 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001502/18.86, allocations: 327.7 kB / 5.974 GB, free: 43.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (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 (45): * Single equations (assignments): 45 * 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.002559/18.86, allocations: 1.21 MB / 5.976 GB, free: 42.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001076/18.86, allocations: 0.6026 MB / 5.976 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/18.86, allocations: 0.5625 kB / 5.976 GB, free: 41.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/18.86, allocations: 183.7 kB / 5.976 GB, free: 41.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/18.86, allocations: 175.7 kB / 5.977 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/18.87, allocations: 0.75 MB / 5.977 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/18.87, allocations: 0.8472 MB / 5.978 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000646/18.87, allocations: 115.3 kB / 5.978 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/18.87, allocations: 51.41 kB / 5.978 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/18.87, allocations: 3.938 kB / 5.978 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.02518/18.89, allocations: 15.59 MB / 5.994 GB, free: 24.14 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe 2>&1)