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.0007615/0.0007615, allocations: 92.81 kB / 16.65 MB, free: 6.535 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.0007801/0.0007802, allocations: 172.8 kB / 17.56 MB, free: 6.184 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.403/1.403, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004897/0.0004901, allocations: 23.97 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08648, allocations: 47.58 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3204/0.4069, allocations: 150.1 MB / 478.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003592/0.4105, allocations: 3.099 MB / 481.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.4107, allocations: 4 kB / 481.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.4111, allocations: 107.6 kB / 481.6 MB, free: 480 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.4139, allocations: 1.091 MB / 482.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009934/0.4149, allocations: 344.2 kB / 483 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.4156, allocations: 0.6233 MB / 483.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.4157, allocations: 13.55 kB / 483.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.416, allocations: 207.2 kB / 483.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.4163, allocations: 167.4 kB / 484 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.4163, allocations: 8 kB / 484.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/0.4205, allocations: 2.486 MB / 486.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.4206, allocations: 135.6 kB / 486.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.4208, allocations: 181.1 kB / 486.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.4234, allocations: 1.773 MB / 488.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4234, allocations: 3.938 kB / 488.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4234, allocations: 0 / 488.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4235, allocations: 0 / 488.6 MB, free: 9.434 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.002001/0.4255, allocations: 0.7066 MB / 489.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4255, allocations: 8.031 kB / 489.3 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.428, allocations: 260.3 kB / 489.6 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.4284, allocations: 287.9 kB / 489.9 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.4284, allocations: 20.5 kB / 489.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.4285, allocations: 28 kB / 489.9 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.4299, allocations: 0.6667 MB / 490.6 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4299, allocations: 3.984 kB / 490.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.43, allocations: 17.73 kB / 490.6 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.43, allocations: 20.44 kB / 490.6 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.4318, allocations: 0.7628 MB / 491.4 MB, free: 6.566 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.003941/0.4357, allocations: 1.807 MB / 493.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.437, allocations: 488.7 kB / 493.7 MB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.4377, allocations: 229.6 kB / 493.9 MB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002535/0.4402, allocations: 1.387 MB / 495.3 MB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.4403, allocations: 38.56 kB / 495.3 MB, free: 2.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.126e-06/0.4403, allocations: 0 / 495.3 MB, free: 2.281 MB / 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: 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.01379/0.4541, allocations: 3.627 MB / 499 MB, free: 14.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4542, allocations: 85.09 kB / 499 MB, free: 14.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.4543, allocations: 178.5 kB / 499.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.4544, allocations: 33.7 kB / 499.2 MB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4545, allocations: 184.1 kB / 499.4 MB, free: 13.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.4547, allocations: 173.5 kB / 499.6 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.4548, allocations: 57.69 kB / 499.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4549, allocations: 334.8 kB / 500 MB, free: 13.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007489/0.4557, allocations: 265.1 kB / 0.4885 GB, free: 13.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008579/0.4565, allocations: 429.5 kB / 0.4889 GB, free: 12.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.4582, allocations: 0.6991 MB / 0.4896 GB, free: 11.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4582, allocations: 4 kB / 0.4896 GB, free: 11.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002011/0.4602, allocations: 0.7843 MB / 0.4904 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.4602, allocations: 11.94 kB / 0.4904 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4603, allocations: 4 kB / 0.4904 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.4605, allocations: 57.69 kB / 0.4904 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.4617, allocations: 179.8 kB / 0.4906 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006739/0.4624, allocations: 1.077 MB / 0.4917 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.4632, allocations: 56.08 kB / 0.4917 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/0.4632, allocations: 35.98 kB / 0.4918 GB, free: 9.586 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.0002561/0.4635, allocations: 177.6 kB / 0.4919 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.4636, allocations: 27.72 kB / 0.4919 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.4659, allocations: 0.7776 MB / 0.4927 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4659, allocations: 11.94 kB / 0.4927 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.466, allocations: 0 / 0.4927 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.466, allocations: 3.984 kB / 0.4927 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.4693, allocations: 1.554 MB / 0.4942 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.4693, allocations: 4.219 kB / 0.4942 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.4704, allocations: 147.8 kB / 0.4944 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.4705, allocations: 41.69 kB / 0.4944 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.4706, allocations: 27.91 kB / 0.4945 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.4723, allocations: 2.533 MB / 0.4969 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4723, allocations: 4.031 kB / 0.4969 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.4749, allocations: 1.079 MB / 0.498 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.475, allocations: 100.8 kB / 0.4981 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/0.4751, allocations: 23.97 kB / 0.4981 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008342/0.476, allocations: 39.89 kB / 0.4981 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.4761, allocations: 39.95 kB / 0.4982 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.4761, allocations: 35.97 kB / 0.4982 GB, free: 2.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.4762, allocations: 128.4 kB / 0.4983 GB, free: 2.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4762, allocations: 0 / 0.4983 GB, free: 2.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001461/0.4777, allocations: 403.8 kB / 0.4987 GB, free: 2.004 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.002683/0.4804, allocations: 0.8615 MB / 0.4996 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.4824, allocations: 0.6557 MB / 0.5002 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.4824, allocations: 320 / 0.5002 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.4836, allocations: 0.5365 MB / 0.5007 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.4844, allocations: 100.9 kB / 0.5008 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.4867, allocations: 1.213 MB / 0.502 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4871, allocations: 0.7813 MB / 0.5028 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001107/0.4882, allocations: 187.1 kB / 0.5029 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.4885, allocations: 67.38 kB / 0.503 GB, free: 13.49 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4886, allocations: 0 / 0.503 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Templates: time 0.02489/0.5134, allocations: 15.56 MB / 0.5182 GB, free: 13.9 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)