Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/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.001092/0.001092, allocations: 193.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.371/1.371, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001195/0.001195, allocations: 55.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.22, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3548/0.5749, allocations: 152.1 MB / 477 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.578, allocations: 3.043 MB / 480 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.5782, allocations: 1.094 kB / 480 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.5787, allocations: 98.23 kB / 480.1 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.5812, allocations: 1.114 MB / 481.2 MB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008343/0.5821, allocations: 356.5 kB / 481.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.5825, allocations: 465.3 kB / 482 MB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.5826, allocations: 10.25 kB / 482 MB, free: 13.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.5829, allocations: 223.8 kB / 482.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.5831, allocations: 161.2 kB / 482.4 MB, free: 13.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.5832, allocations: 15.41 kB / 482.4 MB, free: 13.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.5865, allocations: 2.352 MB / 484.8 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.5866, allocations: 137.4 kB / 484.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.5867, allocations: 166.7 kB / 485.1 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.5886, allocations: 1.692 MB / 486.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5886, allocations: 4.656 kB / 486.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5886, allocations: 2.375 kB / 486.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.5886, allocations: 0 / 486.8 MB, free: 13.5 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001911/0.5906, allocations: 0.7663 MB / 487.5 MB, free: 13.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.5906, allocations: 10.12 kB / 487.5 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.5929, allocations: 272.5 kB / 487.8 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.5932, allocations: 285.9 kB / 488.1 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5933, allocations: 21.44 kB / 488.1 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.5933, allocations: 30.58 kB / 488.1 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.5945, allocations: 0.6616 MB / 488.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5945, allocations: 2.531 kB / 488.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.5946, allocations: 12.69 kB / 488.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.5946, allocations: 24.06 kB / 488.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.596, allocations: 0.7613 MB / 489.6 MB, free: 12.7 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.003531/0.5996, allocations: 1.817 MB / 491.4 MB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.6007, allocations: 484.2 kB / 491.9 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/0.6013, allocations: 234.4 kB / 492.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002163/0.6035, allocations: 1.385 MB / 493.5 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6035, allocations: 36.81 kB / 493.5 MB, free: 10.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.6035, allocations: 0 / 493.5 MB, free: 10.59 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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01336/0.6169, allocations: 3.714 MB / 497.3 MB, free: 9.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.6169, allocations: 89.66 kB / 497.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.6171, allocations: 179.6 kB / 497.5 MB, free: 8.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/0.6171, allocations: 34.77 kB / 497.6 MB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.6172, allocations: 175.1 kB / 497.7 MB, free: 8.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.6174, allocations: 177.2 kB / 497.9 MB, free: 8.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.6176, allocations: 116.5 kB / 498 MB, free: 8.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.6177, allocations: 338.6 kB / 498.3 MB, free: 8.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.6184, allocations: 265.4 kB / 498.6 MB, free: 8.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.6192, allocations: 426.5 kB / 499 MB, free: 7.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.6206, allocations: 0.6991 MB / 499.7 MB, free: 7.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6206, allocations: 1.812 kB / 499.7 MB, free: 7.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001754/0.6224, allocations: 0.7949 MB / 0.4888 GB, free: 7.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6224, allocations: 6.844 kB / 0.4888 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6224, allocations: 5.688 kB / 0.4888 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.6226, allocations: 51.91 kB / 0.4888 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.6238, allocations: 179.4 kB / 0.489 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008376/0.6247, allocations: 1.083 MB / 0.4901 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.6255, allocations: 45.42 kB / 0.4901 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/0.6256, allocations: 42.47 kB / 0.4902 GB, free: 6.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000292/0.6259, allocations: 176.3 kB / 0.4903 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.626, allocations: 26.81 kB / 0.4904 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.6281, allocations: 0.7833 MB / 0.4911 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6282, allocations: 9 kB / 0.4911 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6282, allocations: 1.781 kB / 0.4911 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6282, allocations: 3.984 kB / 0.4911 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.6312, allocations: 1.552 MB / 0.4926 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6312, allocations: 2.125 kB / 0.4926 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.6323, allocations: 144.1 kB / 0.4928 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.6324, allocations: 38.38 kB / 0.4928 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.369e-05/0.6325, allocations: 40.19 kB / 0.4929 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.6343, allocations: 2.726 MB / 0.4955 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.6343, allocations: 6.062 kB / 0.4955 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.6367, allocations: 1.074 MB / 0.4966 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.6368, allocations: 100.2 kB / 0.4967 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.6369, allocations: 13.22 kB / 0.4967 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/0.6377, allocations: 45.42 kB / 0.4967 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.6378, allocations: 39.55 kB / 0.4968 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/0.6379, allocations: 34 kB / 0.4968 GB, free: 1.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.638, allocations: 127.9 kB / 0.4969 GB, free: 1.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.638, allocations: 0 / 0.4969 GB, free: 1.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001704/0.6397, allocations: 393.7 kB / 0.4973 GB, free: 1.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.002705/0.6425, allocations: 0.8705 MB / 0.4981 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.6443, allocations: 0.681 MB / 0.4988 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6444, allocations: 1.203 kB / 0.4988 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.6454, allocations: 0.5267 MB / 0.4993 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.6461, allocations: 106.8 kB / 0.4994 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.6481, allocations: 1.11 MB / 0.5005 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.6484, allocations: 0.7832 MB / 0.5013 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001179/0.6496, allocations: 190.4 kB / 0.5015 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.65, allocations: 69.38 kB / 0.5015 GB, free: 14.78 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.65, allocations: 0 / 0.5015 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Templates: time 0.02162/0.6716, allocations: 15.88 MB / 0.517 GB, free: 0.8438 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.1_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.MixtureGases.pipe 2>&1)