Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003901/0.003907, allocations: 365.8 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.044/4.044, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003623/0.003622, allocations: 228.2 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5548/0.5548, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004536, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1106, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5781/0.6888, allocations: 166.9 MB / 0.8431 GB, free: 5.426 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.7031, allocations: 6.613 MB / 0.8495 GB, free: 14.8 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.7043, allocations: 31.69 kB / 0.8495 GB, free: 14.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.7059, allocations: 302.2 kB / 0.8498 GB, free: 14.47 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007158/0.7131, allocations: 1.66 MB / 0.8515 GB, free: 12.81 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005683/0.7189, allocations: 1.251 MB / 0.8527 GB, free: 11.57 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004704/0.7236, allocations: 2.638 MB / 0.8553 GB, free: 8.922 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.7254, allocations: 0.6248 MB / 0.8559 GB, free: 8.293 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006053/0.7315, allocations: 1.7 MB / 0.8575 GB, free: 6.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004864/0.7364, allocations: 1.691 MB / 0.8592 GB, free: 4.895 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004162/0.7369, allocations: 56 kB / 0.8592 GB, free: 4.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/0.7421, allocations: 1.424 MB / 0.8606 GB, free: 3.414 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.7437, allocations: 0.6703 MB / 0.8613 GB, free: 2.742 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000702/0.7444, allocations: 289.1 kB / 0.8616 GB, free: 2.453 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004811/0.7492, allocations: 2.011 MB / 0.8635 GB, free: 448 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.7493, allocations: 0 / 0.8635 GB, free: 448 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.7493, allocations: 0 / 0.8635 GB, free: 448 kB / 442.7 MB Notification: Performance of Transformations before backend: time 6.892e-05/0.7494, allocations: 0 / 0.8635 GB, free: 448 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005473/0.7549, allocations: 1.419 MB / 0.8649 GB, free: 14.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.755, allocations: 8.828 kB / 0.8649 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.7577, allocations: 330.2 kB / 0.8652 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.7602, allocations: 0.7458 MB / 0.866 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.7605, allocations: 137.4 kB / 0.8661 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004227/0.7609, allocations: 107.9 kB / 0.8662 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005456/0.7664, allocations: 1.827 MB / 0.868 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.7665, allocations: 7.984 kB / 0.868 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.7668, allocations: 44 kB / 0.868 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.767, allocations: 97.83 kB / 0.8681 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005539/0.7726, allocations: 1.698 MB / 0.8698 GB, free: 9.867 MB / 458.7 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.01736/0.79, allocations: 6.762 MB / 0.8764 GB, free: 2.633 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.7928, allocations: 0.6754 MB / 0.877 GB, free: 1.949 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.7943, allocations: 362.4 kB / 0.8774 GB, free: 1.594 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004223/0.7948, allocations: 139.4 kB / 0.8775 GB, free: 1.438 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.802e-05/0.7949, allocations: 43 kB / 0.8776 GB, free: 1.387 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 6.361e-06/0.7949, allocations: 4 kB / 0.8776 GB, free: 1.383 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.02138/0.8163, allocations: 3.794 MB / 0.8813 GB, free: 13.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.8165, allocations: 111.4 kB / 0.8814 GB, free: 13.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.8186, allocations: 0.9659 MB / 0.8823 GB, free: 12.42 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002573/0.8189, allocations: 37.7 kB / 0.8823 GB, free: 12.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.8197, allocations: 0.5643 MB / 0.8829 GB, free: 11.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000405/0.8201, allocations: 252.5 kB / 0.8831 GB, free: 11.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.8202, allocations: 20 kB / 0.8832 GB, free: 11.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.8204, allocations: 349.9 kB / 0.8835 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.822, allocations: 0.5334 MB / 0.884 GB, free: 10.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.8241, allocations: 0.9012 MB / 0.8849 GB, free: 9.586 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.826, allocations: 0.659 MB / 0.8855 GB, free: 8.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.8261, allocations: 7.938 kB / 0.8855 GB, free: 8.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.005787/0.8319, allocations: 1.903 MB / 0.8874 GB, free: 7.012 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.8319, allocations: 12.22 kB / 0.8874 GB, free: 7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.832, allocations: 12 kB / 0.8874 GB, free: 6.988 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008902/0.8409, allocations: 1.313 MB / 0.8887 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.8423, allocations: 179.7 kB / 0.8889 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.8469, allocations: 1.727 MB / 0.8906 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.849, allocations: 111.8 kB / 0.8907 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.8493, allocations: 87.98 kB / 0.8908 GB, free: 3.555 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 28} Notification: Performance of prepare postOptimizeDAE: time 0.001084/0.8504, allocations: 409.3 kB / 0.8911 GB, free: 3.145 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.8508, allocations: 110.7 kB / 0.8913 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.8546, allocations: 1.252 MB / 0.8925 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.8547, allocations: 3.984 kB / 0.8925 GB, free: 1.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.8547, allocations: 4 kB / 0.8925 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.8559, allocations: 303.8 kB / 0.8928 GB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/0.8563, allocations: 27.98 kB / 0.8928 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.858, allocations: 71.84 kB / 0.8929 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.8583, allocations: 52.58 kB / 0.8929 GB, free: 1.301 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3326/1.191, allocations: 1.346 MB / 0.8942 GB, free: 170.6 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005122/1.196, allocations: 1.749 MB / 0.8959 GB, free: 170.4 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001408/1.198, allocations: 0.4973 MB / 0.8964 GB, free: 170.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001524/1.199, allocations: 0.6775 MB / 0.8971 GB, free: 170.1 MB / 474.7 MB Notification: Performance of Backend: time 4.81e-07/1.199, allocations: 0 / 0.8971 GB, free: 170.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008076/1.207, allocations: 1.675 MB / 0.8987 GB, free: 169.7 MB / 474.7 MB Notification: Performance of SimCode: time 0.009833/1.217, allocations: 3.687 MB / 0.9023 GB, free: 167.8 MB / 474.7 MB Notification: Performance of Templates: time 0.07916/1.296, allocations: 33.34 MB / 0.9349 GB, free: 145.5 MB / 474.7 MB