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.001254/0.001254, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001037/0.001037, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.469/1.469, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.001176/0.001176, allocations: 60.39 kB / 280 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09815, allocations: 46.63 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.4378/0.536, allocations: 150.8 MB / 477.5 MB, free: 300 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.538, allocations: 1.486 MB / 479 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.5381, allocations: 4 kB / 479 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.5385, allocations: 48.22 kB / 479 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008883/0.5394, allocations: 388.3 kB / 479.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.5399, allocations: 171.4 kB / 479.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.5402, allocations: 179.3 kB / 479.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.5402, allocations: 8 kB / 479.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.5404, allocations: 79.7 kB / 479.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.5406, allocations: 63.73 kB / 479.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.5406, allocations: 8 kB / 479.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.5417, allocations: 0.5651 MB / 480.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.5417, allocations: 31.89 kB / 480.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.181e-05/0.5418, allocations: 49.39 kB / 480.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.5424, allocations: 392.6 kB / 480.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5424, allocations: 0 / 480.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5424, allocations: 0 / 480.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.5424, allocations: 0 / 480.9 MB, free: 12.86 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.000543/0.543, allocations: 432 kB / 481.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.543, allocations: 12.03 kB / 481.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.5455, allocations: 197 kB / 481.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.5457, allocations: 208.2 kB / 481.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.5458, allocations: 12.31 kB / 481.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.5458, allocations: 8 kB / 481.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.5463, allocations: 201.5 kB / 482 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5463, allocations: 0 / 482 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.5464, allocations: 4 kB / 482 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.5464, allocations: 7.984 kB / 482 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.547, allocations: 239.8 kB / 482.2 MB, free: 11.48 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.001878/0.5489, allocations: 0.6757 MB / 482.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.5494, allocations: 190.4 kB / 483.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.5497, allocations: 88.81 kB / 483.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.5499, allocations: 97.09 kB / 483.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.512e-05/0.55, allocations: 34.56 kB / 483.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.55, allocations: 0 / 483.3 MB, free: 10.3 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.006305/0.5563, allocations: 1.539 MB / 484.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.5564, allocations: 55.34 kB / 484.9 MB, free: 8.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.5565, allocations: 113.8 kB / 485 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.5565, allocations: 29.7 kB / 485 MB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.5566, allocations: 104.2 kB / 485.1 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.475e-05/0.5567, allocations: 67.08 kB / 485.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.5568, allocations: 49.56 kB / 485.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5569, allocations: 322.8 kB / 485.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.5572, allocations: 87.95 kB / 485.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.5574, allocations: 123.4 kB / 485.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.5579, allocations: 219.3 kB / 486 MB, free: 7.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5579, allocations: 7.938 kB / 486 MB, free: 7.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006418/0.5586, allocations: 286.1 kB / 486.2 MB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5586, allocations: 11.94 kB / 486.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5586, allocations: 0 / 486.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.5588, allocations: 32.77 kB / 486.3 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.5593, allocations: 47.97 kB / 486.3 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004008/0.5597, allocations: 0.5407 MB / 486.9 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.5601, allocations: 8.031 kB / 486.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.5601, allocations: 15.98 kB / 486.9 MB, free: 6.457 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.0001449/0.5603, allocations: 125.7 kB / 487 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.5604, allocations: 16 kB / 487 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.5612, allocations: 315.2 kB / 487.3 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5612, allocations: 4 kB / 487.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5612, allocations: 7.938 kB / 487.4 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5612, allocations: 0 / 487.4 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.5624, allocations: 0.675 MB / 488 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5625, allocations: 0 / 488 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.563, allocations: 55.98 kB / 488.1 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.5631, allocations: 20.84 kB / 488.1 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.5631, allocations: 8 kB / 488.1 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.5642, allocations: 1.362 MB / 489.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5642, allocations: 0 / 489.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/0.5651, allocations: 454.7 kB / 489.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.5652, allocations: 92.97 kB / 490 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.5652, allocations: 4 kB / 490 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.5656, allocations: 12.06 kB / 490 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.5656, allocations: 19.97 kB / 490.1 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.5657, allocations: 8 kB / 490.1 MB, free: 3.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.07e-05/0.5657, allocations: 87.27 kB / 490.1 MB, free: 2.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5657, allocations: 0 / 490.1 MB, free: 2.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005652/0.5663, allocations: 131.9 kB / 490.3 MB, free: 2.816 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.0007217/0.567, allocations: 264.5 kB / 490.5 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007044/0.5677, allocations: 235.8 kB / 490.8 MB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5678, allocations: 0 / 490.8 MB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.5682, allocations: 238.5 kB / 491 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.5687, allocations: 52.8 kB / 491 MB, free: 2.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.5697, allocations: 484.9 kB / 491.5 MB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.5702, allocations: 0.7084 MB / 492.2 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004196/0.5706, allocations: 57.31 kB / 492.3 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.5707, allocations: 23.42 kB / 492.3 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5707, allocations: 4 kB / 492.3 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of Templates: time 0.01109/0.5818, allocations: 6.239 MB / 498.5 MB, free: 10.45 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)