Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001084/0.001084, allocations: 102.3 kB / 16.62 MB, free: 6.812 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.001175/0.001176, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.351/1.351, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.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.001167/0.001167, allocations: 51.92 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/0.08387, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3206/0.4046, allocations: 148.7 MB / 474.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.4064, allocations: 1.491 MB / 476.4 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.4065, allocations: 0 / 476.4 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.4069, allocations: 53.05 kB / 476.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009492/0.4078, allocations: 346.4 kB / 476.8 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.4083, allocations: 167.5 kB / 476.9 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.4086, allocations: 171.3 kB / 477.1 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.4086, allocations: 15.08 kB / 477.1 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.4088, allocations: 79.64 kB / 477.2 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.4089, allocations: 55.81 kB / 477.2 MB, free: 452 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.409, allocations: 8 kB / 477.2 MB, free: 444 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.41, allocations: 0.6041 MB / 477.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.4101, allocations: 31.89 kB / 477.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.4102, allocations: 51.8 kB / 477.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000683/0.4108, allocations: 432.5 kB / 478.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4109, allocations: 0 / 478.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4109, allocations: 0 / 478.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4109, allocations: 0 / 478.3 MB, free: 15.32 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005444/0.4114, allocations: 424 kB / 478.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4115, allocations: 16.02 kB / 478.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.4137, allocations: 193 kB / 479 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.4139, allocations: 212.3 kB / 479.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.414, allocations: 5.188 kB / 479.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.414, allocations: 12 kB / 479.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.4145, allocations: 201.4 kB / 479.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4145, allocations: 8 kB / 479.4 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.4146, allocations: 4 kB / 479.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4146, allocations: 0 / 479.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.4151, allocations: 247.8 kB / 479.6 MB, free: 13.94 MB / 382.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.001687/0.4168, allocations: 0.6602 MB / 480.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.4173, allocations: 187.3 kB / 480.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.4175, allocations: 95.88 kB / 480.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.4177, allocations: 93.09 kB / 480.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4177, allocations: 38.5 kB / 480.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.4177, allocations: 0 / 480.7 MB, free: 12.79 MB / 382.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.005718/0.4234, allocations: 1.546 MB / 482.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.4235, allocations: 55.41 kB / 482.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.4236, allocations: 109.8 kB / 482.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.4236, allocations: 29.7 kB / 482.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.4237, allocations: 104.2 kB / 482.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.4238, allocations: 67.09 kB / 482.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4239, allocations: 49.55 kB / 482.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.424, allocations: 314.8 kB / 483 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.4243, allocations: 91.89 kB / 483.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.4245, allocations: 123.4 kB / 483.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.4249, allocations: 227.3 kB / 483.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.425, allocations: 0 / 483.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006213/0.4256, allocations: 294.1 kB / 483.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4256, allocations: 4 kB / 483.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4256, allocations: 4 kB / 483.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.4258, allocations: 20.84 kB / 483.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.4262, allocations: 59.89 kB / 483.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003375/0.4266, allocations: 0.533 MB / 484.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.4269, allocations: 15.92 kB / 484.3 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.4269, allocations: 4 kB / 484.3 MB, free: 8.945 MB / 382.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.0001308/0.4271, allocations: 133.7 kB / 484.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.4271, allocations: 7.906 kB / 484.5 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.4279, allocations: 319.1 kB / 484.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4279, allocations: 4 kB / 484.8 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4279, allocations: 3.938 kB / 484.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4279, allocations: 0 / 484.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.429, allocations: 0.6751 MB / 485.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.429, allocations: 4 kB / 485.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.4294, allocations: 51.95 kB / 485.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.326e-05/0.4295, allocations: 20.94 kB / 485.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.4296, allocations: 11.98 kB / 485.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008833/0.4305, allocations: 1.364 MB / 486.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.4305, allocations: 5.5 kB / 486.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.4313, allocations: 450.7 kB / 487.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.4313, allocations: 88.98 kB / 487.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4314, allocations: 8 kB / 487.4 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.4317, allocations: 7.984 kB / 487.5 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.4318, allocations: 23.98 kB / 487.5 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.4318, allocations: 11.98 kB / 487.5 MB, free: 5.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.4319, allocations: 91.56 kB / 487.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4319, allocations: 0 / 487.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.4324, allocations: 131.9 kB / 487.7 MB, free: 5.289 MB / 382.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.0006787/0.4331, allocations: 247 kB / 487.9 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006234/0.4337, allocations: 243.9 kB / 488.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4337, allocations: 0 / 488.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.4341, allocations: 234.4 kB / 488.4 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.4346, allocations: 56.84 kB / 488.5 MB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.4354, allocations: 0.5068 MB / 489 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.4357, allocations: 0.7163 MB / 489.7 MB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004155/0.4361, allocations: 53.61 kB / 489.7 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.4363, allocations: 27.42 kB / 489.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4363, allocations: 0 / 489.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of Templates: time 0.009825/0.4461, allocations: 6.24 MB / 496 MB, free: 12.89 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)