Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009798/0.0009798, 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.00788/0.00788, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.527/1.527, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.0004389/0.000439, allocations: 16 kB / 279.5 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2616, allocations: 47.57 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4507/0.7124, allocations: 171.2 MB / 498.2 MB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00407/0.7165, allocations: 3.82 MB / 0.4903 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.7169, allocations: 5.141 kB / 0.4903 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.7176, allocations: 215.9 kB / 0.4905 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.7183, allocations: 353.5 kB / 0.4908 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.7198, allocations: 0.4965 MB / 0.4913 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.7211, allocations: 1.598 MB / 0.4929 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.7214, allocations: 230.3 kB / 0.4931 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.724, allocations: 1.197 MB / 0.4943 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/0.7245, allocations: 429.1 kB / 0.4947 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.7246, allocations: 34.72 kB / 0.4947 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.7259, allocations: 0.7698 MB / 0.4954 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.7262, allocations: 403.3 kB / 0.4958 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.7266, allocations: 471.7 kB / 0.4963 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.7281, allocations: 1.576 MB / 0.4978 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7281, allocations: 0 / 0.4978 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.7281, allocations: 3.938 kB / 0.4978 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.7281, allocations: 1.859 kB / 0.4978 GB, free: 10.95 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.001428/0.7296, allocations: 0.8869 MB / 0.4987 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7296, allocations: 10.5 kB / 0.4987 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006262/0.7303, allocations: 156.1 kB / 0.4989 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.7309, allocations: 481.7 kB / 0.4993 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.7309, allocations: 50.25 kB / 0.4994 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.731, allocations: 66.09 kB / 0.4994 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.7324, allocations: 0.9548 MB / 0.5004 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.7324, allocations: 5.875 kB / 0.5004 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/0.7325, allocations: 29.34 kB / 0.5004 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.7325, allocations: 47.42 kB / 0.5004 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.7336, allocations: 0.8659 MB / 0.5013 GB, free: 9.547 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.004792/0.7384, allocations: 3.442 MB / 0.5046 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/0.7392, allocations: 0.6288 MB / 0.5053 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/0.7396, allocations: 371.9 kB / 0.5056 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.7397, allocations: 20.28 kB / 0.5056 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7397, allocations: 56.03 kB / 0.5057 GB, free: 7.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.164e-06/0.7397, allocations: 0 / 0.5057 GB, free: 7.168 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.01397/0.7537, allocations: 6.212 MB / 0.5117 GB, free: 4.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.7538, allocations: 64.81 kB / 0.5118 GB, free: 4.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006337/0.7544, allocations: 0.5465 MB / 0.5123 GB, free: 3.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.715e-05/0.7545, allocations: 42.42 kB / 0.5124 GB, free: 3.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.7547, allocations: 281.5 kB / 0.5127 GB, free: 3.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.7549, allocations: 250.7 kB / 0.5129 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.755, allocations: 61.25 kB / 0.513 GB, free: 3.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7552, allocations: 376.6 kB / 0.5133 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.7557, allocations: 444.8 kB / 0.5137 GB, free: 3.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.7564, allocations: 0.513 MB / 0.5142 GB, free: 2.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.7575, allocations: 0.9689 MB / 0.5152 GB, free: 2.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7576, allocations: 6.828 kB / 0.5152 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002/0.7596, allocations: 1.347 MB / 0.5165 GB, free: 2.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7596, allocations: 4.594 kB / 0.5165 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7596, allocations: 3.344 kB / 0.5165 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005719/0.7602, allocations: 333.9 kB / 0.5168 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.7612, allocations: 175.2 kB / 0.517 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008227/0.7694, allocations: 10.24 MB / 0.527 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.7703, allocations: 83.98 kB / 0.5271 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.7704, allocations: 47.98 kB / 0.5271 GB, free: 6.328 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.0005115/0.7709, allocations: 277.5 kB / 0.5274 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.771, allocations: 69.09 kB / 0.5275 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.7732, allocations: 1.279 MB / 0.5287 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.7732, allocations: 8 kB / 0.5287 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7733, allocations: 4 kB / 0.5287 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001812/0.7751, allocations: 1.61 MB / 0.5303 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.7785, allocations: 2.276 MB / 0.5325 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7785, allocations: 1.859 kB / 0.5325 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.7797, allocations: 215.7 kB / 0.5327 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/0.7799, allocations: 64.8 kB / 0.5328 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/0.78, allocations: 48 kB / 0.5328 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.7813, allocations: 1.428 MB / 0.5342 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.7813, allocations: 4.031 kB / 0.5342 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.7836, allocations: 1.597 MB / 0.5358 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.7838, allocations: 152.3 kB / 0.5359 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.7839, allocations: 27.92 kB / 0.536 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/0.7847, allocations: 75.88 kB / 0.536 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.7848, allocations: 56.52 kB / 0.5361 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.785, allocations: 63.89 kB / 0.5361 GB, free: 12.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000509/0.7855, allocations: 403.1 kB / 0.5365 GB, free: 12.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7855, allocations: 4 kB / 0.5365 GB, free: 12.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001289/0.7868, allocations: 347.9 kB / 0.5369 GB, free: 11.91 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.001526/0.7883, allocations: 0.5111 MB / 0.5374 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.7908, allocations: 1.875 MB / 0.5392 GB, free: 9.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.7908, allocations: 4 kB / 0.5392 GB, free: 9.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009589/0.7918, allocations: 0.6779 MB / 0.5399 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.7942, allocations: 494.5 kB / 0.5403 GB, free: 8.262 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.7984, allocations: 2.614 MB / 0.5429 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.799, allocations: 0.9749 MB / 0.5438 GB, free: 4.609 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009428/0.8, allocations: 269.7 kB / 0.5441 GB, free: 4.344 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.8002, allocations: 91.41 kB / 0.5442 GB, free: 4.254 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.8002, allocations: 0 / 0.5442 GB, free: 4.254 MB / 430.1 MB Notification: Performance of Templates: time 0.03822/0.8385, allocations: 25.12 MB / 0.5687 GB, free: 11.11 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)