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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.9788/0.9788, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001911/0.001911, allocations: 163.3 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.768e-05, allocations: 0 / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05691/0.05694, allocations: 25.17 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.815/1.872, allocations: 0.6663 GB / 0.8607 GB, free: 39.4 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.873, allocations: 55.98 kB / 0.8607 GB, free: 39.35 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3695/2.242, allocations: 92.68 MB / 0.9512 GB, free: 41.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.393e-06/2.242, allocations: 7.875 kB / 0.9513 GB, free: 41.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/2.242, allocations: 4 kB / 0.9513 GB, free: 41.31 MB / 234.7 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.002245/2.245, allocations: 0.7664 MB / 0.952 GB, free: 40.5 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/2.245, allocations: 12.03 kB / 0.952 GB, free: 40.49 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.124e-05/2.245, allocations: 39.58 kB / 0.9521 GB, free: 40.45 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/2.245, allocations: 250.8 kB / 0.9523 GB, free: 40.17 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/2.245, allocations: 12 kB / 0.9523 GB, free: 40.16 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/2.245, allocations: 19.98 kB / 0.9523 GB, free: 40.14 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000557/2.246, allocations: 0.5166 MB / 0.9528 GB, free: 39.62 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/2.246, allocations: 0.4962 MB / 0.9533 GB, free: 39.11 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/2.246, allocations: 8 kB / 0.9533 GB, free: 39.1 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/2.246, allocations: 0 / 0.9533 GB, free: 39.1 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/2.246, allocations: 12.44 kB / 0.9533 GB, free: 39.09 MB / 234.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00225/2.249, allocations: 1.363 MB / 0.9547 GB, free: 37.65 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/2.249, allocations: 337.4 kB / 0.955 GB, free: 37.3 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/2.249, allocations: 117.7 kB / 0.9551 GB, free: 37.18 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/2.252, allocations: 2.068 MB / 0.9571 GB, free: 34.84 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/2.252, allocations: 38.55 kB / 0.9572 GB, free: 34.79 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 2.155e-06/2.252, allocations: 4 kB / 0.9572 GB, free: 34.79 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.009357/2.261, allocations: 2.524 MB / 0.9596 GB, free: 32.1 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/2.261, allocations: 92.95 kB / 0.9597 GB, free: 31.99 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/2.261, allocations: 150.5 kB / 0.9599 GB, free: 31.84 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/2.261, allocations: 29.7 kB / 0.9599 GB, free: 31.8 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/2.262, allocations: 180 kB / 0.9601 GB, free: 31.62 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/2.262, allocations: 161.6 kB / 0.9602 GB, free: 31.46 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/2.262, allocations: 4 kB / 0.9602 GB, free: 31.46 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/2.262, allocations: 334.8 kB / 0.9605 GB, free: 31.12 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/2.262, allocations: 133.3 kB / 0.9607 GB, free: 31 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/2.262, allocations: 289.2 kB / 0.9609 GB, free: 30.65 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009363/2.263, allocations: 393 kB / 0.9613 GB, free: 30.27 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.263, allocations: 4 kB / 0.9613 GB, free: 30.26 MB / 234.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001441/2.265, allocations: 0.7244 MB / 0.962 GB, free: 29.53 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/2.265, allocations: 7.594 kB / 0.962 GB, free: 29.52 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/2.265, allocations: 8 kB / 0.962 GB, free: 29.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/2.265, allocations: 46.31 kB / 0.9621 GB, free: 29.46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/2.266, allocations: 175.8 kB / 0.9622 GB, free: 29.29 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004506/2.266, allocations: 1.081 MB / 0.9633 GB, free: 28.16 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/2.266, allocations: 27.88 kB / 0.9633 GB, free: 28.13 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/2.267, allocations: 35.98 kB / 0.9634 GB, free: 28.1 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real medium1.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium1.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real 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 () * 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.0002059/2.267, allocations: 152.4 kB / 0.9635 GB, free: 27.95 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/2.267, allocations: 23.72 kB / 0.9635 GB, free: 27.92 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/2.268, allocations: 0.7321 MB / 0.9642 GB, free: 27.17 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/2.268, allocations: 15.94 kB / 0.9643 GB, free: 27.16 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/2.269, allocations: 0 / 0.9643 GB, free: 27.16 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/2.269, allocations: 7.922 kB / 0.9643 GB, free: 27.15 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/2.271, allocations: 1.236 MB / 0.9655 GB, free: 25.86 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/2.271, allocations: 4 kB / 0.9655 GB, free: 25.85 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/2.271, allocations: 140 kB / 0.9656 GB, free: 25.71 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.947e-05/2.272, allocations: 45.59 kB / 0.9657 GB, free: 25.66 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/2.272, allocations: 15.97 kB / 0.9657 GB, free: 25.65 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/2.273, allocations: 2.438 MB / 0.9681 GB, free: 22.98 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.273, allocations: 3.938 kB / 0.9681 GB, free: 22.98 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/2.274, allocations: 1.046 MB / 0.9691 GB, free: 21.83 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/2.274, allocations: 148.8 kB / 0.9692 GB, free: 21.67 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/2.275, allocations: 4 kB / 0.9692 GB, free: 21.66 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/2.275, allocations: 19.97 kB / 0.9692 GB, free: 21.64 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/2.275, allocations: 47.89 kB / 0.9693 GB, free: 21.6 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/2.275, allocations: 35.92 kB / 0.9693 GB, free: 21.56 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.521e-05/2.275, allocations: 119.2 kB / 0.9694 GB, free: 21.45 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.275, allocations: 0 / 0.9694 GB, free: 21.45 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001509/2.277, allocations: 395.6 kB / 0.9698 GB, free: 21.06 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium1.p,medium1.T,medium2.p,medium2.T) * Number of discrete variables: 0 () * Number of discrete 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.002565/2.279, allocations: 1.324 MB / 0.9711 GB, free: 19.85 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006413/2.28, allocations: 407.1 kB / 0.9715 GB, free: 19.45 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.28, allocations: 0 / 0.9715 GB, free: 19.45 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/2.28, allocations: 404.5 kB / 0.9719 GB, free: 19.04 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/2.281, allocations: 84.62 kB / 0.972 GB, free: 18.95 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/2.282, allocations: 0.7394 MB / 0.9727 GB, free: 18.17 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/2.282, allocations: 0.7932 MB / 0.9735 GB, free: 17.35 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0006263/2.283, allocations: 151.1 kB / 0.9736 GB, free: 17.21 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/2.283, allocations: 55.39 kB / 0.9737 GB, free: 17.15 MB / 234.7 MB Notification: Performance of SimCode: time 2.3e-07/2.283, allocations: 0 / 0.9737 GB, free: 17.15 MB / 234.7 MB Notification: Performance of Templates: time 0.02119/2.304, allocations: 16.8 MB / 0.9901 GB, free: 356 kB / 234.7 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)