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.001012/0.001012, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009877/0.0009877, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.367/1.367, allocations: 205.4 MB / 223.4 MB, free: 5.32 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.0004307/0.0004307, allocations: 12 kB / 280.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2393, allocations: 47.58 MB / 327.7 MB, free: 1.48 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.137/0.3764, allocations: 125.7 MB / 453.4 MB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3782, allocations: 1.236 MB / 454.6 MB, free: 4.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.3783, allocations: 7.938 kB / 454.6 MB, free: 4.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.3785, allocations: 35.86 kB / 454.7 MB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009142/0.3795, allocations: 279.2 kB / 454.9 MB, free: 3.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.38, allocations: 127.7 kB / 455.1 MB, free: 3.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3802, allocations: 115.8 kB / 455.2 MB, free: 3.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.3803, allocations: 7.938 kB / 455.2 MB, free: 3.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3805, allocations: 79.73 kB / 455.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3806, allocations: 43.84 kB / 455.3 MB, free: 3.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3807, allocations: 7.984 kB / 455.3 MB, free: 3.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.3817, allocations: 439.4 kB / 455.7 MB, free: 3.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.3817, allocations: 27.89 kB / 455.8 MB, free: 3.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.3818, allocations: 41.7 kB / 455.8 MB, free: 3.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.3823, allocations: 256.8 kB / 456.1 MB, free: 2.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3823, allocations: 4 kB / 456.1 MB, free: 2.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.3823, allocations: 0 / 456.1 MB, free: 2.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3823, allocations: 3.938 kB / 456.1 MB, free: 2.809 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.0004914/0.3828, allocations: 403.3 kB / 456.5 MB, free: 2.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.3828, allocations: 8.031 kB / 456.5 MB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.385, allocations: 195.6 kB / 456.7 MB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3853, allocations: 214.9 kB / 456.9 MB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3853, allocations: 8.172 kB / 456.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.3854, allocations: 8 kB / 456.9 MB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.3858, allocations: 203 kB / 457.1 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3859, allocations: 0 / 457.1 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.3859, allocations: 8 kB / 457.1 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3859, allocations: 0 / 457.1 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005595/0.3865, allocations: 240.4 kB / 457.3 MB, free: 1.457 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.001709/0.3882, allocations: 0.6721 MB / 458 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.3887, allocations: 194.4 kB / 458.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.3888, allocations: 89.09 kB / 458.3 MB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3889, allocations: 34.56 kB / 458.3 MB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.3889, allocations: 0 / 458.3 MB, free: 388 kB / 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.1554/0.5442, allocations: 1.524 MB / 459.8 MB, free: 127.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.5443, allocations: 57.56 kB / 459.9 MB, free: 127.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.5444, allocations: 113.6 kB / 460 MB, free: 127.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.5444, allocations: 29.64 kB / 460 MB, free: 127.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.5445, allocations: 100.3 kB / 460.1 MB, free: 127.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.5445, allocations: 65.73 kB / 460.2 MB, free: 127.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.5446, allocations: 4.781 kB / 460.2 MB, free: 127.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.5446, allocations: 321.2 kB / 460.5 MB, free: 126.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.5449, allocations: 95.09 kB / 460.6 MB, free: 126.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.5451, allocations: 121.1 kB / 460.7 MB, free: 126.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.5454, allocations: 99.91 kB / 460.8 MB, free: 126.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5454, allocations: 0.5312 kB / 460.8 MB, free: 126.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006374/0.546, allocations: 284.6 kB / 461.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.546, allocations: 5.688 kB / 461.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5461, allocations: 1.25 kB / 461.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.5462, allocations: 27.09 kB / 461.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.5467, allocations: 63.97 kB / 461.2 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002289/0.5469, allocations: 0.5311 MB / 461.7 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.5472, allocations: 8.688 kB / 461.7 MB, free: 126 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.5473, allocations: 14.77 kB / 461.8 MB, free: 126 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.0001073/0.5474, allocations: 134.8 kB / 461.9 MB, free: 125.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.5475, allocations: 10.19 kB / 461.9 MB, free: 125.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.5482, allocations: 321.1 kB / 462.2 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5482, allocations: 3.562 kB / 462.2 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5482, allocations: 0 / 462.2 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.5482, allocations: 3.75 kB / 462.2 MB, free: 125.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.5492, allocations: 0.6787 MB / 462.9 MB, free: 125.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5492, allocations: 1.25 kB / 462.9 MB, free: 125.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.5497, allocations: 54.03 kB / 462.9 MB, free: 125.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.617e-05/0.5497, allocations: 24.39 kB / 463 MB, free: 125.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.5498, allocations: 6.625 kB / 463 MB, free: 125.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006016/0.5504, allocations: 1.27 MB / 464.2 MB, free: 123.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5504, allocations: 5.344 kB / 464.3 MB, free: 123.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.5511, allocations: 484.6 kB / 464.7 MB, free: 123.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.5512, allocations: 93.09 kB / 464.8 MB, free: 123.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.5512, allocations: 6.438 kB / 464.8 MB, free: 123.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.5516, allocations: 9.219 kB / 464.8 MB, free: 123.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.5516, allocations: 24.17 kB / 464.9 MB, free: 123.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5516, allocations: 12.94 kB / 464.9 MB, free: 123.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.913e-05/0.5517, allocations: 85.97 kB / 465 MB, free: 123.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5517, allocations: 0 / 465 MB, free: 123.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005384/0.5522, allocations: 129.7 kB / 465.1 MB, free: 123.3 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.0005727/0.5528, allocations: 235.2 kB / 465.3 MB, free: 123.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005625/0.5534, allocations: 233.2 kB / 465.5 MB, free: 123.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5534, allocations: 1.125 kB / 465.5 MB, free: 123.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.5537, allocations: 227.1 kB / 465.8 MB, free: 122.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.5541, allocations: 40.56 kB / 465.8 MB, free: 122.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/0.5549, allocations: 0.5721 MB / 466.4 MB, free: 122.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.5551, allocations: 0.7186 MB / 467.1 MB, free: 121.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004049/0.5555, allocations: 53.73 kB / 467.1 MB, free: 121.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.5556, allocations: 23.91 kB / 467.2 MB, free: 121.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5556, allocations: 0 / 467.2 MB, free: 121.6 MB / 382.1 MB Notification: Performance of Templates: time 0.008397/0.564, allocations: 6.042 MB / 473.2 MB, free: 116.9 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: