Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005865/0.005865, allocations: 169 kB / 16.26 MB, free: 6.652 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.581/1.581, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004384/0.0004384, allocations: 12 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2647, allocations: 47.57 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4338/0.6986, allocations: 171.3 MB / 498.4 MB, free: 13.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004691/0.7033, allocations: 3.813 MB / 0.4904 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005845/0.704, allocations: 8.969 kB / 0.4904 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.705, allocations: 205.6 kB / 0.4906 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.7062, allocations: 355.7 kB / 0.4909 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.7079, allocations: 0.4909 MB / 0.4914 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.7097, allocations: 1.604 MB / 0.493 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.71, allocations: 83.83 kB / 0.4931 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.7131, allocations: 1.178 MB / 0.4942 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000771/0.7139, allocations: 362.1 kB / 0.4946 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.714, allocations: 22.84 kB / 0.4946 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.7157, allocations: 0.7419 MB / 0.4953 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.7161, allocations: 208.9 kB / 0.4955 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006069/0.7167, allocations: 312.4 kB / 0.4958 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.7185, allocations: 1.129 MB / 0.4969 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7185, allocations: 0 / 0.4969 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.7186, allocations: 0 / 0.4969 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.978e-05/0.7186, allocations: 7.938 kB / 0.4969 GB, free: 11.2 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00157/0.7202, allocations: 0.6915 MB / 0.4976 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.7202, allocations: 13.89 kB / 0.4976 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/0.7211, allocations: 133.4 kB / 0.4977 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008129/0.7219, allocations: 365.3 kB / 0.4981 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.7219, allocations: 28.59 kB / 0.4981 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.722, allocations: 35.59 kB / 0.4981 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.7231, allocations: 0.5697 MB / 0.4987 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.7231, allocations: 0 / 0.4987 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.7232, allocations: 22.81 kB / 0.4987 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.7233, allocations: 8.719 kB / 0.4987 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.724, allocations: 447.8 kB / 0.4992 GB, free: 10.06 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.003666/0.7277, allocations: 2.053 MB / 0.5012 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.7279, allocations: 146 kB / 0.5013 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.7281, allocations: 83.55 kB / 0.5014 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.7281, allocations: 0 / 0.5014 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.7281, allocations: 40.94 kB / 0.5014 GB, free: 8.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.7282, allocations: 4 kB / 0.5014 GB, free: 8.512 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.006098/0.7343, allocations: 1.685 MB / 0.5031 GB, free: 7.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.7343, allocations: 55.39 kB / 0.5031 GB, free: 7.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/0.7349, allocations: 482.7 kB / 0.5036 GB, free: 7.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.735, allocations: 32.14 kB / 0.5036 GB, free: 7.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.7352, allocations: 314 kB / 0.5039 GB, free: 6.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.7353, allocations: 95.22 kB / 0.504 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.7354, allocations: 50.73 kB / 0.5041 GB, free: 6.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7355, allocations: 355.8 kB / 0.5044 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.7357, allocations: 136 kB / 0.5045 GB, free: 6.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.7361, allocations: 438.8 kB / 0.5049 GB, free: 6.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.7368, allocations: 0.6095 MB / 0.5055 GB, free: 5.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.7368, allocations: 2.938 kB / 0.5055 GB, free: 5.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009918/0.7378, allocations: 0.6412 MB / 0.5062 GB, free: 5.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.7379, allocations: 13.59 kB / 0.5062 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.7379, allocations: 10.84 kB / 0.5062 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.7381, allocations: 57.23 kB / 0.5062 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.7386, allocations: 140.5 kB / 0.5064 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.7401, allocations: 1.846 MB / 0.5082 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.7406, allocations: 34.2 kB / 0.5082 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.7407, allocations: 34.22 kB / 0.5082 GB, free: 3.559 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.7409, allocations: 213.8 kB / 0.5084 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.741, allocations: 49.09 kB / 0.5085 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.7416, allocations: 297.1 kB / 0.5088 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7416, allocations: 2.969 kB / 0.5088 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7416, allocations: 3.984 kB / 0.5088 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005475/0.7422, allocations: 0.5244 MB / 0.5093 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.7432, allocations: 0.6933 MB / 0.51 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.7433, allocations: 0 / 0.51 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.7436, allocations: 65.33 kB / 0.51 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.15e-05/0.7437, allocations: 20.38 kB / 0.5101 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.7437, allocations: 12.38 kB / 0.5101 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009625/0.7447, allocations: 1.281 MB / 0.5113 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7447, allocations: 0 / 0.5113 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.7453, allocations: 431.3 kB / 0.5117 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.7455, allocations: 122.3 kB / 0.5118 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.7456, allocations: 6.156 kB / 0.5119 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.7459, allocations: 16.86 kB / 0.5119 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.746, allocations: 14.86 kB / 0.5119 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.746, allocations: 16.52 kB / 0.5119 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004072/0.7464, allocations: 325.6 kB / 0.5122 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7464, allocations: 0 / 0.5122 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001059/0.7475, allocations: 216.8 kB / 0.5124 GB, free: 0.5898 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.001621/0.7491, allocations: 467.8 kB / 0.5129 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009917/0.7501, allocations: 471.5 kB / 0.5133 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.7502, allocations: 0 / 0.5133 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.7504, allocations: 207.8 kB / 0.5135 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.7518, allocations: 214.1 kB / 0.5137 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.7534, allocations: 1.083 MB / 0.5148 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.7537, allocations: 0.8243 MB / 0.5156 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000519/0.7543, allocations: 147.2 kB / 0.5157 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.7544, allocations: 49.14 kB / 0.5158 GB, free: 14.41 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.7544, allocations: 5.062 kB / 0.5158 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Templates: time 0.01966/0.774, allocations: 11.48 MB / 0.527 GB, free: 5.41 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)