Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001052/0.001052, allocations: 171.5 kB / 7.638 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.437/1.437, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001596/0.001596, allocations: 111.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2302/0.2302, allocations: 37.97 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.825e-05, allocations: 1.75 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 48.72 MB / 398.7 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.374/2.503, allocations: 0.8064 GB / 1.196 GB, free: 59.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/2.504, allocations: 91.62 kB / 1.196 GB, free: 59.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.644/5.147, allocations: 0.6976 GB / 1.893 GB, free: 24.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.536e-06/5.147, allocations: 0 / 1.893 GB, free: 24.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001388/5.148, allocations: 36.09 kB / 1.894 GB, free: 24.88 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.007725/5.155, allocations: 1.555 MB / 1.895 GB, free: 23.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/5.155, allocations: 16.02 kB / 1.895 GB, free: 23.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/5.158, allocations: 302.3 kB / 1.895 GB, free: 22.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/5.161, allocations: 0.8278 MB / 1.896 GB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/5.162, allocations: 109.3 kB / 1.896 GB, free: 21.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006057/5.162, allocations: 64 kB / 1.896 GB, free: 21.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003627/5.166, allocations: 1.441 MB / 1.898 GB, free: 20.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004375/5.17, allocations: 1.597 MB / 1.899 GB, free: 18.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.478e-05/5.17, allocations: 11.89 kB / 1.899 GB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/5.171, allocations: 4 kB / 1.899 GB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/5.171, allocations: 77.95 kB / 1.899 GB, free: 18.7 MB / 442.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.01187/5.183, allocations: 5.76 MB / 1.905 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/5.184, allocations: 0.6257 MB / 1.906 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/5.185, allocations: 362.5 kB / 1.906 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/5.185, allocations: 24.28 kB / 1.906 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.497e-05/5.185, allocations: 46.98 kB / 1.906 GB, free: 11.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 4.769e-06/5.185, allocations: 0 / 1.906 GB, free: 11.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.0102/5.195, allocations: 3.233 MB / 1.909 GB, free: 8.242 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/5.195, allocations: 107.4 kB / 1.909 GB, free: 8.113 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/5.196, allocations: 0.5814 MB / 1.91 GB, free: 7.527 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/5.196, allocations: 29.64 kB / 1.91 GB, free: 7.492 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/5.197, allocations: 0.5833 MB / 1.91 GB, free: 6.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/5.197, allocations: 240.6 kB / 1.911 GB, free: 6.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/5.197, allocations: 0 / 1.911 GB, free: 6.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/5.197, allocations: 390.8 kB / 1.911 GB, free: 6.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006678/5.198, allocations: 0.5023 MB / 1.912 GB, free: 5.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009187/5.199, allocations: 0.8759 MB / 1.912 GB, free: 4.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/5.2, allocations: 0.6407 MB / 1.913 GB, free: 4.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/5.2, allocations: 11.94 kB / 1.913 GB, free: 4.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002844/5.203, allocations: 1.738 MB / 1.915 GB, free: 2.332 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/5.203, allocations: 15.98 kB / 1.915 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/5.203, allocations: 11.98 kB / 1.915 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004046/5.207, allocations: 1.173 MB / 1.916 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007758/5.208, allocations: 179.6 kB / 1.916 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3641/5.572, allocations: 1.764 MB / 1.918 GB, free: 58.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/5.573, allocations: 93.48 kB / 1.918 GB, free: 58.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/5.574, allocations: 70.06 kB / 1.918 GB, free: 58.79 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.m:DUMMY_STATE(min = 0.0 unit = "kg" ) "Mass of fluid" type: Real volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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: 0 * Non-linear torn systems: 1 {10 27} Notification: Performance of prepare postOptimizeDAE: time 0.0004395/5.574, allocations: 142.8 kB / 1.918 GB, free: 58.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/5.574, allocations: 81.58 kB / 1.918 GB, free: 58.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/5.577, allocations: 1.217 MB / 1.919 GB, free: 58.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/5.577, allocations: 11.39 kB / 1.919 GB, free: 58.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/5.577, allocations: 0 / 1.919 GB, free: 58.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/5.577, allocations: 7.828 kB / 1.919 GB, free: 58.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004705/5.582, allocations: 2.335 MB / 1.922 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/5.582, allocations: 1.75 kB / 1.922 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/5.584, allocations: 317.1 kB / 1.922 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/5.584, allocations: 72.86 kB / 1.922 GB, free: 58.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.662e-05/5.584, allocations: 29 kB / 1.922 GB, free: 58.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/5.586, allocations: 2.765 MB / 1.925 GB, free: 55.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/5.586, allocations: 0.6562 kB / 1.925 GB, free: 55.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/5.589, allocations: 1.65 MB / 1.926 GB, free: 55.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00077/5.59, allocations: 281.2 kB / 1.927 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/5.59, allocations: 16.53 kB / 1.927 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/5.591, allocations: 65.73 kB / 1.927 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/5.592, allocations: 52.81 kB / 1.927 GB, free: 55.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/5.592, allocations: 59.48 kB / 1.927 GB, free: 55.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008972/5.593, allocations: 446.9 kB / 1.927 GB, free: 55.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/5.593, allocations: 2.844 kB / 1.927 GB, free: 55.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003382/5.596, allocations: 0.5485 MB / 1.928 GB, free: 55.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (71): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.005044/5.601, allocations: 1.601 MB / 1.929 GB, free: 55.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003725/5.605, allocations: 1.318 MB / 1.931 GB, free: 55.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/5.605, allocations: 9.25 kB / 1.931 GB, free: 55.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/5.607, allocations: 0.7716 MB / 1.931 GB, free: 55.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/5.609, allocations: 387.7 kB / 1.932 GB, free: 55.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/5.614, allocations: 2.227 MB / 1.934 GB, free: 54.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/5.616, allocations: 1.196 MB / 1.935 GB, free: 54.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001801/5.617, allocations: 352.6 kB / 1.935 GB, free: 54.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/5.618, allocations: 95.91 kB / 1.936 GB, free: 54.04 MB / 442.7 MB Notification: Performance of SimCode: time 2.334e-06/5.618, allocations: 0.5 kB / 1.936 GB, free: 54.04 MB / 442.7 MB Notification: Performance of Templates: time 0.05483/5.673, allocations: 29.7 MB / 1.965 GB, free: 53.28 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)