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.00155/0.00155, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.573/1.573, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001793/0.001793, allocations: 103.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.692e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07597/0.07602, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.685/1.761, allocations: 0.6954 GB / 0.9958 GB, free: 47.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.761, allocations: 88.69 kB / 0.9959 GB, free: 47.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.87/3.632, allocations: 0.5517 GB / 1.548 GB, free: 46.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.335e-06/3.632, allocations: 0 / 1.548 GB, free: 46.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.175e-05/3.632, allocations: 17.36 kB / 1.548 GB, free: 46.79 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.002181/3.634, allocations: 0.9597 MB / 1.549 GB, free: 46.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/3.634, allocations: 11.22 kB / 1.549 GB, free: 46.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006525/3.635, allocations: 151.1 kB / 1.549 GB, free: 45.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/3.635, allocations: 476.4 kB / 1.549 GB, free: 45.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/3.635, allocations: 57.94 kB / 1.549 GB, free: 45.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/3.636, allocations: 75.95 kB / 1.549 GB, free: 45.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/3.637, allocations: 0.9093 MB / 1.55 GB, free: 44.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/3.637, allocations: 7.25 kB / 1.55 GB, free: 44.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/3.637, allocations: 32 kB / 1.55 GB, free: 44.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/3.637, allocations: 16 kB / 1.55 GB, free: 44.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/3.638, allocations: 0.8317 MB / 1.551 GB, free: 43.5 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.003965/3.642, allocations: 3.034 MB / 1.554 GB, free: 40.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/3.643, allocations: 0.6298 MB / 1.555 GB, free: 39.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/3.643, allocations: 354.4 kB / 1.555 GB, free: 39.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/3.643, allocations: 21.72 kB / 1.555 GB, free: 39.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/3.643, allocations: 47.06 kB / 1.555 GB, free: 39.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.106e-06/3.643, allocations: 0 / 1.555 GB, free: 39.27 MB / 362.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: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.01141/3.655, allocations: 4.28 MB / 1.559 GB, free: 34.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/3.655, allocations: 60.19 kB / 1.559 GB, free: 34.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/3.655, allocations: 0.4971 MB / 1.56 GB, free: 34.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/3.655, allocations: 41.7 kB / 1.56 GB, free: 34.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/3.656, allocations: 276.6 kB / 1.56 GB, free: 34.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/3.656, allocations: 250.8 kB / 1.56 GB, free: 33.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/3.656, allocations: 19.75 kB / 1.56 GB, free: 33.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/3.656, allocations: 366.8 kB / 1.561 GB, free: 33.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/3.656, allocations: 429.4 kB / 1.561 GB, free: 32.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/3.657, allocations: 0.5014 MB / 1.562 GB, free: 32.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/3.658, allocations: 0.4915 MB / 1.562 GB, free: 31.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/3.658, allocations: 3.438 kB / 1.562 GB, free: 31.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001725/3.659, allocations: 1.345 MB / 1.563 GB, free: 30.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/3.659, allocations: 6.656 kB / 1.563 GB, free: 30.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/3.659, allocations: 4 kB / 1.563 GB, free: 30.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/3.66, allocations: 340.8 kB / 1.564 GB, free: 30.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/3.661, allocations: 175.8 kB / 1.564 GB, free: 30.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005333/3.666, allocations: 10.21 MB / 1.574 GB, free: 18.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/3.667, allocations: 74.45 kB / 1.574 GB, free: 18.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/3.667, allocations: 43.98 kB / 1.574 GB, free: 18.82 MB / 362.7 MB 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.0002536/3.667, allocations: 148.8 kB / 1.574 GB, free: 18.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/3.668, allocations: 63.33 kB / 1.574 GB, free: 18.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/3.67, allocations: 1.295 MB / 1.575 GB, free: 17.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/3.67, allocations: 8 kB / 1.575 GB, free: 17.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/3.67, allocations: 0 / 1.575 GB, free: 17.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001293/3.671, allocations: 1.593 MB / 1.577 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/3.674, allocations: 2.258 MB / 1.579 GB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/3.674, allocations: 4 kB / 1.579 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/3.675, allocations: 223 kB / 1.579 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/3.675, allocations: 68.75 kB / 1.58 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/3.675, allocations: 46.95 kB / 1.58 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008855/3.676, allocations: 1.435 MB / 1.581 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/3.676, allocations: 0 / 1.581 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/3.678, allocations: 1.614 MB / 1.583 GB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/3.678, allocations: 152.3 kB / 1.583 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-05/3.678, allocations: 23.98 kB / 1.583 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007048/3.679, allocations: 73.61 kB / 1.583 GB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/3.679, allocations: 64.64 kB / 1.583 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/3.679, allocations: 63.64 kB / 1.583 GB, free: 9.285 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003751/3.679, allocations: 397.1 kB / 1.583 GB, free: 8.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/3.679, allocations: 0 / 1.583 GB, free: 8.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001493/3.681, allocations: 411.9 kB / 1.584 GB, free: 8.496 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.002172/3.683, allocations: 1.15 MB / 1.585 GB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001977/3.685, allocations: 1.843 MB / 1.587 GB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/3.685, allocations: 4 kB / 1.587 GB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007677/3.686, allocations: 0.6713 MB / 1.587 GB, free: 4.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/3.688, allocations: 490 kB / 1.588 GB, free: 4.438 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/3.691, allocations: 1.882 MB / 1.59 GB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/3.692, allocations: 0.9983 MB / 1.591 GB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008682/3.693, allocations: 274.7 kB / 1.591 GB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/3.693, allocations: 87.41 kB / 1.591 GB, free: 1.184 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/3.693, allocations: 0 / 1.591 GB, free: 1.184 MB / 362.7 MB Notification: Performance of Templates: time 0.2767/3.969, allocations: 37.73 MB / 1.628 GB, free: 64.87 MB / 378.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)