Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008439/0.000844, allocations: 86.55 kB / 16.31 MB, free: 6.449 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.0009951/0.0009947, allocations: 179.6 kB / 17.21 MB, free: 6.32 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.363/1.363, allocations: 205.4 MB / 223.4 MB, free: 5.531 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.0004313/0.0004313, allocations: 8 kB / 280.1 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 47.59 MB / 327.7 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3447/0.5527, allocations: 140 MB / 467.7 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.5556, allocations: 2.833 MB / 470.5 MB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.5558, allocations: 1.719 kB / 470.5 MB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.5562, allocations: 66.8 kB / 470.6 MB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.5585, allocations: 0.8021 MB / 471.4 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009217/0.5594, allocations: 287.8 kB / 471.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.56, allocations: 0.5207 MB / 472.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.5601, allocations: 14.42 kB / 472.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.5604, allocations: 199.6 kB / 472.4 MB, free: 1.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.5607, allocations: 169.9 kB / 472.6 MB, free: 1.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.5607, allocations: 14.47 kB / 472.6 MB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.5637, allocations: 1.573 MB / 474.2 MB, free: 1.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.5638, allocations: 137.7 kB / 474.3 MB, free: 1.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.5639, allocations: 82.83 kB / 474.4 MB, free: 1.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.5651, allocations: 0.9111 MB / 475.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5651, allocations: 0 / 475.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5651, allocations: 0 / 475.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.5651, allocations: 0 / 475.3 MB, free: 1.719 MB / 382.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.001725/0.5668, allocations: 0.7055 MB / 476 MB, free: 17.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5669, allocations: 12.19 kB / 476 MB, free: 17.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.5689, allocations: 261.3 kB / 476.3 MB, free: 17.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.5692, allocations: 289.7 kB / 476.5 MB, free: 17.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5692, allocations: 20.56 kB / 476.6 MB, free: 17.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.5693, allocations: 31.91 kB / 476.6 MB, free: 17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.5704, allocations: 0.6625 MB / 477.2 MB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5705, allocations: 7.188 kB / 477.3 MB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.5705, allocations: 13 kB / 477.3 MB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.5706, allocations: 18.44 kB / 477.3 MB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.5719, allocations: 0.7546 MB / 478 MB, free: 16.94 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.003174/0.5751, allocations: 1.814 MB / 479.9 MB, free: 16.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.5762, allocations: 474.9 kB / 480.3 MB, free: 16.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005037/0.5767, allocations: 242 kB / 480.6 MB, free: 16.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002126/0.5788, allocations: 1.374 MB / 481.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5789, allocations: 41.25 kB / 482 MB, free: 14.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.5789, allocations: 0 / 482 MB, free: 14.84 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.01137/0.5903, allocations: 3.642 MB / 485.6 MB, free: 13.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.5903, allocations: 83.48 kB / 485.7 MB, free: 13.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.5905, allocations: 180.7 kB / 485.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.5906, allocations: 38.05 kB / 485.9 MB, free: 13.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.5906, allocations: 178.7 kB / 486.1 MB, free: 13.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.5908, allocations: 177.3 kB / 486.3 MB, free: 13.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.5908, allocations: 6.812 kB / 486.3 MB, free: 13.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5909, allocations: 341.3 kB / 486.6 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/0.5915, allocations: 260.3 kB / 486.8 MB, free: 12.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.5922, allocations: 430.1 kB / 487.3 MB, free: 12.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.5929, allocations: 305.1 kB / 487.6 MB, free: 12.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5929, allocations: 3.156 kB / 487.6 MB, free: 12.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001648/0.5946, allocations: 0.7792 MB / 488.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5946, allocations: 8.781 kB / 488.4 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5946, allocations: 4.125 kB / 488.4 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.5948, allocations: 62.45 kB / 488.4 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5959, allocations: 175.9 kB / 488.6 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008164/0.5967, allocations: 1.084 MB / 489.7 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.5974, allocations: 42.84 kB / 489.7 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.5975, allocations: 44.89 kB / 489.8 MB, free: 11.52 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 (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.0002552/0.5977, allocations: 173.1 kB / 489.9 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.5978, allocations: 26.34 kB / 490 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.5998, allocations: 0.7806 MB / 490.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5998, allocations: 6.25 kB / 490.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5998, allocations: 7.094 kB / 490.8 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.5998, allocations: 6.984 kB / 490.8 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.6026, allocations: 1.541 MB / 492.3 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6026, allocations: 2.969 kB / 492.3 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/0.6036, allocations: 151.4 kB / 492.4 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.6037, allocations: 44.19 kB / 492.5 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.6038, allocations: 28.53 kB / 492.5 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.6054, allocations: 2.527 MB / 495 MB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6055, allocations: 2.938 kB / 495.1 MB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.6076, allocations: 1.077 MB / 496.1 MB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.6077, allocations: 98.89 kB / 496.2 MB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.6078, allocations: 16.16 kB / 496.2 MB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/0.6085, allocations: 43.14 kB / 496.3 MB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.6086, allocations: 44.61 kB / 496.3 MB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/0.6087, allocations: 35.56 kB / 496.4 MB, free: 7.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.6088, allocations: 128.1 kB / 496.5 MB, free: 7.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6088, allocations: 0 / 496.5 MB, free: 7.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001436/0.6102, allocations: 382.7 kB / 496.9 MB, free: 7.602 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 (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.002073/0.6123, allocations: 0.668 MB / 497.5 MB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.6139, allocations: 0.6536 MB / 498.2 MB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6139, allocations: 0 / 498.2 MB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009225/0.6149, allocations: 0.5222 MB / 498.7 MB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/0.6156, allocations: 96.75 kB / 498.8 MB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.6175, allocations: 1.193 MB / 500 MB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.6179, allocations: 0.7837 MB / 0.489 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001171/0.619, allocations: 184.6 kB / 0.4892 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.6193, allocations: 57.02 kB / 0.4893 GB, free: 5.66 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6194, allocations: 4 kB / 0.4893 GB, free: 5.656 MB / 398.1 MB Notification: Performance of Templates: time 0.02237/0.6417, allocations: 15.28 MB / 0.5042 GB, free: 12.87 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.pipe 2>&1)