Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001374/0.001374, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001418/0.001418, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.412/1.412, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.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.001348/0.001348, allocations: 52.39 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 46.64 MB / 326.2 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4895/0.6065, allocations: 173.3 MB / 499.5 MB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004828/0.6113, allocations: 3.817 MB / 0.4915 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.6116, allocations: 7.938 kB / 0.4915 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007851/0.6124, allocations: 203.1 kB / 0.4917 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006096/0.6131, allocations: 338.3 kB / 0.492 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.6146, allocations: 0.4955 MB / 0.4925 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.6159, allocations: 1.111 MB / 0.4936 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.6162, allocations: 98.86 kB / 0.4937 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.6192, allocations: 1.235 MB / 0.4949 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.6197, allocations: 366.8 kB / 0.4952 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.295e-05/0.6198, allocations: 44 kB / 0.4953 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.6211, allocations: 0.7252 MB / 0.496 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.6213, allocations: 235.4 kB / 0.4962 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.6216, allocations: 318.8 kB / 0.4965 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.6231, allocations: 1.165 MB / 0.4977 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.6231, allocations: 0 / 0.4977 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6231, allocations: 0 / 0.4977 GB, free: 144 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.6232, allocations: 0 / 0.4977 GB, free: 144 kB / 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.001517/0.6247, allocations: 0.8114 MB / 0.4984 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6247, allocations: 12.03 kB / 0.4985 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/0.6254, allocations: 119.4 kB / 0.4986 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.6259, allocations: 375.6 kB / 0.4989 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.626, allocations: 29 kB / 0.499 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.626, allocations: 36 kB / 0.499 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.6269, allocations: 0.5654 MB / 0.4995 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6269, allocations: 0 / 0.4995 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.324e-05/0.627, allocations: 23.94 kB / 0.4996 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.627, allocations: 16 kB / 0.4996 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.6276, allocations: 442.4 kB / 0.5 GB, free: 13.62 MB / 414.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.003372/0.631, allocations: 2.123 MB / 0.5021 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.6312, allocations: 149.4 kB / 0.5022 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.6314, allocations: 87.02 kB / 0.5023 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.6314, allocations: 8 kB / 0.5023 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.6315, allocations: 34.56 kB / 0.5023 GB, free: 11.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.6315, allocations: 0 / 0.5023 GB, free: 11.04 MB / 414.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.005886/0.6374, allocations: 1.733 MB / 0.504 GB, free: 9.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.6374, allocations: 63.33 kB / 0.5041 GB, free: 9.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.6379, allocations: 485.6 kB / 0.5046 GB, free: 8.602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.638, allocations: 25.7 kB / 0.5046 GB, free: 8.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.6382, allocations: 326.3 kB / 0.5049 GB, free: 8.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.6382, allocations: 94.81 kB / 0.505 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.6384, allocations: 122.2 kB / 0.5051 GB, free: 8.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6386, allocations: 346.8 kB / 0.5054 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.6388, allocations: 145.2 kB / 0.5056 GB, free: 7.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.6393, allocations: 440.5 kB / 0.506 GB, free: 6.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.6399, allocations: 0.613 MB / 0.5066 GB, free: 6.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.64, allocations: 4 kB / 0.5066 GB, free: 6.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009719/0.6409, allocations: 0.6279 MB / 0.5072 GB, free: 5.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.641, allocations: 16.19 kB / 0.5072 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.641, allocations: 8 kB / 0.5072 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.6412, allocations: 57.69 kB / 0.5073 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.6417, allocations: 147.8 kB / 0.5074 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.6433, allocations: 1.943 MB / 0.5093 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.6437, allocations: 27.98 kB / 0.5093 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.6438, allocations: 36 kB / 0.5094 GB, free: 3.16 MB / 414.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.0003059/0.6441, allocations: 209.7 kB / 0.5096 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.6442, allocations: 55.38 kB / 0.5096 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005195/0.6447, allocations: 298.8 kB / 0.5099 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6447, allocations: 4 kB / 0.5099 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6447, allocations: 0 / 0.5099 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005275/0.6452, allocations: 0.5358 MB / 0.5104 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/0.6462, allocations: 0.6902 MB / 0.5111 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6462, allocations: 0 / 0.5111 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.6465, allocations: 55.97 kB / 0.5112 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.991e-05/0.6466, allocations: 20.84 kB / 0.5112 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.6467, allocations: 7.984 kB / 0.5112 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009721/0.6476, allocations: 1.375 MB / 0.5125 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6477, allocations: 3.938 kB / 0.5125 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.6483, allocations: 435.5 kB / 0.513 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.6484, allocations: 108.7 kB / 0.5131 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.6484, allocations: 15.92 kB / 0.5131 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.6487, allocations: 12 kB / 0.5131 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.6488, allocations: 19.97 kB / 0.5131 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.6488, allocations: 11.98 kB / 0.5131 GB, free: 14.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003943/0.6492, allocations: 331.2 kB / 0.5134 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6492, allocations: 0 / 0.5134 GB, free: 14.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009512/0.6502, allocations: 211.9 kB / 0.5136 GB, free: 14.44 MB / 430.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.001506/0.6517, allocations: 471.4 kB / 0.5141 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.6528, allocations: 479.3 kB / 0.5145 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6528, allocations: 0 / 0.5145 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.6531, allocations: 216.5 kB / 0.5148 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.6542, allocations: 213.5 kB / 0.515 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.6558, allocations: 1.015 MB / 0.516 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.6563, allocations: 0.8273 MB / 0.5168 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000511/0.6568, allocations: 138.8 kB / 0.5169 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.657, allocations: 43.44 kB / 0.5169 GB, free: 10.98 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.657, allocations: 0 / 0.5169 GB, free: 10.98 MB / 430.1 MB Notification: Performance of Templates: time 0.01985/0.6768, allocations: 11.85 MB / 0.5285 GB, free: 15.12 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)