Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 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.001158/0.001158, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001305/0.001305, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1957, allocations: 46.62 MB / 325.3 MB, free: 2.066 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3299/0.5257, allocations: 150.9 MB / 476.2 MB, free: 14.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.5271, allocations: 1.486 MB / 477.6 MB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.5272, allocations: 0 / 477.6 MB, free: 14.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.5276, allocations: 59.8 kB / 477.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008802/0.5285, allocations: 382.1 kB / 478.1 MB, free: 14.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.5289, allocations: 170.4 kB / 478.2 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.5291, allocations: 183.4 kB / 478.4 MB, free: 14.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.5292, allocations: 8.016 kB / 478.4 MB, free: 14.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.5293, allocations: 71.78 kB / 478.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.5294, allocations: 62.94 kB / 478.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.5295, allocations: 4.406 kB / 478.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008814/0.5303, allocations: 0.5712 MB / 479.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.5304, allocations: 31.12 kB / 479.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.5305, allocations: 49.5 kB / 479.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.531, allocations: 397.2 kB / 479.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.531, allocations: 2.656 kB / 479.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.531, allocations: 0 / 479.6 MB, free: 14.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.531, allocations: 0 / 479.6 MB, free: 14.31 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005163/0.5316, allocations: 425.1 kB / 480 MB, free: 13.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.5316, allocations: 12.25 kB / 480 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.5339, allocations: 198.6 kB / 480.2 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.5341, allocations: 211 kB / 480.4 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5341, allocations: 10.16 kB / 480.4 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.5341, allocations: 11.8 kB / 480.4 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.5346, allocations: 200.7 kB / 480.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5346, allocations: 4 kB / 480.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.5346, allocations: 3.188 kB / 480.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5346, allocations: 2.562 kB / 480.7 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.5352, allocations: 242.1 kB / 480.9 MB, free: 13.66 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.001653/0.5368, allocations: 0.6687 MB / 481.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.5372, allocations: 186.2 kB / 481.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.5374, allocations: 95.58 kB / 481.8 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.5376, allocations: 90.88 kB / 481.9 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5377, allocations: 43.34 kB / 482 MB, free: 13.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.5377, allocations: 0 / 482 MB, free: 13.11 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005591/0.5433, allocations: 1.537 MB / 483.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.5433, allocations: 54.12 kB / 483.6 MB, free: 12.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.5434, allocations: 110 kB / 483.7 MB, free: 12.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.5434, allocations: 33.52 kB / 483.7 MB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.5435, allocations: 100 kB / 483.8 MB, free: 12.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.5436, allocations: 67.72 kB / 483.9 MB, free: 12.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.5436, allocations: 45.66 kB / 483.9 MB, free: 12.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5438, allocations: 319.2 kB / 484.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.544, allocations: 93.69 kB / 484.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.5442, allocations: 117.8 kB / 484.4 MB, free: 11.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.5446, allocations: 224.6 kB / 484.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5446, allocations: 1.203 kB / 484.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005668/0.5452, allocations: 297.2 kB / 484.9 MB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5452, allocations: 5.375 kB / 484.9 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5452, allocations: 0 / 484.9 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.5454, allocations: 25.47 kB / 485 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.5458, allocations: 54.91 kB / 485 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003246/0.5462, allocations: 0.5379 MB / 485.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.5465, allocations: 15.23 kB / 485.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.5465, allocations: 12.98 kB / 485.6 MB, free: 11.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.5466, allocations: 128.8 kB / 485.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.5467, allocations: 12.16 kB / 485.7 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/0.5474, allocations: 319.9 kB / 486 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5475, allocations: 0 / 486 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5475, allocations: 8.844 kB / 486 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5475, allocations: 0 / 486 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5485, allocations: 0.6729 MB / 486.7 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5485, allocations: 3.328 kB / 486.7 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.549, allocations: 49.94 kB / 486.8 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.801e-05/0.5491, allocations: 27.58 kB / 486.8 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.5491, allocations: 8.297 kB / 486.8 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008392/0.55, allocations: 1.368 MB / 488.2 MB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.55, allocations: 3.984 kB / 488.2 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007727/0.5508, allocations: 454.6 kB / 488.6 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.5508, allocations: 96.56 kB / 488.7 MB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.5509, allocations: 6.125 kB / 488.7 MB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.5512, allocations: 10.12 kB / 488.7 MB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.5513, allocations: 18.67 kB / 488.7 MB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.5513, allocations: 13.98 kB / 488.8 MB, free: 8.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.279e-05/0.5513, allocations: 86.16 kB / 488.8 MB, free: 8.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5514, allocations: 0 / 488.8 MB, free: 8.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005086/0.5519, allocations: 128.2 kB / 489 MB, free: 8.824 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0006297/0.5525, allocations: 249.8 kB / 489.2 MB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.5531, allocations: 242.2 kB / 489.4 MB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5531, allocations: 4 kB / 489.4 MB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.5535, allocations: 229.4 kB / 489.7 MB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.5539, allocations: 49.55 kB / 489.7 MB, free: 8.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008215/0.5548, allocations: 491.7 kB / 490.2 MB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.555, allocations: 0.7122 MB / 490.9 MB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004083/0.5555, allocations: 56.94 kB / 491 MB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.5556, allocations: 22.86 kB / 491 MB, free: 7.508 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5556, allocations: 0 / 491 MB, free: 7.508 MB / 398.1 MB Notification: Performance of Templates: time 0.009169/0.5647, allocations: 6.247 MB / 497.2 MB, free: 5.473 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)