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.0009968/0.0009968, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01165/0.01165, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.466/1.466, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004327/0.0004328, allocations: 12 kB / 279.4 MB, free: 12.54 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2102, allocations: 47.59 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.367/0.5773, allocations: 150.1 MB / 477.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.5803, allocations: 3.101 MB / 480.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.5805, allocations: 2.969 kB / 480.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.5809, allocations: 94.8 kB / 480.3 MB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.5833, allocations: 1.102 MB / 481.4 MB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.5841, allocations: 350.9 kB / 481.8 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.5848, allocations: 0.6253 MB / 482.4 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.723e-05/0.5849, allocations: 9.844 kB / 482.4 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.5852, allocations: 215.3 kB / 482.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.5855, allocations: 156.5 kB / 482.7 MB, free: 14.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.5855, allocations: 8.375 kB / 482.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.5894, allocations: 2.488 MB / 485.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.5896, allocations: 129.4 kB / 485.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.5898, allocations: 185.9 kB / 485.6 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.5925, allocations: 1.775 MB / 487.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5926, allocations: 2.844 kB / 487.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5926, allocations: 0 / 487.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.5926, allocations: 0 / 487.3 MB, free: 14.24 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.002127/0.5947, allocations: 0.6993 MB / 488 MB, free: 13.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5948, allocations: 11.19 kB / 488 MB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.5972, allocations: 261.7 kB / 488.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.5977, allocations: 292.5 kB / 488.6 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.5977, allocations: 26.48 kB / 488.6 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.5978, allocations: 24.47 kB / 488.6 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.599, allocations: 0.6717 MB / 489.3 MB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5991, allocations: 4 kB / 489.3 MB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.5992, allocations: 13.25 kB / 489.3 MB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.5992, allocations: 22.02 kB / 489.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.6008, allocations: 0.7552 MB / 490.1 MB, free: 13.04 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.003795/0.6046, allocations: 1.814 MB / 491.9 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.6059, allocations: 475.3 kB / 492.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006384/0.6066, allocations: 240.8 kB / 492.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/0.609, allocations: 1.38 MB / 494 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.609, allocations: 41.12 kB / 494 MB, free: 10.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.797e-06/0.609, allocations: 4 kB / 494 MB, free: 10.4 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.01363/0.6227, allocations: 3.622 MB / 497.7 MB, free: 8.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.6228, allocations: 83.27 kB / 497.7 MB, free: 8.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.6229, allocations: 177.2 kB / 497.9 MB, free: 8.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.623, allocations: 35.45 kB / 497.9 MB, free: 8.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.6231, allocations: 177.5 kB / 498.1 MB, free: 8.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.6233, allocations: 184.2 kB / 498.3 MB, free: 8.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/0.6234, allocations: 47.73 kB / 498.3 MB, free: 8.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6235, allocations: 347.5 kB / 498.7 MB, free: 7.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.6243, allocations: 264.3 kB / 498.9 MB, free: 7.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000801/0.6251, allocations: 424.4 kB / 499.4 MB, free: 7.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.6267, allocations: 0.7037 MB / 0.4883 GB, free: 7.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6267, allocations: 3.25 kB / 0.4883 GB, free: 7.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001964/0.6287, allocations: 0.7837 MB / 0.4891 GB, free: 7.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6287, allocations: 8.094 kB / 0.4891 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6287, allocations: 2.906 kB / 0.4891 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.629, allocations: 59.59 kB / 0.4892 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.6302, allocations: 181.5 kB / 0.4893 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006543/0.6308, allocations: 1.078 MB / 0.4904 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/0.6317, allocations: 45.64 kB / 0.4904 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.6317, allocations: 34.08 kB / 0.4905 GB, free: 5.898 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.0002811/0.632, allocations: 186 kB / 0.4907 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.6321, allocations: 27.66 kB / 0.4907 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.6344, allocations: 0.7835 MB / 0.4914 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.6344, allocations: 10.12 kB / 0.4915 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6344, allocations: 0 / 0.4915 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.6344, allocations: 10.5 kB / 0.4915 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.6376, allocations: 1.546 MB / 0.493 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6376, allocations: 2.906 kB / 0.493 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6387, allocations: 150.3 kB / 0.4931 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.6388, allocations: 41.47 kB / 0.4932 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.6389, allocations: 32.42 kB / 0.4932 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.6406, allocations: 2.535 MB / 0.4957 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6406, allocations: 2.812 kB / 0.4957 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.6431, allocations: 1.073 MB / 0.4967 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.6432, allocations: 104.9 kB / 0.4968 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.6433, allocations: 12.97 kB / 0.4968 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/0.6441, allocations: 42.45 kB / 0.4969 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.6441, allocations: 42.67 kB / 0.4969 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.6442, allocations: 33.41 kB / 0.4969 GB, free: 1.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.903e-05/0.6443, allocations: 127.9 kB / 0.4971 GB, free: 1.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6443, allocations: 0 / 0.4971 GB, free: 1.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001568/0.6459, allocations: 407.5 kB / 0.4975 GB, free: 1.199 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.002798/0.6487, allocations: 0.8723 MB / 0.4983 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.6507, allocations: 0.6491 MB / 0.4989 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6507, allocations: 0 / 0.4989 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.6518, allocations: 0.5392 MB / 0.4995 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008/0.6526, allocations: 99.45 kB / 0.4996 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.6548, allocations: 1.205 MB / 0.5007 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.6552, allocations: 0.7826 MB / 0.5015 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001122/0.6563, allocations: 188.4 kB / 0.5017 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.6566, allocations: 66.81 kB / 0.5017 GB, free: 14.6 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6566, allocations: 6.875 kB / 0.5018 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Templates: time 0.02301/0.6796, allocations: 15.55 MB / 0.5169 GB, free: 2.668 MB / 414.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)