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.000809/0.0008091, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00086/0.0008601, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 222.1 MB, free: 5.586 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.0004665/0.0004666, allocations: 12 kB / 278.9 MB, free: 12.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2165, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3516/0.5681, allocations: 140 MB / 466.4 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.5711, allocations: 2.845 MB / 469.3 MB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.5713, allocations: 5.031 kB / 469.3 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.5716, allocations: 69.97 kB / 469.3 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.5735, allocations: 0.7935 MB / 470.1 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009082/0.5744, allocations: 290.2 kB / 470.4 MB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.575, allocations: 0.516 MB / 470.9 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.5751, allocations: 11.25 kB / 470.9 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.5754, allocations: 206.1 kB / 471.2 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.5757, allocations: 166.8 kB / 471.3 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.5757, allocations: 9.188 kB / 471.3 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.5785, allocations: 1.577 MB / 472.9 MB, free: 1.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.5786, allocations: 136.7 kB / 473 MB, free: 1.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/0.5787, allocations: 85.77 kB / 473.1 MB, free: 1.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.5797, allocations: 0.9101 MB / 474 MB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5797, allocations: 0 / 474 MB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5798, allocations: 2.906 kB / 474 MB, free: 1.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.5798, allocations: 0 / 474 MB, free: 1.73 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.001682/0.5815, allocations: 0.7004 MB / 474.7 MB, free: 17.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5815, allocations: 8.25 kB / 474.7 MB, free: 17.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.5835, allocations: 267 kB / 475 MB, free: 17.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.5838, allocations: 291.8 kB / 475.3 MB, free: 17.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5839, allocations: 17.91 kB / 475.3 MB, free: 17.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.5839, allocations: 31.89 kB / 475.3 MB, free: 17.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.585, allocations: 0.6626 MB / 476 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5851, allocations: 2.688 kB / 476 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.5851, allocations: 13.09 kB / 476 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.5852, allocations: 25.47 kB / 476 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.5866, allocations: 0.7581 MB / 476.8 MB, free: 16.95 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.003154/0.5897, allocations: 1.801 MB / 478.6 MB, free: 16.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.5908, allocations: 498 kB / 479.1 MB, free: 16.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.5913, allocations: 227.4 kB / 479.3 MB, free: 16.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002299/0.5937, allocations: 1.374 MB / 480.7 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.5937, allocations: 39.69 kB / 480.7 MB, free: 14.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.5937, allocations: 0 / 480.7 MB, free: 14.86 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.01166/0.6054, allocations: 3.633 MB / 484.3 MB, free: 13.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.6055, allocations: 82.95 kB / 484.4 MB, free: 13.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.6056, allocations: 180.9 kB / 484.6 MB, free: 13.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.6057, allocations: 36.05 kB / 484.6 MB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.6057, allocations: 176.6 kB / 484.8 MB, free: 13.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6059, allocations: 175.5 kB / 485 MB, free: 13.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.6059, allocations: 10.28 kB / 485 MB, free: 13.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.606, allocations: 341.5 kB / 485.3 MB, free: 12.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/0.6067, allocations: 259.2 kB / 485.6 MB, free: 12.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.6074, allocations: 425.4 kB / 486 MB, free: 12.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.6081, allocations: 308 kB / 486.3 MB, free: 12.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6081, allocations: 6.875 kB / 486.3 MB, free: 12.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001637/0.6097, allocations: 0.7786 MB / 487.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.6097, allocations: 14.06 kB / 487.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6098, allocations: 7.141 kB / 487.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.6099, allocations: 63.41 kB / 487.2 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.611, allocations: 177.4 kB / 487.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007651/0.6118, allocations: 1.087 MB / 488.4 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.6125, allocations: 40.22 kB / 488.5 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.6125, allocations: 39.06 kB / 488.5 MB, free: 11.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.6128, allocations: 179.6 kB / 488.7 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.646e-05/0.6129, allocations: 26.28 kB / 488.7 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.6148, allocations: 0.7767 MB / 489.5 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6149, allocations: 8.375 kB / 489.5 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6149, allocations: 3.031 kB / 489.5 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6149, allocations: 0 / 489.5 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.6177, allocations: 1.546 MB / 491 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6177, allocations: 3.344 kB / 491 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009722/0.6187, allocations: 151.3 kB / 491.2 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.6189, allocations: 47.33 kB / 491.2 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.6189, allocations: 23.5 kB / 491.3 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.6213, allocations: 2.538 MB / 493.8 MB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6213, allocations: 5.938 kB / 493.8 MB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.6238, allocations: 1.07 MB / 494.9 MB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.624, allocations: 99.73 kB / 495 MB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/0.6241, allocations: 14.66 kB / 495 MB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.6248, allocations: 37.45 kB / 495 MB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.6249, allocations: 48.03 kB / 495.1 MB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.625, allocations: 33.86 kB / 495.1 MB, free: 7.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.6251, allocations: 125.4 kB / 495.2 MB, free: 7.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6251, allocations: 0 / 495.2 MB, free: 7.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001424/0.6265, allocations: 385.2 kB / 495.6 MB, free: 7.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002561/0.6291, allocations: 0.6728 MB / 496.3 MB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.6307, allocations: 0.649 MB / 496.9 MB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6308, allocations: 0 / 496.9 MB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.6318, allocations: 0.5234 MB / 497.4 MB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.6325, allocations: 106.2 kB / 497.5 MB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.6346, allocations: 1.186 MB / 498.7 MB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.635, allocations: 0.7834 MB / 499.5 MB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001165/0.6361, allocations: 183.6 kB / 499.7 MB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.6365, allocations: 66.19 kB / 499.8 MB, free: 5.668 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6365, allocations: 1.781 kB / 499.8 MB, free: 5.668 MB / 398.1 MB Notification: Performance of Templates: time 0.02163/0.6581, allocations: 15.28 MB / 0.503 GB, free: 12.87 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)