Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001063/0.001063, allocations: 99.5 kB / 16.5 MB, free: 6.688 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.001045/0.001045, allocations: 191.4 kB / 17.42 MB, free: 6.09 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.283/1.283, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001107/0.001107, allocations: 51.92 kB / 279.3 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08074/0.08186, allocations: 46.63 MB / 325.9 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2977/0.3796, allocations: 152.1 MB / 478 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.383, allocations: 3.146 MB / 481.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.3831, allocations: 0 / 481.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000409/0.3835, allocations: 99.56 kB / 481.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.3857, allocations: 1.099 MB / 482.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.3865, allocations: 352 kB / 482.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006109/0.3871, allocations: 0.6156 MB / 483.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.3872, allocations: 13.55 kB / 483.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.3875, allocations: 215.1 kB / 483.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3878, allocations: 159.5 kB / 483.7 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.3878, allocations: 12 kB / 483.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.3918, allocations: 2.486 MB / 486.2 MB, free: 7.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3919, allocations: 123.7 kB / 486.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.3922, allocations: 163.3 kB / 486.5 MB, free: 7.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.3946, allocations: 1.785 MB / 488.3 MB, free: 5.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3947, allocations: 0 / 488.3 MB, free: 5.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3947, allocations: 0 / 488.3 MB, free: 5.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3947, allocations: 0 / 488.3 MB, free: 5.309 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.002117/0.3968, allocations: 0.769 MB / 489 MB, free: 4.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3969, allocations: 8.031 kB / 489 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.3993, allocations: 268.3 kB / 489.3 MB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.3998, allocations: 287.9 kB / 489.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.3998, allocations: 28.5 kB / 489.6 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.3999, allocations: 24 kB / 489.6 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.4012, allocations: 0.6706 MB / 490.3 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.4012, allocations: 3.938 kB / 490.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.4013, allocations: 20 kB / 490.3 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.4013, allocations: 20.38 kB / 490.3 MB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.403, allocations: 0.7589 MB / 491.1 MB, free: 2.363 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.003878/0.4069, allocations: 1.803 MB / 492.9 MB, free: 476 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.4082, allocations: 488.9 kB / 493.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.4088, allocations: 233.6 kB / 493.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/0.4112, allocations: 1.387 MB / 495 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4113, allocations: 38.56 kB / 495 MB, free: 14.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.4113, allocations: 0 / 495 MB, free: 14.08 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.01457/0.4258, allocations: 3.717 MB / 498.7 MB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.4259, allocations: 85.11 kB / 498.8 MB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.4261, allocations: 178.5 kB / 499 MB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.831e-05/0.4262, allocations: 37.7 kB / 499 MB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4263, allocations: 172.1 kB / 499.2 MB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.4265, allocations: 177.5 kB / 499.4 MB, free: 9.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.4267, allocations: 110.3 kB / 499.5 MB, free: 9.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4268, allocations: 342.8 kB / 499.8 MB, free: 9.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007585/0.4276, allocations: 265.1 kB / 0.4884 GB, free: 8.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/0.4284, allocations: 429.4 kB / 0.4888 GB, free: 8.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.4301, allocations: 0.7069 MB / 0.4895 GB, free: 7.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4301, allocations: 4 kB / 0.4895 GB, free: 7.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001995/0.4321, allocations: 0.78 MB / 0.4902 GB, free: 6.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4321, allocations: 8 kB / 0.4902 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4321, allocations: 4 kB / 0.4902 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.4324, allocations: 54.28 kB / 0.4903 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.4336, allocations: 183.7 kB / 0.4905 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006515/0.4342, allocations: 1.081 MB / 0.4915 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.4351, allocations: 43.95 kB / 0.4916 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.4351, allocations: 39.92 kB / 0.4916 GB, free: 5.25 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.0002746/0.4354, allocations: 181.7 kB / 0.4918 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.4356, allocations: 31.7 kB / 0.4918 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.4379, allocations: 0.7745 MB / 0.4926 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.4379, allocations: 7.938 kB / 0.4926 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.438, allocations: 4 kB / 0.4926 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.438, allocations: 3.984 kB / 0.4926 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/0.4412, allocations: 1.547 MB / 0.4941 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4412, allocations: 4 kB / 0.4941 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.4423, allocations: 147.8 kB / 0.4942 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.4425, allocations: 49.84 kB / 0.4943 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/0.4426, allocations: 23.92 kB / 0.4943 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.4441, allocations: 2.529 MB / 0.4968 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4441, allocations: 7.969 kB / 0.4968 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.4467, allocations: 1.075 MB / 0.4978 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.4468, allocations: 96.83 kB / 0.4979 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.4469, allocations: 12 kB / 0.4979 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008291/0.4477, allocations: 43.94 kB / 0.498 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.4478, allocations: 47.88 kB / 0.498 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.922e-05/0.4479, allocations: 35.97 kB / 0.4981 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.768e-05/0.448, allocations: 124.4 kB / 0.4982 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.448, allocations: 3.938 kB / 0.4982 GB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001369/0.4494, allocations: 407.7 kB / 0.4986 GB, free: 13.67 MB / 414.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.002843/0.4522, allocations: 0.8771 MB / 0.4994 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.4541, allocations: 0.656 MB / 0.5001 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4541, allocations: 0 / 0.5001 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.4551, allocations: 0.5258 MB / 0.5006 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.4559, allocations: 104.8 kB / 0.5007 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.4579, allocations: 1.109 MB / 0.5018 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.4582, allocations: 0.7892 MB / 0.5025 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001145/0.4594, allocations: 179.1 kB / 0.5027 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.4597, allocations: 59.39 kB / 0.5028 GB, free: 9.262 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4598, allocations: 0 / 0.5028 GB, free: 9.262 MB / 414.1 MB Notification: Performance of Templates: time 0.02268/0.4824, allocations: 15.6 MB / 0.518 GB, free: 9.625 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe 2>&1)