Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001386/0.001386, allocations: 191.6 kB / 16.14 MB, free: 6.707 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.439/1.439, allocations: 205.1 MB / 222 MB, free: 4.773 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.001929/0.001929, allocations: 43.92 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.239, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3616/0.6007, allocations: 152.1 MB / 476.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.6035, allocations: 3.14 MB / 479.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.6036, allocations: 0 / 479.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.604, allocations: 102.2 kB / 480 MB, free: 14.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.6061, allocations: 1.091 MB / 481.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.6069, allocations: 353 kB / 481.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005755/0.6075, allocations: 0.6215 MB / 482 MB, free: 14.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.6076, allocations: 14 kB / 482 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.6079, allocations: 208.2 kB / 482.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.6081, allocations: 163.7 kB / 482.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.6081, allocations: 9.141 kB / 482.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.612, allocations: 2.486 MB / 484.9 MB, free: 13.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.6122, allocations: 135.5 kB / 485 MB, free: 13.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.6124, allocations: 155 kB / 485.2 MB, free: 13.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002806/0.6152, allocations: 1.782 MB / 487 MB, free: 13.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6153, allocations: 4 kB / 487 MB, free: 13.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6153, allocations: 6.5 kB / 487 MB, free: 13.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.6153, allocations: 1.203 kB / 487 MB, free: 13.73 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.002483/0.6178, allocations: 0.7645 MB / 487.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6178, allocations: 10.12 kB / 487.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.6203, allocations: 273 kB / 488 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.6208, allocations: 285.7 kB / 488.3 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.6208, allocations: 26.88 kB / 488.3 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.6209, allocations: 28.44 kB / 488.3 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.6222, allocations: 0.6654 MB / 489 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6222, allocations: 2.75 kB / 489 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.6223, allocations: 8.969 kB / 489 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.6223, allocations: 23.92 kB / 489 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.6239, allocations: 0.7552 MB / 489.8 MB, free: 12.82 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.003942/0.6278, allocations: 1.818 MB / 491.6 MB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.6291, allocations: 487 kB / 492.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006086/0.6297, allocations: 228.6 kB / 492.3 MB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002781/0.6325, allocations: 1.385 MB / 493.7 MB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.6326, allocations: 48.39 kB / 493.7 MB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.906e-06/0.6326, allocations: 0 / 493.7 MB, free: 10.19 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.01515/0.6478, allocations: 3.716 MB / 497.5 MB, free: 8.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.6479, allocations: 81.92 kB / 497.5 MB, free: 8.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.6481, allocations: 179.8 kB / 497.7 MB, free: 8.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.6482, allocations: 35.14 kB / 497.8 MB, free: 8.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.6483, allocations: 181.4 kB / 497.9 MB, free: 8.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.6485, allocations: 173.4 kB / 498.1 MB, free: 7.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.6487, allocations: 116.1 kB / 498.2 MB, free: 7.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6489, allocations: 339.5 kB / 498.5 MB, free: 7.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007181/0.6496, allocations: 265.6 kB / 498.8 MB, free: 7.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/0.6504, allocations: 427.8 kB / 499.2 MB, free: 7.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.652, allocations: 0.7057 MB / 499.9 MB, free: 6.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.652, allocations: 2.875 kB / 499.9 MB, free: 6.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001958/0.654, allocations: 0.7776 MB / 0.489 GB, free: 6.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.654, allocations: 11.72 kB / 0.489 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.654, allocations: 8.922 kB / 0.489 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.6543, allocations: 54.56 kB / 0.489 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.6555, allocations: 179.8 kB / 0.4892 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006967/0.6562, allocations: 1.075 MB / 0.4903 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/0.6571, allocations: 49.27 kB / 0.4903 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.6572, allocations: 38.97 kB / 0.4904 GB, free: 5.613 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.0002975/0.6575, allocations: 178.9 kB / 0.4905 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.6576, allocations: 26.97 kB / 0.4905 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.6599, allocations: 0.7775 MB / 0.4913 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.6599, allocations: 12.62 kB / 0.4913 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6599, allocations: 2.875 kB / 0.4913 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.6599, allocations: 0 / 0.4913 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.6633, allocations: 1.547 MB / 0.4928 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6633, allocations: 3.297 kB / 0.4928 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.6645, allocations: 148.2 kB / 0.493 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.6646, allocations: 45.78 kB / 0.493 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/0.6647, allocations: 33.12 kB / 0.4931 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.6668, allocations: 2.532 MB / 0.4955 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.6668, allocations: 6.453 kB / 0.4955 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.6693, allocations: 1.073 MB / 0.4966 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.6694, allocations: 103.2 kB / 0.4967 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.743e-05/0.6695, allocations: 11.06 kB / 0.4967 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000856/0.6703, allocations: 47.2 kB / 0.4967 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.6704, allocations: 39.45 kB / 0.4968 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/0.6705, allocations: 32.61 kB / 0.4968 GB, free: 1.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.6706, allocations: 128.3 kB / 0.4969 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6706, allocations: 7.938 kB / 0.4969 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00154/0.6721, allocations: 404.1 kB / 0.4973 GB, free: 0.9219 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.003041/0.6752, allocations: 0.8633 MB / 0.4982 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.677, allocations: 0.6529 MB / 0.4988 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6771, allocations: 1.203 kB / 0.4988 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.6781, allocations: 0.5334 MB / 0.4993 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007978/0.6789, allocations: 99.06 kB / 0.4994 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.681, allocations: 1.116 MB / 0.5005 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.6814, allocations: 0.7834 MB / 0.5013 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001168/0.6826, allocations: 190.8 kB / 0.5015 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.6829, allocations: 68.19 kB / 0.5015 GB, free: 14.43 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.683, allocations: 0 / 0.5015 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Templates: time 0.02336/0.7063, allocations: 15.6 MB / 0.5167 GB, free: 0.8672 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.pipe 2>&1)