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.005876/0.005876, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001256/0.001256, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.406/1.406, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.2854/0.2854, allocations: 38 MB / 307.9 MB, free: 10.08 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.001473/0.001473, allocations: 67.84 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3036, allocations: 56.46 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.514/0.8177, allocations: 179.7 MB / 0.6535 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007835/0.8256, allocations: 5.756 MB / 0.6591 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.8262, allocations: 23.39 kB / 0.6591 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008966/0.8272, allocations: 311 kB / 0.6594 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.8314, allocations: 1.592 MB / 0.6609 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.8347, allocations: 1.24 MB / 0.6622 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002252/0.837, allocations: 1.849 MB / 0.664 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006477/0.8377, allocations: 465.2 kB / 0.6644 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.8405, allocations: 1.246 MB / 0.6656 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.8419, allocations: 0.749 MB / 0.6664 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.8421, allocations: 64.94 kB / 0.6664 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.8448, allocations: 0.8309 MB / 0.6672 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.8452, allocations: 262.7 kB / 0.6675 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006582/0.8458, allocations: 395.5 kB / 0.6679 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.848, allocations: 1.423 MB / 0.6692 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8481, allocations: 0.8438 kB / 0.6692 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8481, allocations: 0.7188 kB / 0.6692 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.8481, allocations: 2.859 kB / 0.6692 GB, free: 1.277 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002419/0.8505, allocations: 1.133 MB / 0.6704 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.8506, allocations: 12.11 kB / 0.6704 GB, free: 16.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008692/0.8514, allocations: 135.6 kB / 0.6705 GB, free: 16.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.8524, allocations: 0.5303 MB / 0.671 GB, free: 16.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.8525, allocations: 102.4 kB / 0.6711 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.8526, allocations: 53.55 kB / 0.6712 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.8539, allocations: 0.8164 MB / 0.672 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.854, allocations: 4.625 kB / 0.672 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.854, allocations: 22.22 kB / 0.672 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/0.8541, allocations: 36.91 kB / 0.672 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.8552, allocations: 0.6232 MB / 0.6726 GB, free: 16.05 MB / 0.5137 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.004675/0.8599, allocations: 3.983 MB / 0.6765 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.8605, allocations: 359.9 kB / 0.6769 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.8608, allocations: 179.2 kB / 0.677 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004902/0.8613, allocations: 359.9 kB / 0.6774 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.8613, allocations: 40.25 kB / 0.6774 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.8613, allocations: 0.5 kB / 0.6774 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.00577/0.8671, allocations: 1.656 MB / 0.679 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.617e-05/0.8672, allocations: 134.1 kB / 0.6792 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.868, allocations: 0.6136 MB / 0.6798 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.8681, allocations: 37.56 kB / 0.6798 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.8684, allocations: 367.6 kB / 0.6801 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.8685, allocations: 140.7 kB / 0.6803 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.8688, allocations: 162.5 kB / 0.6804 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.869, allocations: 375.3 kB / 0.6808 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.8694, allocations: 203.6 kB / 0.681 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.8699, allocations: 0.5166 MB / 0.6815 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009159/0.8708, allocations: 0.7467 MB / 0.6822 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.8709, allocations: 6.656 kB / 0.6822 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001321/0.8722, allocations: 0.8767 MB / 0.6831 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.8722, allocations: 12.62 kB / 0.6831 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.8722, allocations: 11.98 kB / 0.6831 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.8736, allocations: 318.5 kB / 0.6834 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.874, allocations: 121.3 kB / 0.6835 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.8751, allocations: 0.9314 MB / 0.6844 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.8757, allocations: 25.78 kB / 0.6845 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/0.8758, allocations: 69.39 kB / 0.6845 GB, free: 10.25 MB / 0.5137 GB 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.0003926/0.8762, allocations: 241.8 kB / 0.6848 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.8764, allocations: 71.17 kB / 0.6848 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.8779, allocations: 0.6707 MB / 0.6855 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.8779, allocations: 5.562 kB / 0.6855 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.8779, allocations: 6.422 kB / 0.6855 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.8779, allocations: 2.5 kB / 0.6855 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.8803, allocations: 1.614 MB / 0.6871 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8803, allocations: 0.8438 kB / 0.6871 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.8813, allocations: 211.4 kB / 0.6873 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.183e-05/0.8814, allocations: 26.62 kB / 0.6873 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.8815, allocations: 21.61 kB / 0.6873 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.8839, allocations: 2.865 MB / 0.6901 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8839, allocations: 7.078 kB / 0.6901 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.8852, allocations: 0.8058 MB / 0.6909 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.8855, allocations: 198.9 kB / 0.6911 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.8856, allocations: 15.28 kB / 0.6911 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.886, allocations: 13.41 kB / 0.6911 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.8861, allocations: 39.25 kB / 0.6912 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.8862, allocations: 41.5 kB / 0.6912 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005216/0.8867, allocations: 439.5 kB / 0.6916 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8868, allocations: 0.8125 kB / 0.6916 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001146/0.8879, allocations: 294.2 kB / 0.6919 GB, free: 6.043 MB / 0.5137 GB 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.001081/0.889, allocations: 382.1 kB / 0.6923 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.8902, allocations: 0.5428 MB / 0.6928 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.8902, allocations: 5.562 kB / 0.6928 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.8912, allocations: 421.2 kB / 0.6932 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.8928, allocations: 376.4 kB / 0.6936 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.8952, allocations: 1.304 MB / 0.6948 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.8957, allocations: 0.9351 MB / 0.6958 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008665/0.8966, allocations: 256.3 kB / 0.696 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.8969, allocations: 101.9 kB / 0.6961 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.8969, allocations: 0 / 0.6961 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of Templates: time 0.0316/0.9286, allocations: 18.49 MB / 0.7141 GB, free: 9.234 MB / 0.5294 GB 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)