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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00558/0.005579, allocations: 171.7 kB / 7.445 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.261/1.261, allocations: 170.6 MB / 178.4 MB, free: 15.41 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001876/0.001876, allocations: 123.8 kB / 217.7 MB, free: 8.168 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.907e-06, allocations: 0 / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09267/0.0927, allocations: 38.76 MB / 300.5 MB, free: 3.91 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.874/1.967, allocations: 0.7209 GB / 1.014 GB, free: 104.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003737/1.967, allocations: 61.91 kB / 1.014 GB, free: 104.2 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd: time 0.4667/2.434, allocations: 106.2 MB / 1.118 GB, free: 87.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/2.434, allocations: 7.75 kB / 1.118 GB, free: 87.32 MB / 346.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.002681/2.437, allocations: 0.785 MB / 1.119 GB, free: 86.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/2.437, allocations: 9.469 kB / 1.119 GB, free: 86.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/2.439, allocations: 295.8 kB / 1.119 GB, free: 86.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/2.439, allocations: 287.7 kB / 1.12 GB, free: 86.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/2.439, allocations: 11.72 kB / 1.12 GB, free: 86.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/2.439, allocations: 22.47 kB / 1.12 GB, free: 86.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009913/2.44, allocations: 0.6027 MB / 1.12 GB, free: 86.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008809/2.441, allocations: 0.5816 MB / 1.121 GB, free: 86.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/2.441, allocations: 7.625 kB / 1.121 GB, free: 86.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/2.441, allocations: 0 / 1.121 GB, free: 86.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/2.441, allocations: 19.27 kB / 1.121 GB, free: 86.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/2.445, allocations: 1.745 MB / 1.122 GB, free: 85.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/2.446, allocations: 364.9 kB / 1.123 GB, free: 85.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/2.446, allocations: 179.5 kB / 1.123 GB, free: 85.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/2.447, allocations: 0.9148 MB / 1.124 GB, free: 85.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/2.447, allocations: 41.69 kB / 1.124 GB, free: 85.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/2.447, allocations: 0 / 1.124 GB, free: 85.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.007584/2.455, allocations: 2.129 MB / 1.126 GB, free: 84.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/2.455, allocations: 81.02 kB / 1.126 GB, free: 84.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/2.455, allocations: 159.3 kB / 1.126 GB, free: 83.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/2.455, allocations: 25.7 kB / 1.126 GB, free: 83.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/2.455, allocations: 170.6 kB / 1.126 GB, free: 83.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/2.456, allocations: 174.9 kB / 1.127 GB, free: 83.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/2.456, allocations: 0 / 1.127 GB, free: 83.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/2.456, allocations: 333.7 kB / 1.127 GB, free: 83.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/2.456, allocations: 200.9 kB / 1.127 GB, free: 83.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/2.456, allocations: 358.4 kB / 1.127 GB, free: 83.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/2.457, allocations: 243.9 kB / 1.128 GB, free: 83.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/2.457, allocations: 0 / 1.128 GB, free: 83.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001067/2.458, allocations: 0.6288 MB / 1.128 GB, free: 83.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/2.458, allocations: 3.031 kB / 1.128 GB, free: 83.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/2.458, allocations: 10.91 kB / 1.128 GB, free: 83.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/2.458, allocations: 50.42 kB / 1.128 GB, free: 83.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/2.459, allocations: 176.7 kB / 1.128 GB, free: 83.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006248/2.46, allocations: 1.091 MB / 1.13 GB, free: 82.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/2.461, allocations: 39.66 kB / 1.13 GB, free: 82.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/2.461, allocations: 37.61 kB / 1.13 GB, free: 82.11 MB / 346.7 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 () * 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.0001799/2.461, allocations: 120 kB / 1.13 GB, free: 82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/2.461, allocations: 30.19 kB / 1.13 GB, free: 81.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/2.463, allocations: 0.6863 MB / 1.13 GB, free: 81.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/2.463, allocations: 7.281 kB / 1.13 GB, free: 81.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/2.463, allocations: 2.531 kB / 1.13 GB, free: 81.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/2.463, allocations: 3.469 kB / 1.13 GB, free: 81.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/2.465, allocations: 1.365 MB / 1.132 GB, free: 81.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/2.465, allocations: 5.906 kB / 1.132 GB, free: 81.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/2.466, allocations: 146.9 kB / 1.132 GB, free: 81.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/2.467, allocations: 40.12 kB / 1.132 GB, free: 81.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/2.467, allocations: 15.48 kB / 1.132 GB, free: 81.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/2.468, allocations: 2.423 MB / 1.134 GB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.468, allocations: 3.938 kB / 1.134 GB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001399/2.469, allocations: 0.9822 MB / 1.135 GB, free: 78.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/2.47, allocations: 102.7 kB / 1.135 GB, free: 78.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/2.47, allocations: 11.09 kB / 1.135 GB, free: 78.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/2.47, allocations: 35.36 kB / 1.135 GB, free: 78.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/2.47, allocations: 27.73 kB / 1.135 GB, free: 78.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/2.471, allocations: 35.2 kB / 1.135 GB, free: 78.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.264e-05/2.471, allocations: 115.6 kB / 1.136 GB, free: 78.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002121/2.473, allocations: 400.6 kB / 1.136 GB, free: 78.29 MB / 346.7 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 () * 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.00367/2.476, allocations: 1.384 MB / 1.137 GB, free: 78.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/2.478, allocations: 0.5192 MB / 1.138 GB, free: 78.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.478, allocations: 0 / 1.138 GB, free: 78.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/2.478, allocations: 462.7 kB / 1.138 GB, free: 77.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/2.479, allocations: 74.88 kB / 1.138 GB, free: 77.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/2.481, allocations: 0.7657 MB / 1.139 GB, free: 77.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/2.482, allocations: 0.8746 MB / 1.14 GB, free: 77 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/2.482, allocations: 0 / 1.14 GB, free: 77 MB / 346.7 MB Notification: Performance of Templates: time 0.03242/2.514, allocations: 20.97 MB / 1.16 GB, free: 75.76 MB / 346.7 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)