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.0009681/0.000968, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006049/0.006049, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.336/1.336, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.000442/0.0004422, allocations: 16.38 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 47.6 MB / 327 MB, free: 1.5 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3745/0.606, allocations: 146.7 MB / 473.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.6079, allocations: 1.524 MB / 475.3 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.608, allocations: 0 / 475.3 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.6083, allocations: 49.08 kB / 475.3 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008602/0.6092, allocations: 344.8 kB / 475.6 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.6097, allocations: 154.1 kB / 475.8 MB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.61, allocations: 252.3 kB / 476 MB, free: 15.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.61, allocations: 5.031 kB / 476 MB, free: 15.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.6102, allocations: 70.64 kB / 476.1 MB, free: 15.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.6104, allocations: 59.64 kB / 476.2 MB, free: 15.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.6104, allocations: 5.969 kB / 476.2 MB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.6115, allocations: 0.6754 MB / 476.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.6116, allocations: 35.77 kB / 476.9 MB, free: 15.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.6116, allocations: 69.69 kB / 477 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.6122, allocations: 427.1 kB / 477.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6122, allocations: 0 / 477.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6122, allocations: 3.156 kB / 477.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.6122, allocations: 0 / 477.4 MB, free: 15.09 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.0005891/0.6128, allocations: 400.8 kB / 477.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.6129, allocations: 8.594 kB / 477.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.6151, allocations: 206.3 kB / 478 MB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.6154, allocations: 212.3 kB / 478.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.6154, allocations: 6.875 kB / 478.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.6154, allocations: 11.09 kB / 478.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.6159, allocations: 199.1 kB / 478.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6159, allocations: 0 / 478.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.616, allocations: 5.781 kB / 478.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.616, allocations: 7.031 kB / 478.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.6166, allocations: 245.1 kB / 478.6 MB, free: 14.44 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.001824/0.6184, allocations: 0.6654 MB / 479.3 MB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.6189, allocations: 186.9 kB / 479.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.6192, allocations: 99.42 kB / 479.6 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.6194, allocations: 94.48 kB / 479.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.6194, allocations: 35.05 kB / 479.7 MB, free: 13.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.6194, allocations: 0 / 479.7 MB, free: 13.89 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.005814/0.6253, allocations: 1.534 MB / 481.2 MB, free: 13.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.6253, allocations: 62.81 kB / 481.3 MB, free: 13.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.6254, allocations: 110.8 kB / 481.4 MB, free: 13.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.6255, allocations: 32.45 kB / 481.5 MB, free: 13.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.6256, allocations: 98.23 kB / 481.5 MB, free: 12.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.6256, allocations: 66.25 kB / 481.6 MB, free: 12.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.6257, allocations: 19.41 kB / 481.6 MB, free: 12.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6258, allocations: 321.6 kB / 481.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.626, allocations: 95.47 kB / 482 MB, free: 12.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.6262, allocations: 128 kB / 482.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.6267, allocations: 217.2 kB / 482.4 MB, free: 12.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6267, allocations: 7.219 kB / 482.4 MB, free: 12.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006068/0.6273, allocations: 292.2 kB / 482.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6274, allocations: 2.906 kB / 482.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6274, allocations: 3.531 kB / 482.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.6275, allocations: 24.75 kB / 482.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.628, allocations: 58.61 kB / 482.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003533/0.6283, allocations: 0.538 MB / 483.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.6286, allocations: 14.62 kB / 483.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.6287, allocations: 10.19 kB / 483.3 MB, free: 11.93 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.0001309/0.6288, allocations: 132.2 kB / 483.4 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.6289, allocations: 10.16 kB / 483.5 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007207/0.6296, allocations: 318.9 kB / 483.8 MB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.6296, allocations: 0 / 483.8 MB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6296, allocations: 6.938 kB / 483.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6297, allocations: 0 / 483.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009982/0.6307, allocations: 0.665 MB / 484.4 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6307, allocations: 3.156 kB / 484.4 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.6311, allocations: 53.72 kB / 484.5 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.946e-05/0.6312, allocations: 18.41 kB / 484.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.6312, allocations: 11.91 kB / 484.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007911/0.632, allocations: 1.269 MB / 485.8 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.632, allocations: 0 / 485.8 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.6328, allocations: 462.9 kB / 486.2 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.6329, allocations: 83.92 kB / 486.3 MB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.6329, allocations: 9.531 kB / 486.3 MB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.6333, allocations: 14.47 kB / 486.4 MB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.6333, allocations: 21.44 kB / 486.4 MB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.6334, allocations: 10.25 kB / 486.4 MB, free: 9.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.6334, allocations: 90.12 kB / 486.5 MB, free: 9.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6334, allocations: 0 / 486.5 MB, free: 9.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006086/0.634, allocations: 129 kB / 486.6 MB, free: 9.715 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.0007057/0.6348, allocations: 249.6 kB / 486.8 MB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006149/0.6354, allocations: 232.7 kB / 487.1 MB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6354, allocations: 0 / 487.1 MB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.6358, allocations: 231.2 kB / 487.3 MB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.6363, allocations: 57.56 kB / 487.3 MB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.6372, allocations: 0.5871 MB / 487.9 MB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.6375, allocations: 0.7056 MB / 488.6 MB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000422/0.6379, allocations: 57.08 kB / 488.7 MB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.638, allocations: 22.75 kB / 488.7 MB, free: 8.359 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.638, allocations: 0 / 488.7 MB, free: 8.359 MB / 398.1 MB Notification: Performance of Templates: time 0.0103/0.6483, allocations: 6.092 MB / 494.8 MB, free: 6.02 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (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)