Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001484/0.001484, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001749/0.001749, allocations: 193.6 kB / 16.13 MB, free: 6.672 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.353/1.353, allocations: 205.1 MB / 222 MB, free: 4.75 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.001124/0.001124, allocations: 47.94 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2211, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3787/0.5998, allocations: 148.6 MB / 473.3 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.6014, allocations: 1.54 MB / 474.8 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.6015, allocations: 0 / 474.8 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.6018, allocations: 50 kB / 474.9 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006809/0.6025, allocations: 347.7 kB / 475.2 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.603, allocations: 149.1 kB / 475.4 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.6032, allocations: 247.6 kB / 475.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.6032, allocations: 4.719 kB / 475.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.6034, allocations: 74.3 kB / 475.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.6035, allocations: 55.73 kB / 475.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.6035, allocations: 5.031 kB / 475.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009336/0.6045, allocations: 0.6811 MB / 476.4 MB, free: 14.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.6045, allocations: 33.31 kB / 476.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.6046, allocations: 42.89 kB / 476.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.6052, allocations: 436.1 kB / 476.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6052, allocations: 1.781 kB / 476.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.6052, allocations: 0 / 476.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.6052, allocations: 0 / 476.9 MB, free: 14.61 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.0005286/0.6058, allocations: 426.4 kB / 477.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.6058, allocations: 10.44 kB / 477.4 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.6079, allocations: 198.2 kB / 477.5 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.6081, allocations: 205.3 kB / 477.7 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.6082, allocations: 12.25 kB / 477.8 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.6082, allocations: 10 kB / 477.8 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.6087, allocations: 206.3 kB / 478 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.6087, allocations: 0 / 478 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.6087, allocations: 6.75 kB / 478 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6087, allocations: 0 / 478 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.6093, allocations: 244.8 kB / 478.2 MB, free: 13.95 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.00158/0.6109, allocations: 0.6716 MB / 478.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.6112, allocations: 184.3 kB / 479.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.6114, allocations: 96.47 kB / 479.2 MB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.6116, allocations: 99.31 kB / 479.3 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.6117, allocations: 38.94 kB / 479.3 MB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.6117, allocations: 0 / 479.3 MB, free: 13.4 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.005834/0.6175, allocations: 1.525 MB / 480.8 MB, free: 12.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.6176, allocations: 58.09 kB / 480.9 MB, free: 12.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.6177, allocations: 112.6 kB / 481 MB, free: 12.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.6177, allocations: 25.7 kB / 481 MB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.6178, allocations: 100.2 kB / 481.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.6178, allocations: 64.64 kB / 481.2 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.6179, allocations: 55.34 kB / 481.2 MB, free: 12.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.618, allocations: 319.2 kB / 481.5 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.6182, allocations: 93.31 kB / 481.6 MB, free: 12.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.6185, allocations: 121.2 kB / 481.7 MB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.6189, allocations: 222.9 kB / 482 MB, free: 12.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6189, allocations: 0 / 482 MB, free: 12.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000559/0.6194, allocations: 290.7 kB / 482.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6195, allocations: 8.375 kB / 482.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.6195, allocations: 3.375 kB / 482.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.6196, allocations: 30.53 kB / 482.3 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.6201, allocations: 54.78 kB / 482.3 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003669/0.6204, allocations: 0.5334 MB / 482.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.6207, allocations: 19.77 kB / 482.9 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.6208, allocations: 12.64 kB / 482.9 MB, free: 11.43 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.0001183/0.6209, allocations: 127 kB / 483 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.621, allocations: 11.22 kB / 483 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/0.6217, allocations: 318.4 kB / 483.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6217, allocations: 2.688 kB / 483.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6217, allocations: 3.938 kB / 483.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6217, allocations: 2.125 kB / 483.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.6227, allocations: 0.6731 MB / 484 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6228, allocations: 2.672 kB / 484 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.6232, allocations: 54.31 kB / 484.1 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.611e-05/0.6233, allocations: 20.75 kB / 484.1 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.6233, allocations: 11.53 kB / 484.1 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009468/0.6243, allocations: 1.258 MB / 485.4 MB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6243, allocations: 4.469 kB / 485.4 MB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.6251, allocations: 455.4 kB / 485.8 MB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.6252, allocations: 92.38 kB / 485.9 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.6253, allocations: 6.219 kB / 485.9 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.6256, allocations: 16.22 kB / 485.9 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.6256, allocations: 15.44 kB / 486 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.6257, allocations: 9.906 kB / 486 MB, free: 9.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.828e-05/0.6257, allocations: 90.72 kB / 486.1 MB, free: 9.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6257, allocations: 0 / 486.1 MB, free: 9.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006758/0.6264, allocations: 133.8 kB / 486.2 MB, free: 9.227 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.0007967/0.6272, allocations: 259.8 kB / 486.4 MB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.6279, allocations: 228.2 kB / 486.7 MB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6279, allocations: 0 / 486.7 MB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.6283, allocations: 242.3 kB / 486.9 MB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.6288, allocations: 58.91 kB / 487 MB, free: 8.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.6297, allocations: 0.501 MB / 487.5 MB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.6299, allocations: 0.7063 MB / 488.2 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003996/0.6303, allocations: 53.77 kB / 488.2 MB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.6305, allocations: 22.3 kB / 488.2 MB, free: 7.883 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6305, allocations: 0 / 488.2 MB, free: 7.883 MB / 398.1 MB Notification: Performance of Templates: time 0.01017/0.6406, allocations: 6.116 MB / 494.4 MB, free: 5.902 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)