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.001247/0.001247, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001202/0.001202, allocations: 55.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.196, allocations: 46.63 MB / 325.3 MB, free: 1.875 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3496/0.5457, allocations: 154.3 MB / 479.6 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.5486, allocations: 3.036 MB / 482.6 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.5487, allocations: 3.938 kB / 482.6 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000409/0.5492, allocations: 111.6 kB / 482.7 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.5517, allocations: 1.174 MB / 483.9 MB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5527, allocations: 385.4 kB / 484.3 MB, free: 13.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.5533, allocations: 462.4 kB / 484.7 MB, free: 13.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.811e-05/0.5533, allocations: 15.94 kB / 484.7 MB, free: 13.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.5537, allocations: 230 kB / 485 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.554, allocations: 141.3 kB / 485.1 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.554, allocations: 14.62 kB / 485.1 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.5576, allocations: 2.128 MB / 487.2 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.5578, allocations: 135.6 kB / 487.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.558, allocations: 166.8 kB / 487.5 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.5603, allocations: 1.565 MB / 489.1 MB, free: 13.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5604, allocations: 0 / 489.1 MB, free: 13.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5604, allocations: 3.734 kB / 489.1 MB, free: 13.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.5604, allocations: 0 / 489.1 MB, free: 13.3 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.002106/0.5625, allocations: 0.7648 MB / 489.9 MB, free: 12.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5625, allocations: 6.844 kB / 489.9 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.5651, allocations: 275.8 kB / 490.1 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.5655, allocations: 284.7 kB / 490.4 MB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5655, allocations: 24.98 kB / 490.4 MB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.5656, allocations: 28.75 kB / 490.5 MB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.5669, allocations: 0.6723 MB / 491.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.567, allocations: 6.172 kB / 491.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.5671, allocations: 9.344 kB / 491.2 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.5671, allocations: 23.25 kB / 491.2 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.5687, allocations: 0.7564 MB / 491.9 MB, free: 12.49 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.004087/0.5728, allocations: 1.833 MB / 493.8 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.5741, allocations: 469.5 kB / 494.2 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.5747, allocations: 231.1 kB / 494.5 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002623/0.5773, allocations: 1.388 MB / 495.8 MB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.5774, allocations: 44.86 kB / 495.9 MB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.775e-06/0.5774, allocations: 0 / 495.9 MB, free: 9.93 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.01447/0.5919, allocations: 3.698 MB / 499.6 MB, free: 8.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.592, allocations: 85.61 kB / 499.7 MB, free: 8.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.5922, allocations: 185.7 kB / 499.8 MB, free: 7.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.5922, allocations: 35.17 kB / 499.9 MB, free: 7.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.5924, allocations: 181.8 kB / 0.4883 GB, free: 7.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.5925, allocations: 171.5 kB / 0.4885 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.5927, allocations: 111.3 kB / 0.4886 GB, free: 7.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5929, allocations: 339.9 kB / 0.4889 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.5936, allocations: 269.3 kB / 0.4892 GB, free: 7.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/0.5945, allocations: 422.6 kB / 0.4896 GB, free: 7.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.5962, allocations: 0.7007 MB / 0.4903 GB, free: 6.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.5963, allocations: 3.938 kB / 0.4903 GB, free: 6.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002106/0.5984, allocations: 0.7857 MB / 0.491 GB, free: 6.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5984, allocations: 7.031 kB / 0.4911 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5984, allocations: 5.812 kB / 0.4911 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.5987, allocations: 58.41 kB / 0.4911 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.5999, allocations: 182.9 kB / 0.4913 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008655/0.6008, allocations: 1.073 MB / 0.4923 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007947/0.6016, allocations: 46.91 kB / 0.4924 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.6016, allocations: 42.48 kB / 0.4924 GB, free: 5.371 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.0002942/0.6019, allocations: 180 kB / 0.4926 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.6021, allocations: 26.84 kB / 0.4926 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.6042, allocations: 0.7816 MB / 0.4934 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6043, allocations: 13.89 kB / 0.4934 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6043, allocations: 2.094 kB / 0.4934 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6043, allocations: 0 / 0.4934 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/0.6075, allocations: 1.557 MB / 0.4949 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6076, allocations: 1.906 kB / 0.4949 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.6087, allocations: 148.5 kB / 0.4951 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001515/0.6088, allocations: 42.84 kB / 0.4951 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.6089, allocations: 32.03 kB / 0.4951 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.6108, allocations: 2.726 MB / 0.4978 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6109, allocations: 2.469 kB / 0.4978 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.6135, allocations: 1.078 MB / 0.4989 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.6136, allocations: 96.67 kB / 0.4989 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/0.6137, allocations: 16.09 kB / 0.499 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/0.6146, allocations: 47.7 kB / 0.499 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.6147, allocations: 47.22 kB / 0.499 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.6148, allocations: 33.62 kB / 0.4991 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.6149, allocations: 124.4 kB / 0.4992 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6149, allocations: 0 / 0.4992 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001707/0.6166, allocations: 389.6 kB / 0.4996 GB, free: 496 kB / 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.003432/0.62, allocations: 0.8707 MB / 0.5004 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.6223, allocations: 0.6848 MB / 0.5011 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.6223, allocations: 1.094 kB / 0.5011 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.6234, allocations: 0.5242 MB / 0.5016 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.6242, allocations: 93.84 kB / 0.5017 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.6265, allocations: 0.9969 MB / 0.5027 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.6269, allocations: 0.7805 MB / 0.5034 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001161/0.6281, allocations: 185.7 kB / 0.5036 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.6284, allocations: 61.94 kB / 0.5037 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6285, allocations: 4 kB / 0.5037 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Templates: time 0.02777/0.6562, allocations: 15.92 MB / 0.5192 GB, free: 15.8 MB / 430.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)