Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001614/0.001614, allocations: 193.5 kB / 16.25 MB, free: 6.145 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.554/1.554, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 47.94 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3209, allocations: 46.63 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5325/0.8534, allocations: 173.2 MB / 498 MB, free: 12.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.8585, allocations: 3.812 MB / 0.4901 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.8588, allocations: 10.62 kB / 0.4901 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.8599, allocations: 213.8 kB / 0.4903 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.8606, allocations: 344.1 kB / 0.4906 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.8622, allocations: 0.4963 MB / 0.4911 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.8634, allocations: 1.101 MB / 0.4922 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004141/0.8638, allocations: 282.1 kB / 0.4925 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.8669, allocations: 1.267 MB / 0.4937 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.8676, allocations: 462.1 kB / 0.4941 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.8678, allocations: 65.38 kB / 0.4942 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.8693, allocations: 0.7605 MB / 0.4949 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000456/0.8697, allocations: 439.9 kB / 0.4954 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005961/0.8704, allocations: 0.4893 MB / 0.4958 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.872, allocations: 1.628 MB / 0.4974 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.872, allocations: 2.156 kB / 0.4974 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.872, allocations: 4 kB / 0.4974 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.872, allocations: 0 / 0.4974 GB, free: 11.08 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001786/0.8738, allocations: 1.065 MB / 0.4985 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.8739, allocations: 10.7 kB / 0.4985 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006613/0.8746, allocations: 146.6 kB / 0.4986 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.8752, allocations: 479.5 kB / 0.4991 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.8752, allocations: 46.88 kB / 0.4991 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.8754, allocations: 70.88 kB / 0.4992 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.8767, allocations: 0.9599 MB / 0.5001 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.8768, allocations: 2.594 kB / 0.5001 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/0.8769, allocations: 32.12 kB / 0.5002 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/0.877, allocations: 47.3 kB / 0.5002 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.8781, allocations: 0.8709 MB / 0.5011 GB, free: 9.637 MB / 398.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.005072/0.8832, allocations: 3.463 MB / 0.5044 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.8841, allocations: 0.63 MB / 0.5051 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.8845, allocations: 364.4 kB / 0.5054 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.8846, allocations: 22.08 kB / 0.5054 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.8846, allocations: 50.78 kB / 0.5055 GB, free: 7.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 3.567e-06/0.8846, allocations: 0 / 0.5055 GB, free: 7.258 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.01496/0.8996, allocations: 6.213 MB / 0.5115 GB, free: 3.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.8997, allocations: 65.28 kB / 0.5116 GB, free: 3.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/0.9004, allocations: 0.5464 MB / 0.5121 GB, free: 3.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/0.9005, allocations: 45.64 kB / 0.5122 GB, free: 3.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.9007, allocations: 275.1 kB / 0.5125 GB, free: 3.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.9009, allocations: 253.5 kB / 0.5127 GB, free: 3.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.9011, allocations: 144.9 kB / 0.5128 GB, free: 3.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.9013, allocations: 372 kB / 0.5132 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/0.9019, allocations: 445.8 kB / 0.5136 GB, free: 2.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.9027, allocations: 0.5193 MB / 0.5141 GB, free: 1.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.9041, allocations: 0.9681 MB / 0.5151 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9042, allocations: 0 / 0.5151 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002141/0.9063, allocations: 1.351 MB / 0.5164 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.9063, allocations: 5.203 kB / 0.5164 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9064, allocations: 4 kB / 0.5164 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.907, allocations: 330.7 kB / 0.5167 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.9079, allocations: 179.8 kB / 0.5169 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008407/0.9163, allocations: 10.97 MB / 0.5276 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/0.9173, allocations: 83.81 kB / 0.5277 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.9174, allocations: 43.98 kB / 0.5277 GB, free: 2.859 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * 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): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006242/0.918, allocations: 273.6 kB / 0.528 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.9182, allocations: 63.28 kB / 0.528 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.9203, allocations: 1.28 MB / 0.5293 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.9203, allocations: 8 kB / 0.5293 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9204, allocations: 8 kB / 0.5293 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002049/0.9224, allocations: 1.606 MB / 0.5309 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/0.926, allocations: 2.269 MB / 0.5331 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.926, allocations: 4 kB / 0.5331 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.9272, allocations: 215.7 kB / 0.5333 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.9274, allocations: 74.02 kB / 0.5334 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.9275, allocations: 43.97 kB / 0.5334 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.9288, allocations: 1.527 MB / 0.5349 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9288, allocations: 0 / 0.5349 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.9312, allocations: 1.608 MB / 0.5365 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.9315, allocations: 144.4 kB / 0.5366 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.9317, allocations: 24 kB / 0.5366 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007806/0.9325, allocations: 79.72 kB / 0.5367 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.9326, allocations: 56.58 kB / 0.5368 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.9327, allocations: 68.91 kB / 0.5368 GB, free: 9.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004837/0.9332, allocations: 403.1 kB / 0.5372 GB, free: 8.688 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9332, allocations: 0 / 0.5372 GB, free: 8.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001232/0.9344, allocations: 347.9 kB / 0.5375 GB, free: 8.348 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 76 * 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): 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.0016/0.936, allocations: 0.4979 MB / 0.538 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.9391, allocations: 2.107 MB / 0.5401 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.9391, allocations: 5.094 kB / 0.5401 GB, free: 5.648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009093/0.94, allocations: 0.6821 MB / 0.5408 GB, free: 4.953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.9423, allocations: 0.5055 MB / 0.5412 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.9463, allocations: 2.474 MB / 0.5437 GB, free: 1.949 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.947, allocations: 0.9749 MB / 0.5446 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001079/0.9481, allocations: 277.7 kB / 0.5449 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.9483, allocations: 87.41 kB / 0.545 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of SimCode: time 1.934e-06/0.9483, allocations: 0 / 0.545 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of Templates: time 0.04084/0.9892, allocations: 26.2 MB / 0.5706 GB, free: 6.363 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)