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.0009678/0.0009677, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001196/0.001196, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.3363/0.3363, allocations: 38.04 MB / 308.4 MB, free: 10.43 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.0006247/0.0006247, allocations: 19.98 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1281, allocations: 57.51 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.427/0.5552, allocations: 163.8 MB / 0.5838 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007136/0.5623, allocations: 5.46 MB / 0.5891 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/0.5634, allocations: 27.75 kB / 0.5891 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008101/0.5642, allocations: 250.4 kB / 0.5894 GB, free: 14.95 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003632/0.5678, allocations: 1.375 MB / 0.5907 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.5707, allocations: 0.9647 MB / 0.5917 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002429/0.5732, allocations: 2.242 MB / 0.5939 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006095/0.5738, allocations: 379.7 kB / 0.5942 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.5762, allocations: 1.046 MB / 0.5952 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.5774, allocations: 0.7278 MB / 0.596 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.5775, allocations: 35.94 kB / 0.596 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.5796, allocations: 0.6046 MB / 0.5966 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.5799, allocations: 235.2 kB / 0.5968 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.5802, allocations: 157.4 kB / 0.597 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.5817, allocations: 0.9938 MB / 0.5979 GB, free: 6.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.5818, allocations: 3.938 kB / 0.5979 GB, free: 6.199 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5818, allocations: 0 / 0.5979 GB, free: 6.199 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.5818, allocations: 0 / 0.5979 GB, free: 6.199 MB / 462.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.002165/0.584, allocations: 0.9966 MB / 0.5989 GB, free: 5.152 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.584, allocations: 16.56 kB / 0.5989 GB, free: 5.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007366/0.5848, allocations: 135 kB / 0.599 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.5855, allocations: 492.7 kB / 0.5995 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.5857, allocations: 96.41 kB / 0.5996 GB, free: 4.375 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.5858, allocations: 55.23 kB / 0.5997 GB, free: 4.324 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.587, allocations: 0.8135 MB / 0.6005 GB, free: 3.438 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.587, allocations: 7.906 kB / 0.6005 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.5871, allocations: 27.95 kB / 0.6005 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/0.5871, allocations: 36.98 kB / 0.6005 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.5881, allocations: 0.6243 MB / 0.6011 GB, free: 2.738 MB / 462.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.003999/0.5921, allocations: 3.981 MB / 0.605 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.5927, allocations: 351.6 kB / 0.6054 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.5929, allocations: 169.3 kB / 0.6055 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004064/0.5934, allocations: 361.5 kB / 0.6059 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.5934, allocations: 42.78 kB / 0.6059 GB, free: 13.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.5934, allocations: 0 / 0.6059 GB, free: 13.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.004562/0.598, allocations: 1.667 MB / 0.6075 GB, free: 11.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.5981, allocations: 140.5 kB / 0.6077 GB, free: 11.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.5987, allocations: 0.6055 MB / 0.6083 GB, free: 11.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.5987, allocations: 37.7 kB / 0.6083 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.599, allocations: 362.8 kB / 0.6086 GB, free: 10.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.5991, allocations: 138.1 kB / 0.6088 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.5991, allocations: 16 kB / 0.6088 GB, free: 10.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5993, allocations: 374.8 kB / 0.6091 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.5996, allocations: 197.9 kB / 0.6093 GB, free: 9.891 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.6001, allocations: 0.5086 MB / 0.6098 GB, free: 9.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.6005, allocations: 295.5 kB / 0.6101 GB, free: 8.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6005, allocations: 4 kB / 0.6101 GB, free: 8.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001305/0.6019, allocations: 0.8795 MB / 0.611 GB, free: 8.051 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6019, allocations: 11.95 kB / 0.611 GB, free: 8.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.6019, allocations: 8 kB / 0.611 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.6032, allocations: 329.2 kB / 0.6113 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.6035, allocations: 119.8 kB / 0.6114 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.6046, allocations: 0.9312 MB / 0.6123 GB, free: 6.633 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.6051, allocations: 51.92 kB / 0.6124 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.6052, allocations: 67.98 kB / 0.6124 GB, free: 6.516 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003392/0.6055, allocations: 250.2 kB / 0.6127 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.6056, allocations: 63.25 kB / 0.6127 GB, free: 6.199 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.607, allocations: 0.6821 MB / 0.6134 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.607, allocations: 7.953 kB / 0.6134 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6071, allocations: 0 / 0.6134 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6071, allocations: 0 / 0.6134 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.609, allocations: 1.603 MB / 0.615 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.6091, allocations: 7.359 kB / 0.615 GB, free: 3.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.61, allocations: 211.9 kB / 0.6152 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.732e-05/0.6101, allocations: 24.84 kB / 0.6152 GB, free: 3.508 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.6101, allocations: 16 kB / 0.6152 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.6119, allocations: 2.68 MB / 0.6178 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6119, allocations: 7.969 kB / 0.6179 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.613, allocations: 0.804 MB / 0.6186 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.6132, allocations: 192.2 kB / 0.6188 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.6133, allocations: 15.89 kB / 0.6188 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.6137, allocations: 23.98 kB / 0.6189 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.6138, allocations: 40.02 kB / 0.6189 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.6138, allocations: 48.84 kB / 0.6189 GB, free: 15.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004694/0.6143, allocations: 427 kB / 0.6194 GB, free: 14.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6143, allocations: 0 / 0.6194 GB, free: 14.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009748/0.6153, allocations: 295.9 kB / 0.6196 GB, free: 14.67 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008746/0.6162, allocations: 375.8 kB / 0.62 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.6173, allocations: 0.5313 MB / 0.6205 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.6173, allocations: 4 kB / 0.6205 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.6182, allocations: 406.1 kB / 0.6209 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.6197, allocations: 337.7 kB / 0.6212 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.6219, allocations: 1.562 MB / 0.6228 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.6224, allocations: 0.9339 MB / 0.6237 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009383/0.6233, allocations: 258 kB / 0.6239 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.6236, allocations: 95.41 kB / 0.624 GB, free: 10.12 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6236, allocations: 0 / 0.624 GB, free: 10.12 MB / 494.1 MB Notification: Performance of Templates: time 0.2332/0.8568, allocations: 17.07 MB / 0.6407 GB, free: 156.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: