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.001058/0.001058, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001348/0.001348, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.0004847/0.0004849, allocations: 12 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 47.58 MB / 326.5 MB, free: 1.59 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3734/0.5791, allocations: 140 MB / 466.4 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003463/0.5826, allocations: 2.841 MB / 469.3 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.5829, allocations: 4 kB / 469.3 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.5832, allocations: 71.89 kB / 469.3 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.5858, allocations: 0.7972 MB / 470.1 MB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.5867, allocations: 290.6 kB / 470.4 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.5874, allocations: 0.52 MB / 470.9 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.165e-05/0.5874, allocations: 11.27 kB / 471 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.5879, allocations: 202.2 kB / 471.2 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.5883, allocations: 164.5 kB / 471.3 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.5883, allocations: 9.156 kB / 471.3 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.5914, allocations: 1.577 MB / 472.9 MB, free: 1.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.5916, allocations: 137.3 kB / 473 MB, free: 1.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.5917, allocations: 88.67 kB / 473.1 MB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.593, allocations: 0.909 MB / 474 MB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.593, allocations: 2.875 kB / 474 MB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.593, allocations: 0 / 474 MB, free: 1.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.5931, allocations: 0 / 474 MB, free: 1.742 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001978/0.595, allocations: 0.7021 MB / 474.7 MB, free: 17.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.5951, allocations: 12.56 kB / 474.7 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.5972, allocations: 268 kB / 475 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.5976, allocations: 281.6 kB / 475.3 MB, free: 17.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.5977, allocations: 18.59 kB / 475.3 MB, free: 17.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.248e-05/0.5978, allocations: 32.97 kB / 475.3 MB, free: 17.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.599, allocations: 0.6661 MB / 476 MB, free: 16.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.599, allocations: 0 / 476 MB, free: 16.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.5991, allocations: 13.66 kB / 476 MB, free: 16.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.5991, allocations: 21.38 kB / 476 MB, free: 16.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.6005, allocations: 0.7556 MB / 476.8 MB, free: 16.97 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.00341/0.6039, allocations: 1.819 MB / 478.6 MB, free: 16.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.605, allocations: 475.2 kB / 479.1 MB, free: 16.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.6056, allocations: 228.2 kB / 479.3 MB, free: 16.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/0.6078, allocations: 1.382 MB / 480.7 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.6079, allocations: 39.94 kB / 480.7 MB, free: 14.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.6079, allocations: 0 / 480.7 MB, free: 14.88 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.01244/0.6203, allocations: 3.636 MB / 484.3 MB, free: 13.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.6204, allocations: 82.86 kB / 484.4 MB, free: 13.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.6206, allocations: 182.6 kB / 484.6 MB, free: 13.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.6207, allocations: 40.02 kB / 484.6 MB, free: 13.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.6208, allocations: 178.9 kB / 484.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.621, allocations: 173 kB / 485 MB, free: 13.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.6211, allocations: 12.44 kB / 485 MB, free: 13.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.6213, allocations: 335.4 kB / 485.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.622, allocations: 266.3 kB / 485.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007428/0.6227, allocations: 418.3 kB / 486 MB, free: 12.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.6235, allocations: 313.3 kB / 486.3 MB, free: 12.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6235, allocations: 0 / 486.3 MB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001663/0.6251, allocations: 0.7842 MB / 487.1 MB, free: 12.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6252, allocations: 6.438 kB / 487.1 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6252, allocations: 5.125 kB / 487.1 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.6254, allocations: 55.59 kB / 487.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.6264, allocations: 182.2 kB / 487.3 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007817/0.6272, allocations: 1.081 MB / 488.4 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/0.628, allocations: 45.33 kB / 488.5 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.6281, allocations: 35.42 kB / 488.5 MB, free: 11.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000266/0.6283, allocations: 179.9 kB / 488.7 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.6285, allocations: 28.66 kB / 488.7 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.6304, allocations: 0.7793 MB / 489.5 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6304, allocations: 3.281 kB / 489.5 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.6305, allocations: 7.312 kB / 489.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.6305, allocations: 5.828 kB / 489.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.6334, allocations: 1.547 MB / 491 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6334, allocations: 0 / 491 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009775/0.6344, allocations: 145.7 kB / 491.2 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.6345, allocations: 57.64 kB / 491.2 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.6346, allocations: 27.42 kB / 491.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.6363, allocations: 2.523 MB / 493.8 MB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6363, allocations: 7.375 kB / 493.8 MB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.6386, allocations: 1.076 MB / 494.9 MB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.6387, allocations: 101.4 kB / 495 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/0.6388, allocations: 12.25 kB / 495 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007641/0.6396, allocations: 42.92 kB / 495 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.6397, allocations: 45.48 kB / 495.1 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.307e-05/0.6397, allocations: 39.34 kB / 495.1 MB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.6399, allocations: 123.1 kB / 495.2 MB, free: 7.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6399, allocations: 0 / 495.2 MB, free: 7.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001441/0.6413, allocations: 382.9 kB / 495.6 MB, free: 7.633 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002563/0.6439, allocations: 0.6755 MB / 496.3 MB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.6456, allocations: 0.6457 MB / 496.9 MB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.6456, allocations: 2.938 kB / 496.9 MB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009729/0.6466, allocations: 0.5236 MB / 497.4 MB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/0.6474, allocations: 100.9 kB / 497.5 MB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.6495, allocations: 1.19 MB / 498.7 MB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.6499, allocations: 0.7893 MB / 499.5 MB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001202/0.6511, allocations: 185.1 kB / 499.7 MB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.6514, allocations: 62.91 kB / 499.8 MB, free: 5.719 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6515, allocations: 0 / 499.8 MB, free: 5.719 MB / 398.1 MB Notification: Performance of Templates: time 0.02469/0.6761, allocations: 15.28 MB / 0.503 GB, free: 12.96 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)