Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json 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) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003415/0.003416, allocations: 173.1 kB / 7.446 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.495/1.495, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001881/0.001881, allocations: 119.8 kB / 217.7 MB, free: 8.23 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.738e-06/9.778e-06, allocations: 4 kB / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 38.76 MB / 300.5 MB, free: 3.918 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.86/15.97, allocations: 6.523 GB / 6.816 GB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/15.97, allocations: 75.95 kB / 6.816 GB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.712/19.68, allocations: 0.8295 GB / 7.646 GB, free: 15.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/19.68, allocations: 8 kB / 7.646 GB, free: 15.4 MB / 394.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.0163/19.7, allocations: 2.894 MB / 7.649 GB, free: 12.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/19.7, allocations: 12.03 kB / 7.649 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004602/19.7, allocations: 59.42 kB / 7.649 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006497/19.7, allocations: 370.1 kB / 7.649 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/19.7, allocations: 12 kB / 7.649 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-05/19.7, allocations: 28 kB / 7.649 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00101/19.7, allocations: 0.5798 MB / 7.65 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/19.7, allocations: 428.5 kB / 7.65 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/19.7, allocations: 0 / 7.65 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/19.7, allocations: 0 / 7.65 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/19.7, allocations: 15.91 kB / 7.65 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2957/20, allocations: 11.62 MB / 7.661 GB, free: 57.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/20, allocations: 311.8 kB / 7.662 GB, free: 57.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/20, allocations: 251.4 kB / 7.662 GB, free: 57.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02106/20.02, allocations: 20.17 MB / 7.682 GB, free: 36.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/20.02, allocations: 43.16 kB / 7.682 GB, free: 36.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 3.416e-06/20.02, allocations: 3 kB / 7.682 GB, free: 36.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=55): time 0.00471/20.03, allocations: 1.529 MB / 7.683 GB, free: 36.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/20.03, allocations: 55.72 kB / 7.683 GB, free: 36.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/20.03, allocations: 229 kB / 7.683 GB, free: 36.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/20.03, allocations: 27.34 kB / 7.683 GB, free: 36.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/20.03, allocations: 192.5 kB / 7.684 GB, free: 36.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/20.03, allocations: 183.3 kB / 7.684 GB, free: 36.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/20.03, allocations: 0 / 7.684 GB, free: 36.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/20.03, allocations: 350.4 kB / 7.684 GB, free: 35.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/20.03, allocations: 209 kB / 7.684 GB, free: 35.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/20.03, allocations: 287.4 kB / 7.685 GB, free: 35.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007933/20.03, allocations: 338.8 kB / 7.685 GB, free: 35.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/20.03, allocations: 0 / 7.685 GB, free: 35.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001658/20.03, allocations: 0.7407 MB / 7.686 GB, free: 35.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/20.03, allocations: 10.06 kB / 7.686 GB, free: 35.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/20.03, allocations: 5.688 kB / 7.686 GB, free: 35.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/20.03, allocations: 78.03 kB / 7.686 GB, free: 35.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/20.03, allocations: 119.3 kB / 7.686 GB, free: 35.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/20.03, allocations: 3.185 MB / 7.689 GB, free: 32.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/20.03, allocations: 32.14 kB / 7.689 GB, free: 32.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/20.03, allocations: 29.19 kB / 7.689 GB, free: 32.64 MB / 394.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.0002738/20.03, allocations: 127.7 kB / 7.689 GB, free: 32.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/20.03, allocations: 36.22 kB / 7.689 GB, free: 32.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/20.04, allocations: 0.7444 MB / 7.69 GB, free: 32.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/20.04, allocations: 5.453 kB / 7.69 GB, free: 32.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/20.04, allocations: 0 / 7.69 GB, free: 32.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/20.04, allocations: 0.8126 MB / 7.691 GB, free: 32.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/20.04, allocations: 1.399 MB / 7.692 GB, free: 31.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/20.04, allocations: 0 / 7.692 GB, free: 31.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/20.04, allocations: 120.7 kB / 7.692 GB, free: 31.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/20.04, allocations: 63.34 kB / 7.692 GB, free: 31.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/20.04, allocations: 14.08 kB / 7.692 GB, free: 31.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005275/20.04, allocations: 0.6927 MB / 7.693 GB, free: 31.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/20.04, allocations: 6.922 kB / 7.693 GB, free: 31.13 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00179/20.04, allocations: 1.075 MB / 7.694 GB, free: 30.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/20.04, allocations: 125.6 kB / 7.694 GB, free: 30.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/20.04, allocations: 3.5 kB / 7.694 GB, free: 30.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/20.04, allocations: 24.88 kB / 7.694 GB, free: 30.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/20.04, allocations: 41.39 kB / 7.694 GB, free: 30.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/20.04, allocations: 38.69 kB / 7.694 GB, free: 30.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001793/20.04, allocations: 184.6 kB / 7.694 GB, free: 30.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01142/20.05, allocations: 1.945 MB / 7.696 GB, free: 30.59 MB / 394.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.0193/20.07, allocations: 3.32 MB / 7.7 GB, free: 30.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001872/20.08, allocations: 0.7511 MB / 7.7 GB, free: 30.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.003e-05/20.08, allocations: 0 / 7.7 GB, free: 30.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005841/20.08, allocations: 307.2 kB / 7.701 GB, free: 30.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/20.08, allocations: 208.4 kB / 7.701 GB, free: 30.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/20.08, allocations: 0.9058 MB / 7.702 GB, free: 29.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/20.08, allocations: 0.9299 MB / 7.703 GB, free: 29.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/20.08, allocations: 0 / 7.703 GB, free: 29.2 MB / 394.7 MB Notification: Performance of Templates: time 0.0937/20.17, allocations: 63.21 MB / 7.764 GB, free: 25.09 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)