Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001108/0.001108, allocations: 189.1 kB / 8.132 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.206/1.206, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001936/0.001936, allocations: 114.8 kB / 247.7 MB, free: 6.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.091e-05/1.104e-05, allocations: 3.938 kB / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08034/0.08038, allocations: 44.48 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.12/10.2, allocations: 6.529 GB / 6.863 GB, free: 110.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/10.2, allocations: 75.52 kB / 6.863 GB, free: 110.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.513/12.71, allocations: 0.8326 GB / 7.696 GB, free: 15.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/12.71, allocations: 12.91 kB / 7.696 GB, free: 15.64 MB / 426.7 MB 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.01007/12.72, allocations: 2.895 MB / 7.698 GB, free: 14.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/12.72, allocations: 10.47 kB / 7.698 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/12.72, allocations: 58.77 kB / 7.698 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/12.72, allocations: 362.9 kB / 7.699 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/12.72, allocations: 15.11 kB / 7.699 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/12.72, allocations: 24.69 kB / 7.699 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008798/12.72, allocations: 0.58 MB / 7.699 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/12.72, allocations: 436.5 kB / 7.7 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/12.72, allocations: 0 / 7.7 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/12.72, allocations: 3.906 kB / 7.7 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/12.72, allocations: 9.906 kB / 7.7 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/12.74, allocations: 11.79 MB / 7.711 GB, free: 18.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/12.74, allocations: 320.2 kB / 7.712 GB, free: 18.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/12.74, allocations: 245.7 kB / 7.712 GB, free: 18.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02411/12.76, allocations: 20.17 MB / 7.732 GB, free: 14.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/12.76, allocations: 47.53 kB / 7.732 GB, free: 14.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 2.364e-06/12.76, allocations: 0 / 7.732 GB, free: 14.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.004252/12.77, allocations: 1.525 MB / 7.733 GB, free: 14.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/12.77, allocations: 59.5 kB / 7.733 GB, free: 14.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/12.77, allocations: 229.7 kB / 7.733 GB, free: 14.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/12.77, allocations: 29.52 kB / 7.733 GB, free: 14.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/12.77, allocations: 184.8 kB / 7.734 GB, free: 13.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/12.77, allocations: 188.5 kB / 7.734 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/12.77, allocations: 0 / 7.734 GB, free: 13.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/12.77, allocations: 342.4 kB / 7.734 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/12.77, allocations: 207.3 kB / 7.734 GB, free: 13.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/12.77, allocations: 298.1 kB / 7.735 GB, free: 13.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007803/12.77, allocations: 336 kB / 7.735 GB, free: 13.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/12.77, allocations: 0 / 7.735 GB, free: 13.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001675/12.77, allocations: 0.746 MB / 7.736 GB, free: 13.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/12.77, allocations: 3.781 kB / 7.736 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/12.77, allocations: 7.875 kB / 7.736 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/12.77, allocations: 78.2 kB / 7.736 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/12.77, allocations: 124.9 kB / 7.736 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/12.77, allocations: 3.187 MB / 7.739 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/12.77, allocations: 28.33 kB / 7.739 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/12.77, allocations: 37.66 kB / 7.739 GB, free: 10.25 MB / 458.7 MB 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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 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.0001892/12.77, allocations: 131.3 kB / 7.739 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/12.77, allocations: 37.75 kB / 7.739 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/12.78, allocations: 0.7448 MB / 7.74 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/12.78, allocations: 3.812 kB / 7.74 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/12.78, allocations: 6.344 kB / 7.74 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/12.78, allocations: 0.8116 MB / 7.741 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/12.78, allocations: 1.388 MB / 7.742 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/12.78, allocations: 0 / 7.742 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/12.78, allocations: 116 kB / 7.742 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/12.78, allocations: 72.42 kB / 7.742 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/12.78, allocations: 13.47 kB / 7.742 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005331/12.78, allocations: 0.6903 MB / 7.743 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/12.78, allocations: 7.531 kB / 7.743 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001829/12.78, allocations: 1.074 MB / 7.744 GB, free: 24.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/12.78, allocations: 126.9 kB / 7.744 GB, free: 24.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/12.78, allocations: 5.156 kB / 7.744 GB, free: 24.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/12.78, allocations: 27.95 kB / 7.744 GB, free: 24.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/12.78, allocations: 49 kB / 7.744 GB, free: 24.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/12.78, allocations: 37.55 kB / 7.744 GB, free: 24.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001615/12.78, allocations: 186.5 kB / 7.744 GB, free: 24.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007002/12.79, allocations: 1.941 MB / 7.746 GB, free: 23.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009674/12.8, allocations: 3.31 MB / 7.75 GB, free: 23.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/12.8, allocations: 0.7527 MB / 7.75 GB, free: 22.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/12.8, allocations: 3.906 kB / 7.75 GB, free: 22.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/12.8, allocations: 305.2 kB / 7.751 GB, free: 22.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/12.8, allocations: 214.6 kB / 7.751 GB, free: 22.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/12.8, allocations: 0.8952 MB / 7.752 GB, free: 22.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006609/12.81, allocations: 0.9273 MB / 7.753 GB, free: 21.93 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/12.81, allocations: 0 / 7.753 GB, free: 21.93 MB / 474.7 MB Notification: Performance of Templates: time 0.08026/12.89, allocations: 63.33 MB / 7.814 GB, free: 4.281 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)