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.001223/0.001223, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001344/0.001344, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.345/1.345, allocations: 205.1 MB / 222 MB, free: 4.77 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.001157/0.001157, allocations: 47.92 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2175, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3442/0.5617, allocations: 148.6 MB / 473.3 MB, free: 14.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.5633, allocations: 1.548 MB / 474.8 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.5634, allocations: 0 / 474.8 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.5637, allocations: 47.7 kB / 474.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000711/0.5644, allocations: 345.2 kB / 475.2 MB, free: 14.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.5649, allocations: 157.6 kB / 475.4 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.5651, allocations: 242.1 kB / 475.6 MB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.5652, allocations: 11.28 kB / 475.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.5653, allocations: 68.48 kB / 475.7 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.5654, allocations: 63.33 kB / 475.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.5654, allocations: 2.469 kB / 475.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/0.5664, allocations: 0.6769 MB / 476.4 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.5665, allocations: 27.06 kB / 476.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.683e-05/0.5666, allocations: 47.41 kB / 476.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005844/0.5672, allocations: 436.7 kB / 476.9 MB, free: 14.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5672, allocations: 4 kB / 476.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5672, allocations: 0 / 476.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.5672, allocations: 0 / 476.9 MB, free: 14.61 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.0005411/0.5678, allocations: 424.3 kB / 477.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5678, allocations: 7.938 kB / 477.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.57, allocations: 199.8 kB / 477.5 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.5702, allocations: 207.4 kB / 477.8 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5702, allocations: 9.312 kB / 477.8 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.5703, allocations: 10.22 kB / 477.8 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.5708, allocations: 204.9 kB / 478 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.5708, allocations: 0 / 478 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.5708, allocations: 7.5 kB / 478 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5708, allocations: 3.953 kB / 478 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.5714, allocations: 246.8 kB / 478.2 MB, free: 13.96 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.001673/0.5731, allocations: 0.665 MB / 478.9 MB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.5735, allocations: 193.3 kB / 479.1 MB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.5737, allocations: 98.83 kB / 479.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.5739, allocations: 90.48 kB / 479.3 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.5739, allocations: 33.94 kB / 479.3 MB, free: 13.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.5739, allocations: 0 / 479.3 MB, free: 13.41 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.00566/0.5796, allocations: 1.521 MB / 480.8 MB, free: 12.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.5796, allocations: 56.88 kB / 480.9 MB, free: 12.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.5797, allocations: 116.7 kB / 481 MB, free: 12.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.5798, allocations: 29.08 kB / 481 MB, free: 12.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.5799, allocations: 99.56 kB / 481.1 MB, free: 12.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.5799, allocations: 65.78 kB / 481.2 MB, free: 12.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.675e-05/0.58, allocations: 46.55 kB / 481.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5802, allocations: 322.9 kB / 481.5 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.5804, allocations: 93.67 kB / 481.6 MB, free: 12.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5806, allocations: 126.7 kB / 481.8 MB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.581, allocations: 226.2 kB / 482 MB, free: 12.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5811, allocations: 0 / 482 MB, free: 12.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006004/0.5817, allocations: 290.5 kB / 482.3 MB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5817, allocations: 6.688 kB / 482.3 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5817, allocations: 0 / 482.3 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.5819, allocations: 23.89 kB / 482.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.5823, allocations: 60.97 kB / 482.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004208/0.5828, allocations: 0.5316 MB / 482.9 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.5831, allocations: 13.84 kB / 482.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.5831, allocations: 14.56 kB / 482.9 MB, free: 11.45 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.0001434/0.5833, allocations: 128.9 kB / 483 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.5833, allocations: 16.34 kB / 483 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007417/0.5841, allocations: 320.9 kB / 483.4 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.5841, allocations: 7.031 kB / 483.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5841, allocations: 3.938 kB / 483.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5841, allocations: 0 / 483.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5851, allocations: 0.6726 MB / 484 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5851, allocations: 96 / 484 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.5856, allocations: 54.19 kB / 484.1 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.056e-05/0.5857, allocations: 20.39 kB / 484.1 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.5857, allocations: 15.09 kB / 484.1 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008999/0.5866, allocations: 1.258 MB / 485.4 MB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5866, allocations: 1.203 kB / 485.4 MB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.5874, allocations: 456.7 kB / 485.8 MB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.5875, allocations: 92.69 kB / 485.9 MB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.5875, allocations: 0 / 485.9 MB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.5879, allocations: 16.81 kB / 485.9 MB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.5879, allocations: 24.75 kB / 486 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.588, allocations: 6.828 kB / 486 MB, free: 9.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.025e-05/0.588, allocations: 92.78 kB / 486.1 MB, free: 9.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.588, allocations: 0 / 486.1 MB, free: 9.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005462/0.5886, allocations: 131.9 kB / 486.2 MB, free: 9.23 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.0006754/0.5892, allocations: 257.4 kB / 486.4 MB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005691/0.5898, allocations: 232.8 kB / 486.7 MB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5898, allocations: 5.281 kB / 486.7 MB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.5902, allocations: 232.5 kB / 486.9 MB, free: 8.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.5907, allocations: 50.08 kB / 487 MB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.5916, allocations: 0.5035 MB / 487.5 MB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.5918, allocations: 0.7099 MB / 488.2 MB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004104/0.5923, allocations: 50 kB / 488.2 MB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.5924, allocations: 22.12 kB / 488.2 MB, free: 7.898 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5924, allocations: 0 / 488.2 MB, free: 7.898 MB / 398.1 MB Notification: Performance of Templates: time 0.009222/0.6016, allocations: 6.121 MB / 494.4 MB, free: 5.91 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)