Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001081, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001243/0.001243, allocations: 190.5 kB / 16.25 MB, free: 6.641 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.395/1.395, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3011/0.3011, allocations: 37.98 MB / 307.4 MB, free: 10.09 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.1. 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.001378/0.001378, allocations: 70.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 56.46 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3561/0.4592, allocations: 177.9 MB / 0.5948 GB, free: 6.027 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008137/0.4674, allocations: 5.82 MB / 0.6005 GB, free: 204 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000761/0.4683, allocations: 27.75 kB / 0.6005 GB, free: 176 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.4693, allocations: 278.6 kB / 0.6008 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.4734, allocations: 1.461 MB / 0.6022 GB, free: 14.44 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.4764, allocations: 1.15 MB / 0.6033 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.4788, allocations: 1.844 MB / 0.6051 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.4796, allocations: 461.3 kB / 0.6056 GB, free: 11 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.4825, allocations: 1.2 MB / 0.6067 GB, free: 9.801 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.484, allocations: 0.7901 MB / 0.6075 GB, free: 9.008 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.4842, allocations: 64 kB / 0.6076 GB, free: 8.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.4859, allocations: 0.7528 MB / 0.6083 GB, free: 8.191 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.4862, allocations: 263.3 kB / 0.6086 GB, free: 7.934 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005795/0.4868, allocations: 402.2 kB / 0.609 GB, free: 7.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.4889, allocations: 1.426 MB / 0.6103 GB, free: 6.109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4889, allocations: 0 / 0.6103 GB, free: 6.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4889, allocations: 0 / 0.6103 GB, free: 6.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.4889, allocations: 0 / 0.6103 GB, free: 6.109 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002573/0.4915, allocations: 1.141 MB / 0.6115 GB, free: 4.918 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4915, allocations: 11.89 kB / 0.6115 GB, free: 4.906 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008699/0.4924, allocations: 135 kB / 0.6116 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.4932, allocations: 0.5119 MB / 0.6121 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.4934, allocations: 99.53 kB / 0.6122 GB, free: 4.113 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.4935, allocations: 47.98 kB / 0.6122 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.4948, allocations: 0.8213 MB / 0.613 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.4948, allocations: 7.938 kB / 0.613 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.4949, allocations: 23.98 kB / 0.6131 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/0.4949, allocations: 40.98 kB / 0.6131 GB, free: 3.102 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.4961, allocations: 0.6166 MB / 0.6137 GB, free: 2.48 MB / 478.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.004785/0.5009, allocations: 3.979 MB / 0.6176 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.5015, allocations: 351.6 kB / 0.6179 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.5017, allocations: 177.3 kB / 0.6181 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.5022, allocations: 361.4 kB / 0.6184 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.5023, allocations: 42.83 kB / 0.6185 GB, free: 13.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.5023, allocations: 3.938 kB / 0.6185 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005562/0.5078, allocations: 1.668 MB / 0.6201 GB, free: 11.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.5079, allocations: 132.5 kB / 0.6202 GB, free: 11.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008268/0.5088, allocations: 0.6171 MB / 0.6208 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.5088, allocations: 33.7 kB / 0.6209 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.5092, allocations: 366.9 kB / 0.6212 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.5093, allocations: 146 kB / 0.6214 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.5096, allocations: 158.4 kB / 0.6215 GB, free: 10.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.5098, allocations: 374.8 kB / 0.6219 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.5102, allocations: 201.9 kB / 0.6221 GB, free: 9.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.5108, allocations: 0.5125 MB / 0.6226 GB, free: 8.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.5119, allocations: 0.7516 MB / 0.6233 GB, free: 7.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/0.5119, allocations: 4 kB / 0.6233 GB, free: 7.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00157/0.5135, allocations: 0.8755 MB / 0.6242 GB, free: 7.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5136, allocations: 12 kB / 0.6242 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5136, allocations: 8 kB / 0.6242 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.515, allocations: 317.2 kB / 0.6245 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.5154, allocations: 123.8 kB / 0.6246 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.5167, allocations: 0.9307 MB / 0.6255 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.5173, allocations: 55.95 kB / 0.6256 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-05/0.5174, allocations: 67.98 kB / 0.6256 GB, free: 5.492 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.5177, allocations: 239 kB / 0.6259 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.5179, allocations: 71.19 kB / 0.6259 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.5194, allocations: 0.6819 MB / 0.6266 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5194, allocations: 4 kB / 0.6266 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.5194, allocations: 3.984 kB / 0.6266 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5194, allocations: 6.188 kB / 0.6266 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.5216, allocations: 1.599 MB / 0.6282 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5216, allocations: 3.938 kB / 0.6282 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5227, allocations: 215.8 kB / 0.6284 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.79e-05/0.5228, allocations: 24.84 kB / 0.6284 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.5228, allocations: 12 kB / 0.6284 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1681/0.6909, allocations: 2.871 MB / 0.6312 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.691, allocations: 5.125 kB / 0.6312 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.6922, allocations: 0.8102 MB / 0.632 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.6925, allocations: 188.1 kB / 0.6322 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.6926, allocations: 14.83 kB / 0.6322 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.693, allocations: 22.55 kB / 0.6322 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.6931, allocations: 45.16 kB / 0.6323 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.6932, allocations: 43.02 kB / 0.6323 GB, free: 161.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004582/0.6937, allocations: 442.3 kB / 0.6327 GB, free: 161.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6937, allocations: 2.812 kB / 0.6327 GB, free: 161.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000889/0.6946, allocations: 297 kB / 0.633 GB, free: 161.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0007997/0.6954, allocations: 361 kB / 0.6334 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.6965, allocations: 0.6041 MB / 0.634 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6965, allocations: 0 / 0.634 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008798/0.6974, allocations: 415.9 kB / 0.6344 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.6989, allocations: 366.6 kB / 0.6347 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.7007, allocations: 1.538 MB / 0.6362 GB, free: 160.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.7011, allocations: 0.9308 MB / 0.6371 GB, free: 159.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001001/0.7021, allocations: 258.6 kB / 0.6374 GB, free: 159.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.7024, allocations: 97.02 kB / 0.6374 GB, free: 159.9 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.7024, allocations: 7.719 kB / 0.6375 GB, free: 159.8 MB / 494.1 MB Notification: Performance of Templates: time 0.02782/0.7303, allocations: 18.28 MB / 0.6553 GB, free: 158.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)