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.001331/0.001331, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001415/0.001416, allocations: 177.3 kB / 15.94 MB, free: 228 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.364/1.364, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.0006412/0.0006413, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2601, allocations: 47.58 MB / 326.4 MB, free: 1.688 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1422/0.4024, allocations: 125.7 MB / 452.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.4041, allocations: 1.243 MB / 453.4 MB, free: 4.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.4041, allocations: 3.938 kB / 453.4 MB, free: 4.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.4045, allocations: 39.86 kB / 453.4 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008271/0.4053, allocations: 275.2 kB / 453.7 MB, free: 4.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.4057, allocations: 131.6 kB / 453.8 MB, free: 3.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.406, allocations: 115.8 kB / 453.9 MB, free: 3.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.406, allocations: 8 kB / 453.9 MB, free: 3.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.4062, allocations: 79.73 kB / 454 MB, free: 3.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.4063, allocations: 43.84 kB / 454.1 MB, free: 3.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.4063, allocations: 4 kB / 454.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009642/0.4073, allocations: 439.4 kB / 454.5 MB, free: 3.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.4074, allocations: 27.89 kB / 454.5 MB, free: 3.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.4074, allocations: 41.7 kB / 454.6 MB, free: 3.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.4079, allocations: 261 kB / 454.8 MB, free: 2.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.4079, allocations: 0 / 454.8 MB, free: 2.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4079, allocations: 4 kB / 454.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.4079, allocations: 0 / 454.8 MB, free: 2.949 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.0004967/0.4084, allocations: 399.4 kB / 455.2 MB, free: 2.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4084, allocations: 12.02 kB / 455.2 MB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.4107, allocations: 195.6 kB / 455.4 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.411, allocations: 218.8 kB / 455.6 MB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.411, allocations: 8.188 kB / 455.6 MB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.411, allocations: 8 kB / 455.6 MB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.4115, allocations: 199 kB / 455.8 MB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4115, allocations: 0 / 455.8 MB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.4116, allocations: 8 kB / 455.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4116, allocations: 0 / 455.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005734/0.4122, allocations: 244.3 kB / 456.1 MB, free: 1.594 MB / 382.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.001753/0.4139, allocations: 0.6721 MB / 456.7 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.4144, allocations: 186.5 kB / 456.9 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.4145, allocations: 97.03 kB / 457 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.4146, allocations: 30.56 kB / 457.1 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.4146, allocations: 0 / 457.1 MB, free: 0.5195 MB / 382.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.2017/0.6163, allocations: 1.53 MB / 458.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.6164, allocations: 57.5 kB / 458.6 MB, free: 6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.6165, allocations: 116.2 kB / 458.8 MB, free: 5.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.6165, allocations: 26.77 kB / 458.8 MB, free: 5.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.6166, allocations: 102.4 kB / 458.9 MB, free: 5.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.6166, allocations: 66.31 kB / 458.9 MB, free: 5.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.6167, allocations: 1.031 kB / 458.9 MB, free: 5.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.6167, allocations: 325.7 kB / 459.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.617, allocations: 90.98 kB / 459.4 MB, free: 5.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.6172, allocations: 120 kB / 459.5 MB, free: 5.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.6175, allocations: 97.86 kB / 459.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6175, allocations: 0.5 kB / 459.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000686/0.6182, allocations: 285.7 kB / 459.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6182, allocations: 5.953 kB / 459.9 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6182, allocations: 1.312 kB / 459.9 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.6183, allocations: 26.69 kB / 459.9 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.6188, allocations: 58.86 kB / 459.9 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002615/0.6191, allocations: 0.5373 MB / 460.5 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.6195, allocations: 17.86 kB / 460.5 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.6195, allocations: 8.766 kB / 460.5 MB, free: 4.824 MB / 382.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.0001062/0.6196, allocations: 131.2 kB / 460.6 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.6197, allocations: 12.88 kB / 460.6 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007486/0.6205, allocations: 319.6 kB / 461 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6205, allocations: 1.875 kB / 461 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6205, allocations: 1.406 kB / 461 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6205, allocations: 0 / 461 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.6216, allocations: 0.6751 MB / 461.6 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6216, allocations: 1.5 kB / 461.6 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.622, allocations: 56.23 kB / 461.7 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-05/0.6221, allocations: 19.53 kB / 461.7 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.6222, allocations: 9.844 kB / 461.7 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006907/0.6229, allocations: 1.28 MB / 463 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6229, allocations: 1.312 kB / 463 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/0.6237, allocations: 496.5 kB / 463.5 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.6238, allocations: 85.23 kB / 463.6 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.6238, allocations: 5.562 kB / 463.6 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.6242, allocations: 8.516 kB / 463.6 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.6242, allocations: 23.97 kB / 463.6 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.6243, allocations: 13.36 kB / 463.6 MB, free: 2.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.702e-05/0.6243, allocations: 89.12 kB / 463.7 MB, free: 2.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6243, allocations: 0 / 463.7 MB, free: 2.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005897/0.6249, allocations: 127.8 kB / 463.8 MB, free: 2.609 MB / 382.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.0006366/0.6255, allocations: 238.3 kB / 464.1 MB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.6262, allocations: 223.8 kB / 464.3 MB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6262, allocations: 1.031 kB / 464.3 MB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.6265, allocations: 229.2 kB / 464.5 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.6269, allocations: 45.77 kB / 464.5 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009111/0.6278, allocations: 0.568 MB / 465.1 MB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.6282, allocations: 0.7108 MB / 465.8 MB, free: 17.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004117/0.6286, allocations: 57.53 kB / 465.9 MB, free: 17.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.6288, allocations: 21.61 kB / 465.9 MB, free: 17.31 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6288, allocations: 0 / 465.9 MB, free: 17.31 MB / 398.1 MB Notification: Performance of Templates: time 0.009598/0.6384, allocations: 6.046 MB / 472 MB, free: 16.93 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: