Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.005851/0.005851, allocations: 103.8 kB / 15.74 MB, free: 6.445 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.00125/0.00125, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.559/1.559, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001058/0.001058, allocations: 59.19 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1244, allocations: 46.62 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4898/0.6143, allocations: 175.6 MB / 0.536 GB, free: 216 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005488/0.6198, allocations: 3.836 MB / 0.5397 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004402/0.6203, allocations: 8 kB / 0.5397 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009476/0.6213, allocations: 226.7 kB / 0.54 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.6224, allocations: 362 kB / 0.5403 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.6241, allocations: 0.5493 MB / 0.5408 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.6256, allocations: 1.114 MB / 0.5419 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.6259, allocations: 100.7 kB / 0.542 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.6295, allocations: 1.253 MB / 0.5432 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000727/0.6302, allocations: 334.8 kB / 0.5436 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.6304, allocations: 48 kB / 0.5436 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.6317, allocations: 455.1 kB / 0.544 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.632, allocations: 231.4 kB / 0.5443 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.6325, allocations: 314.9 kB / 0.5446 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.6343, allocations: 1.085 MB / 0.5456 GB, free: 6.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6343, allocations: 0 / 0.5456 GB, free: 6.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.6343, allocations: 0 / 0.5456 GB, free: 6.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.6343, allocations: 3.938 kB / 0.5456 GB, free: 6.316 MB / 430.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.001771/0.6361, allocations: 0.814 MB / 0.5464 GB, free: 5.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6361, allocations: 12.03 kB / 0.5464 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006972/0.6368, allocations: 119.6 kB / 0.5465 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.6375, allocations: 389.3 kB / 0.5469 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.6376, allocations: 28.94 kB / 0.5469 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.989e-05/0.6376, allocations: 36 kB / 0.547 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.6387, allocations: 0.5654 MB / 0.5475 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.6387, allocations: 0 / 0.5475 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.6388, allocations: 24 kB / 0.5476 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.6388, allocations: 8 kB / 0.5476 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.6395, allocations: 442.4 kB / 0.548 GB, free: 3.785 MB / 430.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.004231/0.6437, allocations: 2.125 MB / 0.5501 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.6441, allocations: 159 kB / 0.5502 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.6442, allocations: 80.83 kB / 0.5503 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.6443, allocations: 4 kB / 0.5503 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.6443, allocations: 42.56 kB / 0.5503 GB, free: 1.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.874e-06/0.6443, allocations: 0 / 0.5503 GB, free: 1.191 MB / 430.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.006553/0.6509, allocations: 1.759 MB / 0.5521 GB, free: 15.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.6509, allocations: 55.41 kB / 0.5521 GB, free: 15.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.6515, allocations: 481.7 kB / 0.5526 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.6516, allocations: 33.7 kB / 0.5526 GB, free: 14.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.6518, allocations: 327.3 kB / 0.5529 GB, free: 14.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.279e-05/0.6519, allocations: 95.2 kB / 0.553 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.6521, allocations: 126.2 kB / 0.5531 GB, free: 14.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6523, allocations: 354.8 kB / 0.5535 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.6525, allocations: 133.2 kB / 0.5536 GB, free: 13.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.653, allocations: 436.5 kB / 0.554 GB, free: 13.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008328/0.6538, allocations: 0.6052 MB / 0.5546 GB, free: 12.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.6538, allocations: 4 kB / 0.5546 GB, free: 12.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001158/0.655, allocations: 0.6396 MB / 0.5552 GB, free: 11.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.6551, allocations: 8 kB / 0.5552 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.6551, allocations: 12 kB / 0.5552 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/0.6553, allocations: 58.39 kB / 0.5553 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.6558, allocations: 139.8 kB / 0.5554 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.6576, allocations: 1.935 MB / 0.5573 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.6581, allocations: 24 kB / 0.5573 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.6582, allocations: 36 kB / 0.5574 GB, free: 9.301 MB / 446.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.0002918/0.6585, allocations: 229.5 kB / 0.5576 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6586, allocations: 55.59 kB / 0.5576 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.6592, allocations: 286.9 kB / 0.5579 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6592, allocations: 4 kB / 0.5579 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6592, allocations: 0 / 0.5579 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005201/0.6597, allocations: 0.5316 MB / 0.5584 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6609, allocations: 0.6996 MB / 0.5591 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.6609, allocations: 0 / 0.5591 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.6613, allocations: 55.97 kB / 0.5592 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.364e-05/0.6614, allocations: 16.84 kB / 0.5592 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.6614, allocations: 8 kB / 0.5592 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.6626, allocations: 1.376 MB / 0.5605 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.6626, allocations: 11.92 kB / 0.5606 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.6633, allocations: 428 kB / 0.561 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.6634, allocations: 120.8 kB / 0.5611 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.6635, allocations: 11.94 kB / 0.5611 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.6638, allocations: 11.98 kB / 0.5611 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.6639, allocations: 11.98 kB / 0.5611 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.6639, allocations: 15.98 kB / 0.5611 GB, free: 5.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003664/0.6643, allocations: 327.1 kB / 0.5614 GB, free: 4.789 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6643, allocations: 0 / 0.5614 GB, free: 4.789 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009204/0.6652, allocations: 215.7 kB / 0.5616 GB, free: 4.578 MB / 446.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.001326/0.6665, allocations: 450.6 kB / 0.5621 GB, free: 4.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008232/0.6674, allocations: 472.6 kB / 0.5625 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6674, allocations: 0 / 0.5625 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.6676, allocations: 210.8 kB / 0.5627 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6687, allocations: 213.1 kB / 0.5629 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.6701, allocations: 0.8731 MB / 0.5638 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.6706, allocations: 0.8273 MB / 0.5646 GB, free: 1.465 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004339/0.6711, allocations: 140.6 kB / 0.5647 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.6712, allocations: 39.44 kB / 0.5648 GB, free: 1.289 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6712, allocations: 0 / 0.5648 GB, free: 1.289 MB / 446.1 MB Notification: Performance of Templates: time 0.02009/0.6913, allocations: 12.46 MB / 0.5769 GB, free: 4.789 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)