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.008074/0.008073, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.00156/0.00156, allocations: 197.5 kB / 16.67 MB, free: 5.508 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.424/1.424, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.001168/0.001169, allocations: 58.31 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08228/0.08346, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.388/0.4715, allocations: 154.3 MB / 0.5151 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.4752, allocations: 3.048 MB / 0.518 GB, free: 472 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.4754, allocations: 6.656 kB / 0.518 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.476, allocations: 103.6 kB / 0.5181 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003034/0.479, allocations: 1.173 MB / 0.5193 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4801, allocations: 389.7 kB / 0.5197 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007017/0.4808, allocations: 456.3 kB / 0.5201 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.295e-05/0.4809, allocations: 15.59 kB / 0.5201 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.4813, allocations: 226.6 kB / 0.5203 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.4816, allocations: 139.8 kB / 0.5205 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.4816, allocations: 15.09 kB / 0.5205 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/0.4858, allocations: 2.067 MB / 0.5225 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.486, allocations: 135.8 kB / 0.5226 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.4862, allocations: 168.7 kB / 0.5228 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.489, allocations: 1.536 MB / 0.5243 GB, free: 12.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.489, allocations: 0 / 0.5243 GB, free: 12.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4891, allocations: 0 / 0.5243 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.4891, allocations: 4.938 kB / 0.5243 GB, free: 12.2 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.00208/0.4912, allocations: 0.7684 MB / 0.525 GB, free: 11.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4912, allocations: 12.03 kB / 0.525 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006763/0.4919, allocations: 100.6 kB / 0.5251 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.4924, allocations: 291.6 kB / 0.5254 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.4924, allocations: 20.56 kB / 0.5254 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.4925, allocations: 24 kB / 0.5255 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.4935, allocations: 0.5887 MB / 0.526 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4936, allocations: 4 kB / 0.526 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.4936, allocations: 12 kB / 0.5261 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.4937, allocations: 24.36 kB / 0.5261 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.495, allocations: 0.6418 MB / 0.5267 GB, free: 9.621 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.003034/0.498, allocations: 1.286 MB / 0.528 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.499, allocations: 352.9 kB / 0.5283 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.4995, allocations: 177.6 kB / 0.5285 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.502, allocations: 1.376 MB / 0.5298 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.5021, allocations: 34.56 kB / 0.5298 GB, free: 6.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.535e-06/0.5021, allocations: 4 kB / 0.5298 GB, free: 6.094 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.0151/0.5172, allocations: 3.493 MB / 0.5333 GB, free: 2.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5173, allocations: 81.11 kB / 0.5333 GB, free: 2.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.5175, allocations: 182.5 kB / 0.5335 GB, free: 2.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.5175, allocations: 37.7 kB / 0.5335 GB, free: 2.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.5177, allocations: 176.1 kB / 0.5337 GB, free: 1.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.5178, allocations: 173.5 kB / 0.5339 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.5181, allocations: 118.2 kB / 0.534 GB, free: 1.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5182, allocations: 342.8 kB / 0.5343 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.5189, allocations: 265.1 kB / 0.5346 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008552/0.5198, allocations: 425.5 kB / 0.535 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.5215, allocations: 0.6953 MB / 0.5357 GB, free: 15.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5215, allocations: 4 kB / 0.5357 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002029/0.5235, allocations: 0.7802 MB / 0.5364 GB, free: 14.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5236, allocations: 8.156 kB / 0.5364 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5236, allocations: 4 kB / 0.5364 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.5238, allocations: 57.69 kB / 0.5365 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.525, allocations: 184.2 kB / 0.5367 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007265/0.5257, allocations: 1.085 MB / 0.5377 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007687/0.5265, allocations: 43.95 kB / 0.5378 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.5266, allocations: 35.98 kB / 0.5378 GB, free: 13.49 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.000288/0.5269, allocations: 185.5 kB / 0.538 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.527, allocations: 23.81 kB / 0.538 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.5294, allocations: 0.7862 MB / 0.5388 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.5294, allocations: 4 kB / 0.5388 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5294, allocations: 0 / 0.5388 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5294, allocations: 7.984 kB / 0.5388 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/0.5329, allocations: 1.559 MB / 0.5403 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5329, allocations: 224 / 0.5403 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.534, allocations: 151.8 kB / 0.5404 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/0.5341, allocations: 41.69 kB / 0.5405 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.5342, allocations: 23.92 kB / 0.5405 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.5359, allocations: 2.734 MB / 0.5432 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5359, allocations: 4.156 kB / 0.5432 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.5386, allocations: 1.076 MB / 0.5442 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.5387, allocations: 100.9 kB / 0.5443 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.5388, allocations: 12 kB / 0.5443 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.5396, allocations: 39.95 kB / 0.5444 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.5397, allocations: 43.89 kB / 0.5444 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.5397, allocations: 35.97 kB / 0.5445 GB, free: 6.203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.614e-05/0.5398, allocations: 124.4 kB / 0.5446 GB, free: 6.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5399, allocations: 0 / 0.5446 GB, free: 6.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001405/0.5413, allocations: 387.8 kB / 0.5449 GB, free: 5.703 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.002263/0.5435, allocations: 0.8653 MB / 0.5458 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.5456, allocations: 0.6525 MB / 0.5464 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5456, allocations: 0 / 0.5464 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.5468, allocations: 0.5326 MB / 0.5469 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.5476, allocations: 96.55 kB / 0.547 GB, free: 3.527 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.5496, allocations: 0.9763 MB / 0.548 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.55, allocations: 0.7892 MB / 0.5488 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008099/0.5508, allocations: 187.1 kB / 0.5489 GB, free: 1.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.5511, allocations: 67.38 kB / 0.549 GB, free: 1.434 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5511, allocations: 0 / 0.549 GB, free: 1.434 MB / 430.1 MB Notification: Performance of Templates: time 0.02444/0.5756, allocations: 16.3 MB / 0.5649 GB, free: 1.078 MB / 446.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)