Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.005983/0.005983, allocations: 100.5 kB / 15.73 MB, free: 6 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.001262/0.001262, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.567/1.567, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.001202/0.001202, allocations: 47.62 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1099, allocations: 46.62 MB / 373.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4926/0.6025, allocations: 175.5 MB / 0.5359 GB, free: 348 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005143/0.6077, allocations: 3.827 MB / 0.5396 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.608, allocations: 7.938 kB / 0.5396 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000806/0.6088, allocations: 254.6 kB / 0.5398 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007896/0.6096, allocations: 366 kB / 0.5402 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.6114, allocations: 0.5579 MB / 0.5407 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.6126, allocations: 1.087 MB / 0.5418 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.613, allocations: 293.4 kB / 0.5421 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.616, allocations: 1.303 MB / 0.5434 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.6165, allocations: 406.7 kB / 0.5437 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.6166, allocations: 68 kB / 0.5438 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.6177, allocations: 483.1 kB / 0.5443 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003921/0.6181, allocations: 435.1 kB / 0.5447 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.6187, allocations: 0.4904 MB / 0.5452 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.6204, allocations: 1.535 MB / 0.5467 GB, free: 5.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6204, allocations: 0 / 0.5467 GB, free: 5.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6205, allocations: 3.938 kB / 0.5467 GB, free: 5.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.6205, allocations: 0 / 0.5467 GB, free: 5.25 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001801/0.6223, allocations: 1.06 MB / 0.5477 GB, free: 4.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6223, allocations: 11.89 kB / 0.5477 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006465/0.623, allocations: 151 kB / 0.5479 GB, free: 3.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.6237, allocations: 488.7 kB / 0.5483 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.6237, allocations: 49.31 kB / 0.5484 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.6238, allocations: 64 kB / 0.5484 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6253, allocations: 0.9591 MB / 0.5494 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.6254, allocations: 11.89 kB / 0.5494 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-05/0.6255, allocations: 28 kB / 0.5494 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.6255, allocations: 41.98 kB / 0.5494 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.6267, allocations: 0.8706 MB / 0.5503 GB, free: 1.43 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.005083/0.6318, allocations: 3.379 MB / 0.5536 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.6328, allocations: 0.6306 MB / 0.5542 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.6333, allocations: 366.4 kB / 0.5546 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.6333, allocations: 24.42 kB / 0.5546 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.6334, allocations: 55.05 kB / 0.5546 GB, free: 12.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=59): time 2.114e-06/0.6334, allocations: 0 / 0.5546 GB, free: 12.68 MB / 446.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.01493/0.6483, allocations: 6.057 MB / 0.5605 GB, free: 6.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.6484, allocations: 64 kB / 0.5606 GB, free: 6.156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.6491, allocations: 0.5448 MB / 0.5611 GB, free: 5.602 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.955e-05/0.6492, allocations: 45.7 kB / 0.5612 GB, free: 5.551 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.6493, allocations: 280.5 kB / 0.5615 GB, free: 5.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.6495, allocations: 252.4 kB / 0.5617 GB, free: 5.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.6498, allocations: 150.6 kB / 0.5618 GB, free: 4.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6499, allocations: 366.7 kB / 0.5622 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.6505, allocations: 449.7 kB / 0.5626 GB, free: 4.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.6512, allocations: 0.5239 MB / 0.5631 GB, free: 3.523 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.6526, allocations: 0.9642 MB / 0.5641 GB, free: 2.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6526, allocations: 4 kB / 0.5641 GB, free: 2.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001982/0.6546, allocations: 1.347 MB / 0.5654 GB, free: 1.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6546, allocations: 4 kB / 0.5654 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6546, allocations: 160 / 0.5654 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.6552, allocations: 334.6 kB / 0.5657 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/0.6563, allocations: 182.7 kB / 0.5659 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008909/0.6652, allocations: 10.95 MB / 0.5766 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.6659, allocations: 23.98 kB / 0.5766 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.6661, allocations: 43.98 kB / 0.5766 GB, free: 4.602 MB / 462.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.0005793/0.6667, allocations: 269.6 kB / 0.5769 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.667, allocations: 67.27 kB / 0.577 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.6693, allocations: 1.283 MB / 0.5782 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6694, allocations: 11.94 kB / 0.5782 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6694, allocations: 0 / 0.5782 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001985/0.6714, allocations: 1.606 MB / 0.5798 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/0.6756, allocations: 2.26 MB / 0.582 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/0.6756, allocations: 4 kB / 0.582 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.6768, allocations: 223.8 kB / 0.5822 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.677, allocations: 68.64 kB / 0.5823 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.6772, allocations: 39.97 kB / 0.5823 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.6787, allocations: 1.538 MB / 0.5838 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6787, allocations: 0 / 0.5838 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.6815, allocations: 1.603 MB / 0.5854 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.6818, allocations: 144.4 kB / 0.5855 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.682, allocations: 24 kB / 0.5856 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/0.6828, allocations: 47.91 kB / 0.5856 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.683, allocations: 52.58 kB / 0.5857 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/0.6832, allocations: 63.94 kB / 0.5857 GB, free: 10.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006726/0.6839, allocations: 403.1 kB / 0.5861 GB, free: 10.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6839, allocations: 4 kB / 0.5861 GB, free: 10.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001557/0.6854, allocations: 327.9 kB / 0.5864 GB, free: 10.14 MB / 478.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.001635/0.6871, allocations: 0.5025 MB / 0.5869 GB, free: 9.625 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003091/0.6902, allocations: 1.881 MB / 0.5887 GB, free: 7.652 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.6902, allocations: 0 / 0.5887 GB, free: 7.652 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6912, allocations: 0.6896 MB / 0.5894 GB, free: 6.953 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.6938, allocations: 0.5097 MB / 0.5899 GB, free: 6.441 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.6983, allocations: 2.179 MB / 0.592 GB, free: 4.223 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.699, allocations: 0.9788 MB / 0.593 GB, free: 3.219 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001022/0.7001, allocations: 277.7 kB / 0.5933 GB, free: 2.945 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.7004, allocations: 87.41 kB / 0.5933 GB, free: 2.859 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7004, allocations: 0 / 0.5933 GB, free: 2.859 MB / 478.1 MB Notification: Performance of Templates: time 0.04364/0.7441, allocations: 26.87 MB / 0.6196 GB, free: 7.914 MB / 0.4981 GB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)