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.006245/0.006245, allocations: 97.42 kB / 15.73 MB, free: 6.055 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.001344/0.001344, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.473/1.473, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001232/0.001232, allocations: 54.27 kB / 326.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08134/0.08258, allocations: 46.62 MB / 373.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3844/0.467, allocations: 154.3 MB / 0.5151 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.4711, allocations: 3.037 MB / 0.518 GB, free: 488 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.4713, allocations: 2.719 kB / 0.518 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.4719, allocations: 113.8 kB / 0.5181 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.4749, allocations: 1.179 MB / 0.5193 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.4761, allocations: 378 kB / 0.5197 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000716/0.4768, allocations: 464.6 kB / 0.5201 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.4769, allocations: 9.188 kB / 0.5201 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.4773, allocations: 228.1 kB / 0.5203 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.4776, allocations: 139.9 kB / 0.5205 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.4777, allocations: 14.81 kB / 0.5205 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004499/0.4822, allocations: 2.068 MB / 0.5225 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.4824, allocations: 137.8 kB / 0.5226 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.4826, allocations: 169.3 kB / 0.5228 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.4853, allocations: 1.537 MB / 0.5243 GB, free: 12.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4853, allocations: 4 kB / 0.5243 GB, free: 12.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4853, allocations: 0 / 0.5243 GB, free: 12.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.4854, allocations: 3.938 kB / 0.5243 GB, free: 12.28 MB / 414.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.002236/0.4876, allocations: 0.7789 MB / 0.5251 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4876, allocations: 8.031 kB / 0.5251 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007585/0.4884, allocations: 108.7 kB / 0.5252 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.4888, allocations: 287.7 kB / 0.5254 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.4888, allocations: 20.56 kB / 0.5255 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.4889, allocations: 24 kB / 0.5255 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.49, allocations: 0.5926 MB / 0.5261 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4901, allocations: 4 kB / 0.5261 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.4901, allocations: 12 kB / 0.5261 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.4902, allocations: 20.38 kB / 0.5261 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.4915, allocations: 0.6341 MB / 0.5267 GB, free: 9.691 MB / 414.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.002885/0.4944, allocations: 1.294 MB / 0.528 GB, free: 8.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.4954, allocations: 353.7 kB / 0.5283 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.4959, allocations: 177.6 kB / 0.5285 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002358/0.4982, allocations: 1.38 MB / 0.5298 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4983, allocations: 34.56 kB / 0.5299 GB, free: 6.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.454e-06/0.4983, allocations: 0 / 0.5299 GB, free: 6.156 MB / 414.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.01504/0.5133, allocations: 3.494 MB / 0.5333 GB, free: 2.465 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.5134, allocations: 81.11 kB / 0.5334 GB, free: 2.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.5136, allocations: 186.5 kB / 0.5335 GB, free: 2.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.5137, allocations: 33.7 kB / 0.5336 GB, free: 2.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.5138, allocations: 184.6 kB / 0.5337 GB, free: 1.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.5139, allocations: 182.4 kB / 0.5339 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.5142, allocations: 114.3 kB / 0.534 GB, free: 1.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5143, allocations: 342.7 kB / 0.5343 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/0.5151, allocations: 269.1 kB / 0.5346 GB, free: 1.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/0.516, allocations: 433.4 kB / 0.535 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.5177, allocations: 0.6991 MB / 0.5357 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5177, allocations: 4 kB / 0.5357 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002032/0.5198, allocations: 0.7804 MB / 0.5365 GB, free: 14.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5198, allocations: 8.156 kB / 0.5365 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.5198, allocations: 4 kB / 0.5365 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.52, allocations: 49.69 kB / 0.5365 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.5212, allocations: 188 kB / 0.5367 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006832/0.5219, allocations: 1.077 MB / 0.5378 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.5227, allocations: 52.14 kB / 0.5378 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/0.5228, allocations: 35.98 kB / 0.5378 GB, free: 13.53 MB / 430.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.0002462/0.5231, allocations: 169.6 kB / 0.538 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.5232, allocations: 31.84 kB / 0.538 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.5255, allocations: 0.7863 MB / 0.5388 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.5255, allocations: 11.94 kB / 0.5388 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5255, allocations: 0 / 0.5388 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.5256, allocations: 7.969 kB / 0.5388 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.5289, allocations: 1.555 MB / 0.5403 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5289, allocations: 0 / 0.5403 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.53, allocations: 148 kB / 0.5405 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.5301, allocations: 45.58 kB / 0.5405 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.348e-05/0.5302, allocations: 35.84 kB / 0.5406 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.5322, allocations: 2.714 MB / 0.5432 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.5322, allocations: 7.969 kB / 0.5432 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.5349, allocations: 1.077 MB / 0.5443 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.535, allocations: 108.9 kB / 0.5444 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/0.5351, allocations: 8 kB / 0.5444 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.5359, allocations: 40 kB / 0.5444 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.536, allocations: 51.91 kB / 0.5445 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.174e-05/0.5361, allocations: 35.91 kB / 0.5445 GB, free: 6.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.79e-05/0.5362, allocations: 128.4 kB / 0.5446 GB, free: 6.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5362, allocations: 0 / 0.5446 GB, free: 6.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001358/0.5376, allocations: 387.2 kB / 0.545 GB, free: 5.734 MB / 430.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.002636/0.5402, allocations: 0.8558 MB / 0.5458 GB, free: 4.871 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.5422, allocations: 0.6596 MB / 0.5465 GB, free: 4.215 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5422, allocations: 3.984 kB / 0.5465 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.5433, allocations: 0.5366 MB / 0.547 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.5441, allocations: 91.91 kB / 0.5471 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.5462, allocations: 0.9912 MB / 0.5481 GB, free: 2.512 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.5466, allocations: 0.7852 MB / 0.5488 GB, free: 1.699 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000831/0.5474, allocations: 183.1 kB / 0.549 GB, free: 1.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.5477, allocations: 67.39 kB / 0.5491 GB, free: 1.457 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5478, allocations: 0 / 0.5491 GB, free: 1.457 MB / 430.1 MB Notification: Performance of Templates: time 0.02526/0.573, allocations: 16.18 MB / 0.5649 GB, free: 1.223 MB / 446.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)