Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001294/0.001294, allocations: 164.4 kB / 7.635 MB, free: 1.418 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.607/1.607, allocations: 170.6 MB / 178.7 MB, free: 15.58 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.001983/0.001984, allocations: 111.4 kB / 218 MB, free: 8.332 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.612e-05, allocations: 0 / 262.2 MB, free: 26.36 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 38.78 MB / 301 MB, free: 3.598 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.079/2.187, allocations: 0.6947 GB / 0.9887 GB, free: 126.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/2.187, allocations: 87.97 kB / 0.9888 GB, free: 126.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.969/4.156, allocations: 0.544 GB / 1.533 GB, free: 62.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/4.157, allocations: 0 / 1.533 GB, free: 62.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.292e-05/4.157, allocations: 17.06 kB / 1.533 GB, free: 62.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002851/4.159, allocations: 0.9525 MB / 1.534 GB, free: 61.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/4.16, allocations: 11.91 kB / 1.534 GB, free: 61.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009374/4.16, allocations: 142.4 kB / 1.534 GB, free: 61.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/4.162, allocations: 485.3 kB / 1.534 GB, free: 61.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/4.162, allocations: 20.72 kB / 1.534 GB, free: 61.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/4.162, allocations: 48.62 kB / 1.534 GB, free: 61.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001394/4.163, allocations: 0.7971 MB / 1.535 GB, free: 61.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/4.165, allocations: 0.8079 MB / 1.536 GB, free: 61.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/4.165, allocations: 2.625 kB / 1.536 GB, free: 61.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/4.165, allocations: 3.25 kB / 1.536 GB, free: 61.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/4.165, allocations: 16.59 kB / 1.536 GB, free: 61.48 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/4.169, allocations: 2.853 MB / 1.539 GB, free: 60.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/4.17, allocations: 0.5953 MB / 1.539 GB, free: 60.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/4.17, allocations: 337.7 kB / 1.54 GB, free: 60.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/4.171, allocations: 19.98 kB / 1.54 GB, free: 60.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/4.171, allocations: 46.06 kB / 1.54 GB, free: 60.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.174e-06/4.171, allocations: 2.719 kB / 1.54 GB, free: 60.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.00819/4.179, allocations: 3.056 MB / 1.543 GB, free: 59.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/4.179, allocations: 66.02 kB / 1.543 GB, free: 59.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/4.179, allocations: 321.8 kB / 1.543 GB, free: 59.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/4.179, allocations: 29.67 kB / 1.543 GB, free: 59.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/4.18, allocations: 288.4 kB / 1.543 GB, free: 59.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/4.18, allocations: 235.3 kB / 1.544 GB, free: 59.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/4.18, allocations: 3.062 kB / 1.544 GB, free: 59.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/4.18, allocations: 357.4 kB / 1.544 GB, free: 58.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/4.18, allocations: 418 kB / 1.544 GB, free: 58.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/4.181, allocations: 490.7 kB / 1.545 GB, free: 58.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/4.182, allocations: 489.3 kB / 1.545 GB, free: 58.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/4.182, allocations: 0 / 1.545 GB, free: 58.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001786/4.184, allocations: 1.276 MB / 1.547 GB, free: 58.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/4.184, allocations: 5.5 kB / 1.547 GB, free: 58.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/4.184, allocations: 7.578 kB / 1.547 GB, free: 58.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/4.184, allocations: 314.5 kB / 1.547 GB, free: 58.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/4.185, allocations: 176.8 kB / 1.547 GB, free: 58.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/4.19, allocations: 9.842 MB / 1.557 GB, free: 49.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/4.191, allocations: 67.73 kB / 1.557 GB, free: 49.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/4.191, allocations: 40.53 kB / 1.557 GB, free: 49.71 MB / 362.7 MB 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 [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[2]: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 [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[3]: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 [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[4]: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 [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[5]: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 [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[6]: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 [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003656/4.192, allocations: 149.1 kB / 1.557 GB, free: 49.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/4.192, allocations: 49.03 kB / 1.557 GB, free: 49.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/4.194, allocations: 1.228 MB / 1.558 GB, free: 49.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/4.194, allocations: 6.531 kB / 1.558 GB, free: 49.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/4.194, allocations: 6.422 kB / 1.558 GB, free: 49.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/4.195, allocations: 1.548 MB / 1.56 GB, free: 48.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/4.198, allocations: 2.102 MB / 1.562 GB, free: 48.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/4.198, allocations: 3.719 kB / 1.562 GB, free: 48.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/4.199, allocations: 229.2 kB / 1.562 GB, free: 48.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001762/4.199, allocations: 62.78 kB / 1.562 GB, free: 48.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-05/4.199, allocations: 38.83 kB / 1.562 GB, free: 48.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009354/4.2, allocations: 1.415 MB / 1.563 GB, free: 47.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/4.2, allocations: 6.688 kB / 1.563 GB, free: 47.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/4.202, allocations: 1.542 MB / 1.565 GB, free: 46.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/4.202, allocations: 129.2 kB / 1.565 GB, free: 46.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/4.203, allocations: 21.12 kB / 1.565 GB, free: 46.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007868/4.203, allocations: 60.06 kB / 1.565 GB, free: 46.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/4.203, allocations: 63.11 kB / 1.565 GB, free: 46.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/4.204, allocations: 62.25 kB / 1.565 GB, free: 46.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002203/4.204, allocations: 242.8 kB / 1.565 GB, free: 46.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/4.204, allocations: 0 / 1.565 GB, free: 46.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001702/4.206, allocations: 379.7 kB / 1.566 GB, free: 46.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002679/4.208, allocations: 1.282 MB / 1.567 GB, free: 46.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001957/4.21, allocations: 1.74 MB / 1.569 GB, free: 45.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/4.21, allocations: 7.766 kB / 1.569 GB, free: 45.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007829/4.211, allocations: 0.6536 MB / 1.569 GB, free: 45.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/4.213, allocations: 310.3 kB / 1.57 GB, free: 45.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/4.216, allocations: 1.818 MB / 1.572 GB, free: 45.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/4.217, allocations: 0.9941 MB / 1.572 GB, free: 44.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001016/4.218, allocations: 241.8 kB / 1.573 GB, free: 44.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/4.218, allocations: 81.41 kB / 1.573 GB, free: 44.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/4.218, allocations: 0 / 1.573 GB, free: 44.45 MB / 362.7 MB Notification: Performance of Templates: time 0.03201/4.25, allocations: 24.22 MB / 1.596 GB, free: 42.19 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)