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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001428/0.001428, allocations: 164.5 kB / 7.636 MB, free: 1.418 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.212/1.212, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001507/0.001507, allocations: 111.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.397e-05, allocations: 3.984 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06352/0.06355, allocations: 38.77 MB / 301 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.711/1.775, allocations: 0.721 GB / 1.015 GB, free: 77.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/1.775, allocations: 61.16 kB / 1.015 GB, free: 77.71 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 - DAE generated: time 0.3947/2.169, allocations: 105.3 MB / 1.118 GB, free: 89.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/2.169, allocations: 0 / 1.118 GB, free: 89.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/2.17, allocations: 3.375 kB / 1.118 GB, free: 89.41 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.002297/2.172, allocations: 0.7589 MB / 1.119 GB, free: 88.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/2.172, allocations: 11.02 kB / 1.119 GB, free: 88.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/2.174, allocations: 246.5 kB / 1.119 GB, free: 88.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/2.174, allocations: 284.5 kB / 1.119 GB, free: 88.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/2.174, allocations: 11.3 kB / 1.119 GB, free: 88.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/2.174, allocations: 20.06 kB / 1.119 GB, free: 88.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000802/2.175, allocations: 0.6052 MB / 1.12 GB, free: 88.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007821/2.176, allocations: 0.571 MB / 1.12 GB, free: 88.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/2.176, allocations: 3 kB / 1.12 GB, free: 88.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/2.176, allocations: 0 / 1.12 GB, free: 88.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/2.176, allocations: 18.59 kB / 1.12 GB, free: 88.71 MB / 346.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.003255/2.179, allocations: 1.74 MB / 1.122 GB, free: 87.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/2.18, allocations: 373.1 kB / 1.122 GB, free: 87.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/2.18, allocations: 179 kB / 1.122 GB, free: 87.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/2.181, allocations: 0.9195 MB / 1.123 GB, free: 87.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/2.181, allocations: 45.91 kB / 1.123 GB, free: 87.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/2.181, allocations: 0 / 1.123 GB, free: 87.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.00726/2.189, allocations: 2.133 MB / 1.126 GB, free: 86.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/2.189, allocations: 88.83 kB / 1.126 GB, free: 86.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/2.189, allocations: 153.8 kB / 1.126 GB, free: 85.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/2.189, allocations: 28.17 kB / 1.126 GB, free: 85.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/2.189, allocations: 172.8 kB / 1.126 GB, free: 85.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/2.189, allocations: 171.5 kB / 1.126 GB, free: 85.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/2.189, allocations: 0 / 1.126 GB, free: 85.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/2.189, allocations: 335.2 kB / 1.126 GB, free: 85.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/2.19, allocations: 203.3 kB / 1.127 GB, free: 85.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/2.19, allocations: 359.3 kB / 1.127 GB, free: 85.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/2.19, allocations: 232.4 kB / 1.127 GB, free: 85.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/2.19, allocations: 3.969 kB / 1.127 GB, free: 85.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009386/2.191, allocations: 0.6222 MB / 1.128 GB, free: 85.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/2.191, allocations: 8.562 kB / 1.128 GB, free: 85.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/2.191, allocations: 6.812 kB / 1.128 GB, free: 85.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/2.192, allocations: 47.33 kB / 1.128 GB, free: 85.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/2.193, allocations: 177.1 kB / 1.128 GB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004779/2.193, allocations: 1.088 MB / 1.129 GB, free: 84.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/2.194, allocations: 30.5 kB / 1.129 GB, free: 84.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/2.194, allocations: 37.28 kB / 1.129 GB, free: 84.07 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.0001551/2.194, allocations: 129.9 kB / 1.129 GB, free: 83.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.637e-05/2.194, allocations: 22.5 kB / 1.129 GB, free: 83.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/2.195, allocations: 0.6445 MB / 1.13 GB, free: 83.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/2.195, allocations: 6.188 kB / 1.13 GB, free: 83.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/2.195, allocations: 11.75 kB / 1.13 GB, free: 83.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/2.195, allocations: 6.438 kB / 1.13 GB, free: 83.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/2.197, allocations: 1.377 MB / 1.131 GB, free: 83.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/2.197, allocations: 3.969 kB / 1.131 GB, free: 83.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009584/2.198, allocations: 143.7 kB / 1.131 GB, free: 83.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/2.198, allocations: 46.47 kB / 1.131 GB, free: 83.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/2.199, allocations: 21.92 kB / 1.131 GB, free: 83.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/2.2, allocations: 2.418 MB / 1.134 GB, free: 80.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/2.2, allocations: 12 kB / 1.134 GB, free: 80.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/2.201, allocations: 0.9898 MB / 1.135 GB, free: 80.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/2.201, allocations: 99.36 kB / 1.135 GB, free: 80.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.846e-05/2.201, allocations: 3.844 kB / 1.135 GB, free: 80.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/2.202, allocations: 32.97 kB / 1.135 GB, free: 80.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/2.202, allocations: 45.11 kB / 1.135 GB, free: 80.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/2.202, allocations: 40.5 kB / 1.135 GB, free: 80.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.408e-05/2.202, allocations: 117.7 kB / 1.135 GB, free: 80.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-07/2.202, allocations: 0 / 1.135 GB, free: 80.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001637/2.203, allocations: 388.7 kB / 1.136 GB, free: 80.01 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.002522/2.206, allocations: 1.265 MB / 1.137 GB, free: 79.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000884/2.207, allocations: 0.5142 MB / 1.137 GB, free: 79.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/2.207, allocations: 1.25 kB / 1.137 GB, free: 79.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000489/2.207, allocations: 468.7 kB / 1.138 GB, free: 79.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/2.208, allocations: 81.25 kB / 1.138 GB, free: 79.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/2.209, allocations: 0.7414 MB / 1.139 GB, free: 78.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/2.21, allocations: 0.7967 MB / 1.139 GB, free: 77.97 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001101/2.211, allocations: 188.4 kB / 1.139 GB, free: 77.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/2.211, allocations: 60.77 kB / 1.14 GB, free: 77.89 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/2.211, allocations: 0 / 1.14 GB, free: 77.89 MB / 346.7 MB Notification: Performance of Templates: time 0.02366/2.235, allocations: 17.43 MB / 1.157 GB, free: 70.28 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)