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.0009024/0.0009028, allocations: 91.31 kB / 16.65 MB, free: 6.535 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.00104/0.00104, allocations: 174.6 kB / 17.56 MB, free: 6.184 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.338/1.338, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004536/0.0004536, allocations: 8.938 kB / 280.7 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.08128, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3338/0.4151, allocations: 146.7 MB / 475 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.417, allocations: 1.515 MB / 476.5 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.4171, allocations: 4 kB / 476.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.4174, allocations: 43.8 kB / 476.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009008/0.4184, allocations: 351 kB / 476.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.4188, allocations: 145.7 kB / 477.1 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.4191, allocations: 255.1 kB / 477.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.4192, allocations: 4 kB / 477.3 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.4193, allocations: 73.2 kB / 477.4 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.4195, allocations: 67.75 kB / 477.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.4195, allocations: 4 kB / 477.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.4207, allocations: 0.6743 MB / 478.1 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.4208, allocations: 23.91 kB / 478.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.4208, allocations: 81.42 kB / 478.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006818/0.4215, allocations: 424.4 kB / 478.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4216, allocations: 0 / 478.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4216, allocations: 0 / 478.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.4216, allocations: 0 / 478.7 MB, free: 3.422 MB / 366.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.000501/0.4221, allocations: 412 kB / 479.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4221, allocations: 8.031 kB / 479.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.4243, allocations: 188.6 kB / 479.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.4246, allocations: 221 kB / 479.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4246, allocations: 8.312 kB / 479.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.4246, allocations: 12 kB / 479.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.4251, allocations: 201.5 kB / 479.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4252, allocations: 3.984 kB / 479.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.4252, allocations: 8 kB / 479.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.4252, allocations: 0 / 479.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.4258, allocations: 243.7 kB / 479.9 MB, free: 2.055 MB / 366.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.001684/0.4275, allocations: 0.6822 MB / 480.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.4279, allocations: 178.5 kB / 480.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.4282, allocations: 92.81 kB / 480.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.4283, allocations: 97.09 kB / 481 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.4284, allocations: 34.5 kB / 481 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.4284, allocations: 0 / 481 MB, free: 0.8867 MB / 366.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.005664/0.4341, allocations: 1.539 MB / 482.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4341, allocations: 55.41 kB / 482.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.4342, allocations: 105.8 kB / 482.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.4342, allocations: 29.7 kB / 482.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.4343, allocations: 100.3 kB / 482.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.4344, allocations: 74.92 kB / 482.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.4344, allocations: 25.72 kB / 482.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4345, allocations: 318.8 kB / 483.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.4348, allocations: 95.81 kB / 483.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.435, allocations: 123.4 kB / 483.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.4355, allocations: 227.3 kB / 483.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4355, allocations: 0 / 483.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006189/0.4361, allocations: 286.1 kB / 484 MB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4362, allocations: 10.12 kB / 484 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4362, allocations: 4 kB / 484 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.4363, allocations: 24.84 kB / 484 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.4368, allocations: 47.97 kB / 484 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000357/0.4371, allocations: 0.5406 MB / 484.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.4375, allocations: 20.02 kB / 484.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.4375, allocations: 8 kB / 484.6 MB, free: 13.06 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.0001334/0.4376, allocations: 125.7 kB / 484.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.4377, allocations: 11.91 kB / 484.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008141/0.4385, allocations: 315.4 kB / 485 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4385, allocations: 7.938 kB / 485.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4386, allocations: 3.938 kB / 485.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4386, allocations: 3.984 kB / 485.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.4397, allocations: 0.6719 MB / 485.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4397, allocations: 0.875 kB / 485.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.4402, allocations: 51.89 kB / 485.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.688e-05/0.4403, allocations: 20.84 kB / 485.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.4403, allocations: 4.094 kB / 485.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008749/0.4412, allocations: 1.268 MB / 487.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4412, allocations: 4.156 kB / 487.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/0.442, allocations: 450.6 kB / 487.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.4421, allocations: 93.09 kB / 487.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.4421, allocations: 8 kB / 487.6 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.4425, allocations: 11.84 kB / 487.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.4425, allocations: 23.91 kB / 487.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4425, allocations: 11.98 kB / 487.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.4426, allocations: 87.27 kB / 487.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4426, allocations: 0 / 487.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005198/0.4431, allocations: 131.9 kB / 487.9 MB, free: 9.516 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.0006565/0.4438, allocations: 254.9 kB / 488.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.4444, allocations: 227.8 kB / 488.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4444, allocations: 3.938 kB / 488.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.4448, allocations: 230.9 kB / 488.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.4453, allocations: 59.95 kB / 488.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008711/0.4462, allocations: 0.5707 MB / 489.2 MB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.4464, allocations: 0.7087 MB / 489.9 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004082/0.4469, allocations: 53.39 kB / 490 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.447, allocations: 27.42 kB / 490 MB, free: 7.316 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.447, allocations: 0 / 490 MB, free: 7.316 MB / 382.1 MB Notification: Performance of Templates: time 0.01008/0.4571, allocations: 6.091 MB / 496.1 MB, free: 1.223 MB / 382.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)