Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9292/0.9292, allocations: 110.8 MB / 123.3 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001741/0.001741, allocations: 147.5 kB / 149.1 MB, free: 1.004 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.889e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06834/0.06839, allocations: 25.17 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8429/0.9114, allocations: 296.4 MB / 0.49 GB, free: 15.24 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.9117, allocations: 64.84 kB / 0.4901 GB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2316/1.143, allocations: 31.04 MB / 0.5204 GB, free: 74.33 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.143, allocations: 0 / 0.5204 GB, free: 74.33 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/1.143, allocations: 3.312 kB / 0.5204 GB, free: 74.33 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004555/1.144, allocations: 392.3 kB / 0.5207 GB, free: 73.97 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.144, allocations: 13.38 kB / 0.5208 GB, free: 73.96 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/1.144, allocations: 11.28 kB / 0.5208 GB, free: 73.96 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/1.144, allocations: 191.1 kB / 0.521 GB, free: 73.76 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/1.144, allocations: 5.75 kB / 0.521 GB, free: 73.76 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/1.144, allocations: 13.42 kB / 0.521 GB, free: 73.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/1.144, allocations: 137.9 kB / 0.5211 GB, free: 73.69 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.144, allocations: 0 / 0.5211 GB, free: 73.69 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/1.144, allocations: 2.562 kB / 0.5211 GB, free: 73.69 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.144, allocations: 3.375 kB / 0.5211 GB, free: 73.69 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/1.145, allocations: 103.7 kB / 0.5212 GB, free: 73.69 MB / 234.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.0007888/1.145, allocations: 0.6435 MB / 0.5218 GB, free: 73.12 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/1.146, allocations: 136 kB / 0.522 GB, free: 73.1 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/1.146, allocations: 49.92 kB / 0.522 GB, free: 73.09 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/1.146, allocations: 0.5789 MB / 0.5226 GB, free: 72.43 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/1.146, allocations: 37.22 kB / 0.5226 GB, free: 72.39 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/1.146, allocations: 3.156 kB / 0.5226 GB, free: 72.39 MB / 234.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004454/1.151, allocations: 1.036 MB / 0.5236 GB, free: 71.98 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/1.151, allocations: 58.31 kB / 0.5237 GB, free: 71.91 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/1.151, allocations: 99.81 kB / 0.5238 GB, free: 71.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/1.151, allocations: 27.95 kB / 0.5238 GB, free: 71.79 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/1.151, allocations: 97.73 kB / 0.5239 GB, free: 71.71 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/1.151, allocations: 66.81 kB / 0.524 GB, free: 71.67 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/1.151, allocations: 5.969 kB / 0.524 GB, free: 71.67 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/1.151, allocations: 316.7 kB / 0.5243 GB, free: 71.36 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/1.151, allocations: 53.47 kB / 0.5243 GB, free: 71.36 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/1.151, allocations: 93.56 kB / 0.5244 GB, free: 71.32 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/1.152, allocations: 56.8 kB / 0.5245 GB, free: 71.32 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/1.152, allocations: 0 / 0.5245 GB, free: 71.32 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003838/1.152, allocations: 232.5 kB / 0.5247 GB, free: 71.26 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.152, allocations: 9.719 kB / 0.5247 GB, free: 71.26 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.152, allocations: 0 / 0.5247 GB, free: 71.26 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/1.152, allocations: 51.7 kB / 0.5247 GB, free: 71.25 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/1.152, allocations: 47.41 kB / 0.5248 GB, free: 71.25 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004137/1.153, allocations: 0.5666 MB / 0.5253 GB, free: 70.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.095e-05/1.153, allocations: 10.75 kB / 0.5254 GB, free: 70.72 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/1.153, allocations: 29.33 kB / 0.5254 GB, free: 70.71 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(200.0, 200.0) max = min(6000.0, 6000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00022/1.153, allocations: 132.4 kB / 0.5255 GB, free: 70.6 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/1.153, allocations: 10.03 kB / 0.5255 GB, free: 70.6 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/1.154, allocations: 317.1 kB / 0.5258 GB, free: 70.52 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.154, allocations: 2.812 kB / 0.5258 GB, free: 70.52 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.154, allocations: 0 / 0.5258 GB, free: 70.52 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.154, allocations: 7.891 kB / 0.5258 GB, free: 70.51 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/1.155, allocations: 0.5584 MB / 0.5264 GB, free: 70.11 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.155, allocations: 3.953 kB / 0.5264 GB, free: 70.11 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/1.155, allocations: 59.23 kB / 0.5264 GB, free: 70.11 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.674e-05/1.155, allocations: 22.05 kB / 0.5265 GB, free: 70.09 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/1.155, allocations: 21.48 kB / 0.5265 GB, free: 70.09 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000664/1.156, allocations: 1.262 MB / 0.5277 GB, free: 68.78 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.156, allocations: 160 / 0.5277 GB, free: 68.78 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/1.156, allocations: 431.2 kB / 0.5281 GB, free: 68.48 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/1.156, allocations: 84.92 kB / 0.5282 GB, free: 68.38 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/1.156, allocations: 15.69 kB / 0.5282 GB, free: 68.37 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/1.157, allocations: 7.781 kB / 0.5282 GB, free: 68.37 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/1.157, allocations: 23.48 kB / 0.5282 GB, free: 68.36 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/1.157, allocations: 26.5 kB / 0.5283 GB, free: 68.36 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.55e-05/1.157, allocations: 90.25 kB / 0.5284 GB, free: 68.28 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.157, allocations: 0 / 0.5284 GB, free: 68.28 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0008067/1.158, allocations: 144.8 kB / 0.5285 GB, free: 68.24 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.001177/1.159, allocations: 0.6038 MB / 0.5291 GB, free: 68.02 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003747/1.159, allocations: 165.8 kB / 0.5292 GB, free: 67.97 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.159, allocations: 3.312 kB / 0.5292 GB, free: 67.97 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/1.159, allocations: 207.7 kB / 0.5294 GB, free: 67.83 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/1.16, allocations: 45.66 kB / 0.5295 GB, free: 67.82 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/1.16, allocations: 313.1 kB / 0.5298 GB, free: 67.59 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/1.16, allocations: 0.7155 MB / 0.5305 GB, free: 66.88 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002941/1.161, allocations: 74.42 kB / 0.5306 GB, free: 66.85 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/1.161, allocations: 53.42 kB / 0.5306 GB, free: 66.83 MB / 234.7 MB Notification: Performance of SimCode: time 6.02e-07/1.161, allocations: 4 kB / 0.5306 GB, free: 66.83 MB / 234.7 MB Notification: Performance of Templates: time 0.01693/1.178, allocations: 13.12 MB / 0.5434 GB, free: 55.64 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)