Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001011/0.001011, allocations: 108.8 kB / 16.51 MB, free: 6.707 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.001074/0.001074, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.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.001178/0.001178, allocations: 47.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07712/0.07831, allocations: 46.62 MB / 325.9 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.302/0.3804, allocations: 148.6 MB / 474.6 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3823, allocations: 1.537 MB / 476.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.3824, allocations: 0 / 476.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.3828, allocations: 47.78 kB / 476.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009636/0.3838, allocations: 355.1 kB / 476.5 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.3843, allocations: 143.6 kB / 476.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.3846, allocations: 255.1 kB / 476.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.3846, allocations: 4 kB / 476.9 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.3848, allocations: 67.72 kB / 477 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.385, allocations: 63.73 kB / 477 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.385, allocations: 4 kB / 477 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.3863, allocations: 0.6782 MB / 477.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.9e-05/0.3864, allocations: 31.83 kB / 477.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.3864, allocations: 51.8 kB / 477.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007269/0.3872, allocations: 428.5 kB / 478.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3872, allocations: 0 / 478.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3872, allocations: 0 / 478.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3872, allocations: 0 / 478.2 MB, free: 15.39 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.0005777/0.3878, allocations: 432 kB / 478.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3878, allocations: 8.031 kB / 478.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.3901, allocations: 196.5 kB / 478.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3903, allocations: 204.2 kB / 479 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3903, allocations: 12.31 kB / 479 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.3904, allocations: 8 kB / 479.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.3908, allocations: 201.5 kB / 479.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3908, allocations: 0 / 479.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.3909, allocations: 4 kB / 479.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3909, allocations: 4 kB / 479.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.3915, allocations: 247.7 kB / 479.5 MB, free: 14.01 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.001723/0.3932, allocations: 0.6655 MB / 480.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.3937, allocations: 190.4 kB / 480.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.3939, allocations: 92.75 kB / 480.4 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.394, allocations: 97.08 kB / 480.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3941, allocations: 34.56 kB / 480.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.3941, allocations: 0 / 480.6 MB, free: 12.84 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.00587/0.4, allocations: 1.545 MB / 482.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.4, allocations: 55.41 kB / 482.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.34e-05/0.4001, allocations: 109.8 kB / 482.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.4001, allocations: 29.7 kB / 482.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.4002, allocations: 96.27 kB / 482.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.4003, allocations: 71.08 kB / 482.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.4004, allocations: 45.56 kB / 482.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.4005, allocations: 322.8 kB / 482.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.4007, allocations: 91.95 kB / 482.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.4009, allocations: 123.2 kB / 483 MB, free: 10.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.4014, allocations: 223.3 kB / 483.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4014, allocations: 4 kB / 483.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006164/0.402, allocations: 294 kB / 483.5 MB, free: 9.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4021, allocations: 8 kB / 483.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4021, allocations: 0 / 483.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.4022, allocations: 20.84 kB / 483.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.4027, allocations: 60 kB / 483.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003901/0.4031, allocations: 0.5329 MB / 484.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.4034, allocations: 11.95 kB / 484.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.4034, allocations: 12 kB / 484.2 MB, free: 9.004 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.4036, allocations: 129.8 kB / 484.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.4037, allocations: 11.91 kB / 484.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.4044, allocations: 311.4 kB / 484.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4045, allocations: 4 kB / 484.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4045, allocations: 7.875 kB / 484.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4045, allocations: 7.922 kB / 484.7 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.4056, allocations: 0.6711 MB / 485.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4056, allocations: 0 / 485.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.406, allocations: 55.89 kB / 485.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-05/0.4061, allocations: 16.84 kB / 485.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.4061, allocations: 8 kB / 485.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007901/0.4069, allocations: 1.273 MB / 486.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4069, allocations: 0 / 486.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.4078, allocations: 454.7 kB / 487.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.4078, allocations: 89.05 kB / 487.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.4079, allocations: 7.984 kB / 487.2 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.4082, allocations: 13.56 kB / 487.2 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.4082, allocations: 19.97 kB / 487.2 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.4083, allocations: 12 kB / 487.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.217e-05/0.4083, allocations: 87.27 kB / 487.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.4083, allocations: 0 / 487.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005574/0.4089, allocations: 131.9 kB / 487.5 MB, free: 5.457 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007124/0.4096, allocations: 255 kB / 487.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005813/0.4102, allocations: 232 kB / 487.9 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4102, allocations: 0 / 487.9 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.4106, allocations: 238.4 kB / 488.2 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.4111, allocations: 56.02 kB / 488.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.4119, allocations: 0.5025 MB / 488.7 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.4121, allocations: 0.7049 MB / 489.4 MB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004098/0.4125, allocations: 53.33 kB / 489.5 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.4127, allocations: 27.42 kB / 489.5 MB, free: 3.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4127, allocations: 0 / 489.5 MB, free: 3.32 MB / 382.1 MB Notification: Performance of Templates: time 0.00897/0.4216, allocations: 6.112 MB / 495.6 MB, free: 13.21 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)