Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001134/0.001134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001322/0.001322, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.37/1.37, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001232/0.001232, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2006, allocations: 46.63 MB / 324.8 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3314/0.5321, allocations: 148.7 MB / 473.6 MB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.5337, allocations: 1.487 MB / 475.1 MB, free: 14.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.5338, allocations: 4 kB / 475.1 MB, free: 14.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.5342, allocations: 49.66 kB / 475.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.5354, allocations: 351 kB / 475.5 MB, free: 14.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.536, allocations: 158.1 kB / 475.6 MB, free: 14.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.5363, allocations: 180.6 kB / 475.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.5363, allocations: 8.656 kB / 475.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.5365, allocations: 75.92 kB / 475.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.5367, allocations: 64.14 kB / 475.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.5368, allocations: 6.062 kB / 475.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.5379, allocations: 0.5995 MB / 476.5 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.538, allocations: 28.45 kB / 476.6 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.15e-05/0.5381, allocations: 51.64 kB / 476.6 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000746/0.5388, allocations: 430 kB / 477 MB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5389, allocations: 2.484 kB / 477 MB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5389, allocations: 0 / 477 MB, free: 14.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5389, allocations: 2.375 kB / 477 MB, free: 14.33 MB / 398.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.0006921/0.5396, allocations: 431.4 kB / 477.5 MB, free: 13.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5396, allocations: 7.938 kB / 477.5 MB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.5419, allocations: 196.9 kB / 477.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.5422, allocations: 207.3 kB / 477.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5422, allocations: 11.97 kB / 477.9 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.5423, allocations: 10.12 kB / 477.9 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.5427, allocations: 204.3 kB / 478.1 MB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.5428, allocations: 3.984 kB / 478.1 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.5428, allocations: 3.375 kB / 478.1 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5428, allocations: 3.969 kB / 478.1 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.5434, allocations: 242.8 kB / 478.3 MB, free: 13.68 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.001724/0.5451, allocations: 0.6641 MB / 479 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.5455, allocations: 189.7 kB / 479.2 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.5457, allocations: 89.22 kB / 479.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.546, allocations: 90.48 kB / 479.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.546, allocations: 43.58 kB / 479.4 MB, free: 13.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.546, allocations: 2.281 kB / 479.4 MB, free: 13.13 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.005946/0.552, allocations: 1.534 MB / 480.9 MB, free: 12.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.552, allocations: 51.41 kB / 481 MB, free: 12.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.5521, allocations: 112.2 kB / 481.1 MB, free: 12.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.5522, allocations: 35.55 kB / 481.1 MB, free: 12.31 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.5523, allocations: 99.33 kB / 481.2 MB, free: 12.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.5523, allocations: 64.14 kB / 481.3 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.5524, allocations: 47.86 kB / 481.3 MB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5525, allocations: 320.9 kB / 481.7 MB, free: 11.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.5528, allocations: 93.09 kB / 481.7 MB, free: 11.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.553, allocations: 128.7 kB / 481.9 MB, free: 11.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.5534, allocations: 219.5 kB / 482.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5534, allocations: 0 / 482.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005922/0.554, allocations: 295.8 kB / 482.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5541, allocations: 5.281 kB / 482.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5541, allocations: 1.203 kB / 482.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.5542, allocations: 25.88 kB / 482.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.5547, allocations: 53.7 kB / 482.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000366/0.555, allocations: 0.5372 MB / 483 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.5554, allocations: 13.92 kB / 483 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.5554, allocations: 11.66 kB / 483 MB, free: 11.17 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 (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.0001372/0.5556, allocations: 131.1 kB / 483.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.5556, allocations: 14.69 kB / 483.2 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007313/0.5564, allocations: 318 kB / 483.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5564, allocations: 0 / 483.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.5564, allocations: 9.781 kB / 483.5 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5564, allocations: 1.203 kB / 483.5 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.5575, allocations: 0.6735 MB / 484.2 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5575, allocations: 0 / 484.2 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.558, allocations: 58.47 kB / 484.2 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.439e-05/0.5581, allocations: 20.64 kB / 484.2 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.5581, allocations: 6.25 kB / 484.2 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.5592, allocations: 1.366 MB / 485.6 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5592, allocations: 2.719 kB / 485.6 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.56, allocations: 457.4 kB / 486.1 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.5601, allocations: 89.48 kB / 486.1 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.5601, allocations: 6.469 kB / 486.2 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.5605, allocations: 18.91 kB / 486.2 MB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.5605, allocations: 15.28 kB / 486.2 MB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.5606, allocations: 12.98 kB / 486.2 MB, free: 8.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.5606, allocations: 86.55 kB / 486.3 MB, free: 8.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.12e-07/0.5606, allocations: 0 / 486.3 MB, free: 8.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006075/0.5612, allocations: 132.9 kB / 486.4 MB, free: 8.848 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 (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.0007225/0.562, allocations: 251.1 kB / 486.7 MB, free: 8.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005982/0.5626, allocations: 243 kB / 486.9 MB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5626, allocations: 0 / 486.9 MB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.563, allocations: 231.3 kB / 487.1 MB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.5634, allocations: 57.39 kB / 487.2 MB, free: 8.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009197/0.5644, allocations: 0.5128 MB / 487.7 MB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.5646, allocations: 0.7067 MB / 488.4 MB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004241/0.5651, allocations: 56.34 kB / 488.5 MB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.5652, allocations: 24.73 kB / 488.5 MB, free: 7.496 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5652, allocations: 4 kB / 488.5 MB, free: 7.492 MB / 398.1 MB Notification: Performance of Templates: time 0.01008/0.5753, allocations: 6.232 MB / 494.7 MB, free: 6.059 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)