Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009445/0.0009447, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004464, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2144, allocations: 47.59 MB / 326.5 MB, free: 1.609 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3671/0.5816, allocations: 136.8 MB / 463.3 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.5833, allocations: 1.382 MB / 464.7 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.5834, allocations: 5.344 kB / 464.7 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.5836, allocations: 36.34 kB / 464.7 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008416/0.5845, allocations: 275.8 kB / 465 MB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.585, allocations: 132.1 kB / 465.1 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.5853, allocations: 209.4 kB / 465.3 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.364e-05/0.5853, allocations: 4.188 kB / 465.3 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.5855, allocations: 68.94 kB / 465.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.5857, allocations: 69.36 kB / 465.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.5857, allocations: 7.656 kB / 465.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009935/0.5867, allocations: 435.1 kB / 465.9 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.5868, allocations: 27.45 kB / 465.9 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.5868, allocations: 43.61 kB / 466 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.5872, allocations: 260.9 kB / 466.2 MB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5873, allocations: 1.219 kB / 466.2 MB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5873, allocations: 0 / 466.2 MB, free: 1.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.5873, allocations: 4 kB / 466.2 MB, free: 1.852 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006087/0.5879, allocations: 401.7 kB / 466.6 MB, free: 17.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5879, allocations: 9.5 kB / 466.6 MB, free: 17.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.5899, allocations: 193.8 kB / 466.8 MB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.5901, allocations: 212.1 kB / 467 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5902, allocations: 5.469 kB / 467 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.5902, allocations: 13.5 kB / 467 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.5907, allocations: 201.2 kB / 467.2 MB, free: 17.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5907, allocations: 0 / 467.2 MB, free: 17.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.5907, allocations: 8.547 kB / 467.2 MB, free: 17.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5907, allocations: 1.531 kB / 467.2 MB, free: 17.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.5913, allocations: 237.1 kB / 467.5 MB, free: 17.22 MB / 398.1 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.001512/0.5928, allocations: 0.6759 MB / 468.1 MB, free: 16.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.5932, allocations: 187 kB / 468.3 MB, free: 16.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.5934, allocations: 94.84 kB / 468.4 MB, free: 16.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.5935, allocations: 92.78 kB / 468.5 MB, free: 16.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.5936, allocations: 37.38 kB / 468.5 MB, free: 16.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.5936, allocations: 0 / 468.5 MB, free: 16.67 MB / 398.1 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.004909/0.5985, allocations: 1.533 MB / 470.1 MB, free: 16.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.5986, allocations: 54.66 kB / 470.1 MB, free: 15.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.5987, allocations: 115 kB / 470.2 MB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.5987, allocations: 28.83 kB / 470.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.5988, allocations: 101.3 kB / 470.4 MB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.5989, allocations: 69.05 kB / 470.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.5989, allocations: 2.75 kB / 470.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.599, allocations: 320.2 kB / 470.8 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.5992, allocations: 96.03 kB / 470.8 MB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.5994, allocations: 122.1 kB / 471 MB, free: 15.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.5996, allocations: 104.6 kB / 471.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5996, allocations: 0 / 471.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005263/0.6001, allocations: 286.7 kB / 471.3 MB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6002, allocations: 3.312 kB / 471.4 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6002, allocations: 3 kB / 471.4 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.6003, allocations: 31.19 kB / 471.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.6007, allocations: 56.23 kB / 471.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003621/0.6011, allocations: 0.5307 MB / 472 MB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.6014, allocations: 14.16 kB / 472 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.6014, allocations: 13.31 kB / 472 MB, free: 14.78 MB / 398.1 MB 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 () * Number of clocked 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.0001234/0.6015, allocations: 126.6 kB / 472.1 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.6016, allocations: 10.5 kB / 472.1 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.6023, allocations: 314.4 kB / 472.4 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6023, allocations: 7.156 kB / 472.4 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6023, allocations: 0 / 472.4 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6024, allocations: 3.234 kB / 472.4 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.6033, allocations: 0.6747 MB / 473.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6033, allocations: 0 / 473.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.6037, allocations: 53.56 kB / 473.2 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.569e-05/0.6038, allocations: 29.88 kB / 473.2 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.6038, allocations: 9.484 kB / 473.2 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009653/0.6048, allocations: 1.264 MB / 474.5 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6048, allocations: 0 / 474.5 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.6056, allocations: 453 kB / 474.9 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.6056, allocations: 93.83 kB / 475 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.6057, allocations: 9.766 kB / 475 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.606, allocations: 10.72 kB / 475 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.606, allocations: 22.16 kB / 475.1 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.6061, allocations: 12.53 kB / 475.1 MB, free: 12.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.437e-05/0.6062, allocations: 87.78 kB / 475.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6062, allocations: 0 / 475.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00063/0.6068, allocations: 125.2 kB / 475.3 MB, free: 12.59 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.0006506/0.6075, allocations: 235.9 kB / 475.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005724/0.608, allocations: 235.7 kB / 475.7 MB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6081, allocations: 2.734 kB / 475.7 MB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.6084, allocations: 227.4 kB / 476 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.6089, allocations: 47.5 kB / 476 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.6096, allocations: 0.5686 MB / 476.6 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.6099, allocations: 0.701 MB / 477.3 MB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000432/0.6103, allocations: 61.02 kB / 477.3 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.6105, allocations: 22.7 kB / 477.4 MB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6105, allocations: 2.734 kB / 477.4 MB, free: 11.29 MB / 398.1 MB Notification: Performance of Templates: time 0.01011/0.6206, allocations: 6.044 MB / 483.4 MB, free: 10.9 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)