Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6318/0.6318, allocations: 94.76 MB / 102.2 MB, free: 14.07 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.002113/0.002113, allocations: 187.4 kB / 125.6 MB, free: 7.902 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.046/2.046, allocations: 170.6 MB / 319.4 MB, free: 1.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001855/0.001855, allocations: 104.6 kB / 381.4 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.487e-05, allocations: 4 kB / 449.1 MB, free: 44.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 61.53 MB / 0.4986 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.63/16.84, allocations: 5.241 GB / 5.74 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/16.85, allocations: 81.03 kB / 5.74 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.121/17.97, allocations: 274.6 MB / 6.008 GB, free: 49.01 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/17.97, allocations: 0 / 6.008 GB, free: 49.01 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.613e-05/17.97, allocations: 12 kB / 6.008 GB, free: 49 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.004249/17.97, allocations: 1.065 MB / 6.009 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.159e-05/17.97, allocations: 12.02 kB / 6.009 GB, free: 47.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006772/17.97, allocations: 55.52 kB / 6.009 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/17.97, allocations: 360.3 kB / 6.009 GB, free: 47.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/17.97, allocations: 14.92 kB / 6.009 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/17.97, allocations: 24 kB / 6.009 GB, free: 47.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000994/17.97, allocations: 0.514 MB / 6.01 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/17.97, allocations: 411.9 kB / 6.01 GB, free: 46.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/17.97, allocations: 0 / 6.01 GB, free: 46.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/17.97, allocations: 4 kB / 6.01 GB, free: 46.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/17.97, allocations: 8 kB / 6.01 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/17.98, allocations: 1.591 MB / 6.012 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/17.98, allocations: 375.6 kB / 6.012 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/17.98, allocations: 189.6 kB / 6.012 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/17.98, allocations: 193.3 kB / 6.013 GB, free: 44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/17.98, allocations: 38.94 kB / 6.013 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.615e-06/17.98, allocations: 0 / 6.013 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.005598/17.98, allocations: 2.047 MB / 6.015 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/17.98, allocations: 67.78 kB / 6.015 GB, free: 41.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/17.98, allocations: 228.4 kB / 6.015 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/17.98, allocations: 25.7 kB / 6.015 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/17.98, allocations: 208.8 kB / 6.015 GB, free: 41.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/17.98, allocations: 173.3 kB / 6.015 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/17.98, allocations: 0 / 6.015 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001679/17.99, allocations: 342.8 kB / 6.016 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/17.99, allocations: 213 kB / 6.016 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/17.99, allocations: 275 kB / 6.016 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/17.99, allocations: 310 kB / 6.016 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/17.99, allocations: 0 / 6.016 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001619/17.99, allocations: 0.7664 MB / 6.017 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/17.99, allocations: 4 kB / 6.017 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/17.99, allocations: 4 kB / 6.017 GB, free: 39.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/17.99, allocations: 154.6 kB / 6.017 GB, free: 38.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/17.99, allocations: 111.8 kB / 6.017 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007356/18, allocations: 5.246 MB / 6.023 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/18, allocations: 28.03 kB / 6.023 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/18, allocations: 24 kB / 6.023 GB, free: 33.12 MB / 0.5105 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000453/18, allocations: 130.9 kB / 6.023 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/18, allocations: 39.62 kB / 6.023 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/18, allocations: 0.7667 MB / 6.024 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/18, allocations: 8 kB / 6.024 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/18, allocations: 0 / 6.024 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001383/18, allocations: 0.8288 MB / 6.024 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/18, allocations: 1.333 MB / 6.026 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/18, allocations: 0 / 6.026 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/18, allocations: 123.8 kB / 6.026 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007184/18.01, allocations: 144.7 kB / 6.026 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/18.01, allocations: 7.984 kB / 6.026 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/18.01, allocations: 1.428 MB / 6.027 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/18.01, allocations: 144 / 6.027 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/18.01, allocations: 1.02 MB / 6.028 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/18.01, allocations: 196.6 kB / 6.028 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/18.01, allocations: 7.984 kB / 6.028 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/18.01, allocations: 23.84 kB / 6.029 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/18.01, allocations: 44.44 kB / 6.029 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/18.01, allocations: 35.97 kB / 6.029 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002471/18.01, allocations: 194 kB / 6.029 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/18.01, allocations: 0 / 6.029 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002199/18.01, allocations: 419.6 kB / 6.029 GB, free: 26.08 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003098/18.02, allocations: 1.293 MB / 6.03 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001654/18.02, allocations: 0.8543 MB / 6.031 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/18.02, allocations: 4.125 kB / 6.031 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006908/18.02, allocations: 423.5 kB / 6.032 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/18.02, allocations: 212.7 kB / 6.032 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/18.02, allocations: 0.9264 MB / 6.033 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/18.02, allocations: 0.864 MB / 6.034 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006861/18.02, allocations: 123.3 kB / 6.034 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/18.02, allocations: 51.42 kB / 6.034 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/18.02, allocations: 4 kB / 6.034 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.03124/18.05, allocations: 18.4 MB / 6.052 GB, free: 3.016 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe 2>&1)