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.001348/0.001348, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001706/0.001706, allocations: 177.3 kB / 15.95 MB, free: 216 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.594/1.594, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3235/0.3235, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0006086/0.0006092, allocations: 12 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1233, allocations: 57.52 MB / 433.9 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3661/0.4894, allocations: 141.8 MB / 0.5623 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.5002, allocations: 7.248 MB / 0.5694 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.5015, allocations: 19.81 kB / 0.5694 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009405/0.5025, allocations: 278.9 kB / 0.5697 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.5067, allocations: 1.27 MB / 0.5709 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.5101, allocations: 0.9759 MB / 0.5718 GB, free: 364 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002106/0.5122, allocations: 1.047 MB / 0.5729 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008212/0.513, allocations: 395.2 kB / 0.5732 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.5148, allocations: 0.7324 MB / 0.574 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.5161, allocations: 0.5605 MB / 0.5745 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.704e-05/0.5162, allocations: 35.94 kB / 0.5745 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.5178, allocations: 0.6204 MB / 0.5751 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.5181, allocations: 219.4 kB / 0.5754 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.5183, allocations: 165.3 kB / 0.5755 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.5197, allocations: 0.9855 MB / 0.5765 GB, free: 11.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5197, allocations: 0 / 0.5765 GB, free: 11.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5197, allocations: 0 / 0.5765 GB, free: 11.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.5197, allocations: 4 kB / 0.5765 GB, free: 11.6 MB / 446.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.002072/0.5218, allocations: 0.989 MB / 0.5774 GB, free: 10.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.5218, allocations: 8.562 kB / 0.5775 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007942/0.5226, allocations: 139 kB / 0.5776 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008627/0.5235, allocations: 496.6 kB / 0.5781 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.5236, allocations: 104.4 kB / 0.5782 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.476e-05/0.5237, allocations: 48 kB / 0.5782 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.525, allocations: 0.8019 MB / 0.579 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.525, allocations: 7.844 kB / 0.579 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.5251, allocations: 27.98 kB / 0.579 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/0.5252, allocations: 48.92 kB / 0.5791 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.5262, allocations: 0.6166 MB / 0.5797 GB, free: 8.152 MB / 446.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.004673/0.5309, allocations: 3.962 MB / 0.5835 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.5315, allocations: 359.5 kB / 0.5839 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.5316, allocations: 24.92 kB / 0.5839 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.5316, allocations: 38.84 kB / 0.5839 GB, free: 3.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 3.416e-06/0.5317, allocations: 3.984 kB / 0.5839 GB, free: 3.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005656/0.5373, allocations: 1.664 MB / 0.5856 GB, free: 1.777 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.834e-05/0.5374, allocations: 140.5 kB / 0.5857 GB, free: 1.609 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007499/0.5382, allocations: 0.6055 MB / 0.5863 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.5383, allocations: 33.7 kB / 0.5863 GB, free: 0.957 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.5385, allocations: 366.9 kB / 0.5867 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.5387, allocations: 146 kB / 0.5868 GB, free: 460 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.5387, allocations: 8 kB / 0.5868 GB, free: 452 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5389, allocations: 374.8 kB / 0.5872 GB, free: 68 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.5393, allocations: 206 kB / 0.5874 GB, free: 15.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.5398, allocations: 0.5047 MB / 0.5879 GB, free: 15.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.5403, allocations: 295.5 kB / 0.5882 GB, free: 14.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5403, allocations: 0 / 0.5882 GB, free: 14.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001456/0.5417, allocations: 0.8716 MB / 0.589 GB, free: 14.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5418, allocations: 12 kB / 0.589 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5418, allocations: 12.78 kB / 0.589 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.5433, allocations: 320.5 kB / 0.5893 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.5437, allocations: 123.8 kB / 0.5895 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.5449, allocations: 0.9269 MB / 0.5904 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.5455, allocations: 44.05 kB / 0.5904 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.971e-05/0.5456, allocations: 67.98 kB / 0.5905 GB, free: 12.52 MB / 462.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.0003729/0.546, allocations: 246.9 kB / 0.5907 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.5461, allocations: 67.25 kB / 0.5908 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.5476, allocations: 0.69 MB / 0.5914 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.5476, allocations: 4 kB / 0.5914 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5476, allocations: 0 / 0.5914 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5476, allocations: 7.938 kB / 0.5915 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.5496, allocations: 1.266 MB / 0.5927 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5496, allocations: 0 / 0.5927 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.5507, allocations: 207.9 kB / 0.5929 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.375e-05/0.5508, allocations: 24.84 kB / 0.5929 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.5508, allocations: 23.98 kB / 0.5929 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.553, allocations: 2.69 MB / 0.5956 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.553, allocations: 0 / 0.5956 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.5542, allocations: 0.8536 MB / 0.5964 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.5546, allocations: 192.2 kB / 0.5966 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.339e-05/0.5547, allocations: 8.812 kB / 0.5966 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.5551, allocations: 28.05 kB / 0.5966 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.5552, allocations: 39.94 kB / 0.5966 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/0.5552, allocations: 39.98 kB / 0.5967 GB, free: 5.699 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004911/0.5557, allocations: 435 kB / 0.5971 GB, free: 5.277 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5557, allocations: 0 / 0.5971 GB, free: 5.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009608/0.5567, allocations: 296 kB / 0.5974 GB, free: 4.988 MB / 462.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.0008547/0.5576, allocations: 372 kB / 0.5977 GB, free: 4.621 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.5587, allocations: 0.5372 MB / 0.5983 GB, free: 4.086 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.5587, allocations: 3.938 kB / 0.5983 GB, free: 4.082 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000967/0.5597, allocations: 420.4 kB / 0.5987 GB, free: 3.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5613, allocations: 323.1 kB / 0.599 GB, free: 3.348 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.5634, allocations: 1.543 MB / 0.6005 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.564, allocations: 0.9455 MB / 0.6014 GB, free: 0.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.565, allocations: 265.9 kB / 0.6017 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.5653, allocations: 99.41 kB / 0.6018 GB, free: 444 kB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5653, allocations: 0 / 0.6018 GB, free: 444 kB / 462.1 MB Notification: Performance of Templates: time 0.02876/0.5941, allocations: 17.08 MB / 0.6184 GB, free: 15.39 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: