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.00116/0.00116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001217/0.001218, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.471/1.471, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.002176/0.002176, allocations: 59.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2961, allocations: 46.62 MB / 324.9 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5193/0.8155, allocations: 173.3 MB / 498.2 MB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005129/0.8207, allocations: 3.823 MB / 0.4902 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.8209, allocations: 4.422 kB / 0.4902 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.8219, allocations: 202.6 kB / 0.4904 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006733/0.8225, allocations: 343.7 kB / 0.4908 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.8241, allocations: 0.4969 MB / 0.4912 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.8254, allocations: 1.105 MB / 0.4923 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.8257, allocations: 104.6 kB / 0.4924 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.8288, allocations: 1.236 MB / 0.4936 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.8293, allocations: 366.7 kB / 0.494 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.85e-05/0.8294, allocations: 42.16 kB / 0.494 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.8308, allocations: 0.7234 MB / 0.4947 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.8311, allocations: 239.5 kB / 0.495 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.8315, allocations: 309.9 kB / 0.4953 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.833, allocations: 1.17 MB / 0.4964 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.833, allocations: 4 kB / 0.4964 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.833, allocations: 1.094 kB / 0.4964 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.833, allocations: 0 / 0.4964 GB, free: 11.34 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.001644/0.8347, allocations: 0.8074 MB / 0.4972 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.8348, allocations: 14.09 kB / 0.4972 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000659/0.8354, allocations: 119.3 kB / 0.4973 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.836, allocations: 370.3 kB / 0.4977 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.836, allocations: 33.52 kB / 0.4977 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.8361, allocations: 35.31 kB / 0.4977 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009677/0.8371, allocations: 0.5665 MB / 0.4983 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.8371, allocations: 3.938 kB / 0.4983 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.8372, allocations: 18.78 kB / 0.4983 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.8372, allocations: 9.969 kB / 0.4983 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/0.8379, allocations: 450.2 kB / 0.4987 GB, free: 10.18 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.003443/0.8413, allocations: 2.114 MB / 0.5008 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.8416, allocations: 152.7 kB / 0.501 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.8417, allocations: 76.97 kB / 0.501 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.8418, allocations: 12.33 kB / 0.501 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.8418, allocations: 32.38 kB / 0.5011 GB, free: 8.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 4.038e-06/0.8418, allocations: 0 / 0.5011 GB, free: 8.605 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.005884/0.8477, allocations: 1.749 MB / 0.5028 GB, free: 7.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.8478, allocations: 57.53 kB / 0.5028 GB, free: 7.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.8483, allocations: 482.8 kB / 0.5033 GB, free: 7.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.8483, allocations: 35.3 kB / 0.5033 GB, free: 7.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.8485, allocations: 318.8 kB / 0.5036 GB, free: 6.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.8486, allocations: 87.73 kB / 0.5037 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.8488, allocations: 126.3 kB / 0.5038 GB, free: 6.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8489, allocations: 352.2 kB / 0.5042 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.8491, allocations: 133.9 kB / 0.5043 GB, free: 6.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.8495, allocations: 444.2 kB / 0.5047 GB, free: 6.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.8502, allocations: 0.6102 MB / 0.5053 GB, free: 5.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.8502, allocations: 2.812 kB / 0.5053 GB, free: 5.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009364/0.8512, allocations: 0.6288 MB / 0.5059 GB, free: 5.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.8512, allocations: 9.469 kB / 0.5059 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.8512, allocations: 14.28 kB / 0.506 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.8514, allocations: 60.66 kB / 0.506 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.8519, allocations: 142.2 kB / 0.5062 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.8535, allocations: 1.946 MB / 0.5081 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.8539, allocations: 32.36 kB / 0.5081 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.8539, allocations: 36.44 kB / 0.5081 GB, free: 3.504 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.0002289/0.8542, allocations: 220 kB / 0.5083 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.8543, allocations: 52.56 kB / 0.5084 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.8548, allocations: 284.4 kB / 0.5087 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.8548, allocations: 3.062 kB / 0.5087 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.8548, allocations: 0 / 0.5087 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000508/0.8553, allocations: 0.5297 MB / 0.5092 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.8564, allocations: 0.7025 MB / 0.5099 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8564, allocations: 0 / 0.5099 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.8567, allocations: 54.56 kB / 0.5099 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.572e-05/0.8568, allocations: 20.28 kB / 0.5099 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.8568, allocations: 4.969 kB / 0.5099 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.8578, allocations: 1.372 MB / 0.5113 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8579, allocations: 12.08 kB / 0.5113 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.8585, allocations: 433.1 kB / 0.5117 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.8586, allocations: 110.8 kB / 0.5118 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.8587, allocations: 10.03 kB / 0.5118 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.859, allocations: 19.59 kB / 0.5118 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.8591, allocations: 19.39 kB / 0.5119 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.8591, allocations: 14.3 kB / 0.5119 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000364/0.8595, allocations: 329.1 kB / 0.5122 GB, free: 468 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8595, allocations: 2.812 kB / 0.5122 GB, free: 468 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001017/0.8605, allocations: 217 kB / 0.5124 GB, free: 448 kB / 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.001536/0.862, allocations: 468.8 kB / 0.5128 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009516/0.863, allocations: 474.5 kB / 0.5133 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.863, allocations: 1.781 kB / 0.5133 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.8634, allocations: 222.2 kB / 0.5135 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.8646, allocations: 204 kB / 0.5137 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.8666, allocations: 1.015 MB / 0.5147 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.8671, allocations: 0.8267 MB / 0.5155 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005549/0.8677, allocations: 138.8 kB / 0.5156 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.8678, allocations: 44.14 kB / 0.5157 GB, free: 14.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.8678, allocations: 4 kB / 0.5157 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Templates: time 0.0231/0.8909, allocations: 11.84 MB / 0.5272 GB, free: 3.461 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)