Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6897/0.6897, allocations: 110.9 MB / 125.9 MB, free: 6.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001817/0.001816, allocations: 150.6 kB / 151.9 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002897, allocations: 4 kB / 184.9 MB, free: 3.902 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 25.16 MB / 210.1 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.476, allocations: 0.6514 GB / 0.8565 GB, free: 62.55 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/1.477, allocations: 71.95 kB / 0.8566 GB, free: 62.48 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.47/2.946, allocations: 461.9 MB / 1.308 GB, free: 38.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/2.946, allocations: 1 kB / 1.308 GB, free: 38.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.088e-05/2.946, allocations: 12.53 kB / 1.308 GB, free: 38.33 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001575/2.948, allocations: 0.8576 MB / 1.309 GB, free: 37.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/2.948, allocations: 10.56 kB / 1.309 GB, free: 37.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/2.948, allocations: 53.47 kB / 1.309 GB, free: 37.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/2.948, allocations: 363.9 kB / 1.309 GB, free: 37.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/2.949, allocations: 28.28 kB / 1.309 GB, free: 37.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/2.949, allocations: 33.91 kB / 1.309 GB, free: 37.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/2.949, allocations: 0.5098 MB / 1.31 GB, free: 37.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/2.949, allocations: 4.594 kB / 1.31 GB, free: 37.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/2.949, allocations: 21.53 kB / 1.31 GB, free: 37.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/2.949, allocations: 9.969 kB / 1.31 GB, free: 37.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/2.95, allocations: 487.3 kB / 1.31 GB, free: 37.67 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002139/2.952, allocations: 1.868 MB / 1.312 GB, free: 36.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/2.952, allocations: 179.9 kB / 1.312 GB, free: 36.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000706/2.953, allocations: 0.876 MB / 1.313 GB, free: 35.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/2.953, allocations: 41.12 kB / 1.313 GB, free: 35.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/2.953, allocations: 0 / 1.313 GB, free: 35.86 MB / 266.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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.005354/2.958, allocations: 1.657 MB / 1.315 GB, free: 35.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/2.958, allocations: 62.14 kB / 1.315 GB, free: 34.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/2.959, allocations: 432 kB / 1.315 GB, free: 34.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/2.959, allocations: 30.86 kB / 1.315 GB, free: 34.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/2.959, allocations: 316 kB / 1.315 GB, free: 34.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/2.959, allocations: 90.86 kB / 1.315 GB, free: 34.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/2.959, allocations: 11.16 kB / 1.315 GB, free: 34.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/2.959, allocations: 354.4 kB / 1.316 GB, free: 34.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/2.96, allocations: 131.9 kB / 1.316 GB, free: 34.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/2.96, allocations: 435.6 kB / 1.316 GB, free: 33.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/2.96, allocations: 227.5 kB / 1.317 GB, free: 33.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/2.96, allocations: 3.688 kB / 1.317 GB, free: 33.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009595/2.961, allocations: 0.6258 MB / 1.317 GB, free: 33.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/2.961, allocations: 8.906 kB / 1.317 GB, free: 33.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/2.961, allocations: 13.47 kB / 1.317 GB, free: 33.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/2.962, allocations: 59.02 kB / 1.317 GB, free: 33.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/2.962, allocations: 143.3 kB / 1.317 GB, free: 33.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/2.963, allocations: 1.857 MB / 1.319 GB, free: 32.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/2.963, allocations: 36.31 kB / 1.319 GB, free: 32.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/2.963, allocations: 42.47 kB / 1.319 GB, free: 32.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 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.0001779/2.964, allocations: 214.6 kB / 1.319 GB, free: 31.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/2.964, allocations: 47.02 kB / 1.319 GB, free: 31.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/2.964, allocations: 292.6 kB / 1.32 GB, free: 31.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/2.964, allocations: 3.906 kB / 1.32 GB, free: 31.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/2.964, allocations: 0 / 1.32 GB, free: 31.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003342/2.964, allocations: 0.5262 MB / 1.32 GB, free: 31.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/2.965, allocations: 0.7071 MB / 1.321 GB, free: 31.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/2.965, allocations: 0 / 1.321 GB, free: 31.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/2.966, allocations: 60.75 kB / 1.321 GB, free: 31.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.399e-05/2.966, allocations: 17.73 kB / 1.321 GB, free: 31.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/2.966, allocations: 16.81 kB / 1.321 GB, free: 31.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005884/2.966, allocations: 1.277 MB / 1.322 GB, free: 29.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/2.966, allocations: 2.875 kB / 1.322 GB, free: 29.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/2.967, allocations: 419.4 kB / 1.323 GB, free: 29.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/2.967, allocations: 156.8 kB / 1.323 GB, free: 29.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/2.967, allocations: 4.844 kB / 1.323 GB, free: 29.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/2.967, allocations: 20.06 kB / 1.323 GB, free: 29.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/2.967, allocations: 19.97 kB / 1.323 GB, free: 29.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/2.967, allocations: 13.03 kB / 1.323 GB, free: 29.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003062/2.968, allocations: 322.8 kB / 1.323 GB, free: 29.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.41e-07/2.968, allocations: 4.094 kB / 1.323 GB, free: 29.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001382/2.969, allocations: 304.9 kB / 1.324 GB, free: 29.46 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002123/2.971, allocations: 1.135 MB / 1.325 GB, free: 29.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008248/2.972, allocations: 466.3 kB / 1.325 GB, free: 29.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.972, allocations: 0.9375 kB / 1.325 GB, free: 29.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/2.972, allocations: 211.5 kB / 1.325 GB, free: 29.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/2.973, allocations: 220.7 kB / 1.325 GB, free: 29.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/2.975, allocations: 1.019 MB / 1.326 GB, free: 28.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/2.975, allocations: 0.8357 MB / 1.327 GB, free: 27.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0005026/2.975, allocations: 139.8 kB / 1.327 GB, free: 27.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/2.976, allocations: 50.14 kB / 1.327 GB, free: 27.9 MB / 266.7 MB Notification: Performance of SimCode: time 3e-07/2.976, allocations: 0 / 1.327 GB, free: 27.9 MB / 266.7 MB Notification: Performance of Templates: time 0.0275/3.003, allocations: 22.61 MB / 1.35 GB, free: 26.94 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)