Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001308, allocations: 99.86 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.001454/0.001454, 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.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3174/0.3174, allocations: 40 MB / 310.4 MB, free: 9.629 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.0005433/0.0005434, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3876/0.505, allocations: 143.8 MB / 0.567 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.5163, allocations: 8.4 MB / 0.5752 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5174, allocations: 23.81 kB / 0.5752 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.5185, allocations: 342.4 kB / 0.5756 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.5232, allocations: 1.499 MB / 0.577 GB, free: 9.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004036/0.5273, allocations: 1.26 MB / 0.5782 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.5297, allocations: 1.243 MB / 0.5795 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.531, allocations: 0.6661 MB / 0.5801 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/0.5342, allocations: 1.306 MB / 0.5814 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.5372, allocations: 1.438 MB / 0.5828 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.5375, allocations: 55.94 kB / 0.5828 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.5412, allocations: 1.225 MB / 0.584 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007637/0.542, allocations: 0.6003 MB / 0.5846 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.5425, allocations: 285.1 kB / 0.5849 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.5452, allocations: 1.987 MB / 0.5868 GB, free: 15.26 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5452, allocations: 4 kB / 0.5868 GB, free: 15.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5452, allocations: 0 / 0.5868 GB, free: 15.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.5452, allocations: 0 / 0.5868 GB, free: 15.25 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003253/0.5485, allocations: 1.42 MB / 0.5882 GB, free: 13.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5485, allocations: 8.031 kB / 0.5882 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.55, allocations: 322.2 kB / 0.5885 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.5515, allocations: 0.7185 MB / 0.5892 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.5517, allocations: 137.4 kB / 0.5894 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.5518, allocations: 108 kB / 0.5895 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.5546, allocations: 1.823 MB / 0.5913 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.5547, allocations: 7.844 kB / 0.5913 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.5548, allocations: 51.98 kB / 0.5913 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.5549, allocations: 89.95 kB / 0.5914 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.5575, allocations: 1.71 MB / 0.5931 GB, free: 8.703 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.009659/0.5672, allocations: 6.882 MB / 0.5998 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.5684, allocations: 0.7947 MB / 0.6006 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.5686, allocations: 133.5 kB / 0.6007 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.5687, allocations: 43.12 kB / 0.6007 GB, free: 368 kB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 3.376e-06/0.5687, allocations: 4 kB / 0.6007 GB, free: 364 kB / 462.1 MB Notification: Performance of matching and sorting (n=72): time 0.01095/0.5797, allocations: 4.18 MB / 0.6048 GB, free: 12.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.5798, allocations: 111.5 kB / 0.6049 GB, free: 11.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.5813, allocations: 1.097 MB / 0.606 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.5814, allocations: 45.69 kB / 0.606 GB, free: 10.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.5819, allocations: 0.5184 MB / 0.6065 GB, free: 10.26 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.5821, allocations: 268.2 kB / 0.6068 GB, free: 9.996 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.5822, allocations: 20 kB / 0.6068 GB, free: 9.977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5823, allocations: 349.9 kB / 0.6072 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000861/0.5832, allocations: 0.5875 MB / 0.6077 GB, free: 9.039 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.5843, allocations: 0.876 MB / 0.6086 GB, free: 8.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5854, allocations: 0.7056 MB / 0.6093 GB, free: 7.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5854, allocations: 0 / 0.6093 GB, free: 7.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003335/0.5888, allocations: 2.016 MB / 0.6112 GB, free: 5.312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5888, allocations: 8 kB / 0.6113 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5888, allocations: 8 kB / 0.6113 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004916/0.5938, allocations: 1.391 MB / 0.6126 GB, free: 3.902 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.5944, allocations: 139.8 kB / 0.6128 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.5973, allocations: 1.924 MB / 0.6146 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.5985, allocations: 111.8 kB / 0.6147 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5987, allocations: 63.94 kB / 0.6148 GB, free: 1.645 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {9 35} Notification: Performance of prepare postOptimizeDAE: time 0.0007192/0.5994, allocations: 405.4 kB / 0.6152 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.5996, allocations: 110.8 kB / 0.6153 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.6022, allocations: 1.404 MB / 0.6167 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.6022, allocations: 8 kB / 0.6167 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6022, allocations: 0 / 0.6167 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.6022, allocations: 7.984 kB / 0.6167 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.6066, allocations: 2.703 MB / 0.6193 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6066, allocations: 0 / 0.6193 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.6084, allocations: 335.6 kB / 0.6196 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.6087, allocations: 64.8 kB / 0.6197 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.997e-05/0.6088, allocations: 31.97 kB / 0.6197 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/0.6113, allocations: 2.844 MB / 0.6225 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6113, allocations: 4.219 kB / 0.6225 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.6141, allocations: 1.928 MB / 0.6244 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009009/0.6151, allocations: 343.7 kB / 0.6247 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.6153, allocations: 27.98 kB / 0.6247 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/0.6162, allocations: 83.83 kB / 0.6248 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.6164, allocations: 72.45 kB / 0.6249 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.6166, allocations: 67.94 kB / 0.625 GB, free: 6.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001018/0.6176, allocations: 0.7852 MB / 0.6257 GB, free: 6.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6176, allocations: 0 / 0.6257 GB, free: 6.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001511/0.6191, allocations: 0.5116 MB / 0.6262 GB, free: 5.531 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.001966/0.6211, allocations: 0.6732 MB / 0.6269 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002649/0.6237, allocations: 1.475 MB / 0.6283 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.6238, allocations: 4.594 kB / 0.6283 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.6254, allocations: 0.8619 MB / 0.6292 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.6289, allocations: 0.7131 MB / 0.6299 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1712/0.8001, allocations: 3.357 MB / 0.6331 GB, free: 152.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.8007, allocations: 1.2 MB / 0.6343 GB, free: 152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001416/0.8021, allocations: 408.4 kB / 0.6347 GB, free: 152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.8025, allocations: 111.6 kB / 0.6348 GB, free: 152 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8025, allocations: 0 / 0.6348 GB, free: 152 MB / 494.1 MB Notification: Performance of Templates: time 0.05151/0.854, allocations: 37.48 MB / 0.6714 GB, free: 142.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) Environment - environmentSimulation: