Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007353/0.007353, allocations: 100 kB / 15.73 MB, free: 6.469 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.001892/0.001892, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.765/1.765, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.392/0.392, allocations: 39.95 MB / 309.8 MB, free: 9.422 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.91 kB / 435.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.46, allocations: 56.87 MB / 492.6 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2261/0.6861, allocations: 150.9 MB / 0.6284 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.6882, allocations: 1.491 MB / 0.6299 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.6884, allocations: 0 / 0.6299 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.6888, allocations: 55.66 kB / 0.6299 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009668/0.6898, allocations: 386.2 kB / 0.6303 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.6904, allocations: 178.9 kB / 0.6305 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.6907, allocations: 175.3 kB / 0.6306 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.674e-05/0.6907, allocations: 15.97 kB / 0.6306 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.6909, allocations: 71.77 kB / 0.6307 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.6911, allocations: 67.67 kB / 0.6308 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.6911, allocations: 8 kB / 0.6308 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.6921, allocations: 0.5651 MB / 0.6313 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.6922, allocations: 31.95 kB / 0.6314 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.6923, allocations: 51.8 kB / 0.6314 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.6929, allocations: 385.4 kB / 0.6318 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6929, allocations: 3.984 kB / 0.6318 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.186e-06/0.6929, allocations: 4 kB / 0.6318 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.6929, allocations: 0 / 0.6318 GB, free: 5.531 MB / 0.4981 GB 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.0006621/0.6936, allocations: 431.3 kB / 0.6322 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.6936, allocations: 11.89 kB / 0.6322 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.696, allocations: 201.1 kB / 0.6324 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.6964, allocations: 204.2 kB / 0.6326 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.6964, allocations: 8.125 kB / 0.6326 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.6965, allocations: 15.91 kB / 0.6326 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.6971, allocations: 201.5 kB / 0.6328 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.6971, allocations: 0 / 0.6328 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.6972, allocations: 4 kB / 0.6328 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.6972, allocations: 4 kB / 0.6328 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.6979, allocations: 247.7 kB / 0.6331 GB, free: 4.141 MB / 0.4981 GB 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.001861/0.6998, allocations: 0.6476 MB / 0.6337 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.7003, allocations: 190.4 kB / 0.6339 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.7006, allocations: 100.8 kB / 0.634 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.7008, allocations: 89.09 kB / 0.6341 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.7009, allocations: 30.56 kB / 0.6341 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.7009, allocations: 0 / 0.6341 GB, free: 2.996 MB / 0.4981 GB 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.006346/0.7072, allocations: 1.538 MB / 0.6356 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.7074, allocations: 63.39 kB / 0.6356 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.7075, allocations: 109.8 kB / 0.6358 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.7076, allocations: 33.7 kB / 0.6358 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.7077, allocations: 92.33 kB / 0.6359 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/0.7078, allocations: 74.92 kB / 0.6359 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.7079, allocations: 41.7 kB / 0.636 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.708, allocations: 322.8 kB / 0.6363 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.7083, allocations: 91.95 kB / 0.6364 GB, free: 496 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.7085, allocations: 131.1 kB / 0.6365 GB, free: 352 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.709, allocations: 223.3 kB / 0.6367 GB, free: 116 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.709, allocations: 3.938 kB / 0.6367 GB, free: 112 kB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.3457/1.055, allocations: 280.8 kB / 0.637 GB, free: 145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.055, allocations: 6.719 kB / 0.637 GB, free: 145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.055, allocations: 1.344 kB / 0.637 GB, free: 145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/1.055, allocations: 29.08 kB / 0.637 GB, free: 145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/1.056, allocations: 52.97 kB / 0.6371 GB, free: 145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003389/1.056, allocations: 0.5366 MB / 0.6376 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/1.056, allocations: 11.95 kB / 0.6376 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/1.056, allocations: 10.47 kB / 0.6376 GB, free: 144.5 MB / 0.4981 GB 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.0001372/1.056, allocations: 128.1 kB / 0.6377 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/1.056, allocations: 11.88 kB / 0.6378 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/1.057, allocations: 312.6 kB / 0.6381 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.057, allocations: 6.375 kB / 0.6381 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.057, allocations: 0.8125 kB / 0.6381 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.057, allocations: 2.312 kB / 0.6381 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/1.059, allocations: 0.6718 MB / 0.6387 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.059, allocations: 2.531 kB / 0.6387 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/1.059, allocations: 55.75 kB / 0.6388 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.498e-05/1.059, allocations: 19.44 kB / 0.6388 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/1.059, allocations: 16.61 kB / 0.6388 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009497/1.06, allocations: 1.363 MB / 0.6401 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.06, allocations: 3.062 kB / 0.6401 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/1.061, allocations: 467.1 kB / 0.6406 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/1.061, allocations: 86.12 kB / 0.6407 GB, free: 142 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/1.061, allocations: 6.156 kB / 0.6407 GB, free: 142 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/1.062, allocations: 8.047 kB / 0.6407 GB, free: 142 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/1.062, allocations: 21.08 kB / 0.6407 GB, free: 142 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/1.062, allocations: 8.859 kB / 0.6407 GB, free: 142 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.772e-05/1.062, allocations: 88.45 kB / 0.6408 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.062, allocations: 0.8438 kB / 0.6408 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007019/1.063, allocations: 128.8 kB / 0.6409 GB, free: 141.9 MB / 0.4981 GB 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.0007593/1.063, allocations: 258.4 kB / 0.6412 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007247/1.064, allocations: 240.7 kB / 0.6414 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.064, allocations: 0 / 0.6414 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005061/1.065, allocations: 238.9 kB / 0.6416 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/1.065, allocations: 49.83 kB / 0.6417 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.066, allocations: 479.7 kB / 0.6421 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/1.066, allocations: 0.7055 MB / 0.6428 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002761/1.067, allocations: 49.81 kB / 0.6429 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/1.067, allocations: 22.53 kB / 0.6429 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/1.067, allocations: 4.969 kB / 0.6429 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.01254/1.079, allocations: 6.289 MB / 0.649 GB, free: 139.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)