Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002722/0.002726, allocations: 368.3 kB / 15.96 MB, free: 6.199 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.179/4.179, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003498/0.003497, allocations: 231.3 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.5176/0.5176, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004571, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09646, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5945/0.691, allocations: 167 MB / 0.8432 GB, free: 5.297 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.7053, allocations: 6.627 MB / 0.8497 GB, free: 14.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.7065, allocations: 23.81 kB / 0.8497 GB, free: 14.63 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.708, allocations: 298.2 kB / 0.85 GB, free: 14.34 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.00682/0.7149, allocations: 1.65 MB / 0.8516 GB, free: 12.69 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005239/0.7201, allocations: 1.219 MB / 0.8528 GB, free: 11.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004463/0.7246, allocations: 2.542 MB / 0.8552 GB, free: 8.926 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.7259, allocations: 459.4 kB / 0.8557 GB, free: 8.469 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00558/0.7315, allocations: 1.648 MB / 0.8573 GB, free: 6.82 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004401/0.736, allocations: 1.546 MB / 0.8588 GB, free: 5.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003529/0.7364, allocations: 36 kB / 0.8588 GB, free: 5.234 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005026/0.7415, allocations: 1.396 MB / 0.8602 GB, free: 3.836 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009721/0.7425, allocations: 422.8 kB / 0.8606 GB, free: 3.422 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.743, allocations: 221.3 kB / 0.8608 GB, free: 3.199 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003822/0.7469, allocations: 1.586 MB / 0.8624 GB, free: 1.609 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.7469, allocations: 0 / 0.8624 GB, free: 1.609 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7469, allocations: 0 / 0.8624 GB, free: 1.609 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.242e-05/0.747, allocations: 4 kB / 0.8624 GB, free: 1.605 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004245/0.7512, allocations: 1.215 MB / 0.8636 GB, free: 348 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.7513, allocations: 8.828 kB / 0.8636 GB, free: 340 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.7537, allocations: 298.6 kB / 0.8639 GB, free: 40 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.7556, allocations: 0.6094 MB / 0.8644 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.7559, allocations: 116.7 kB / 0.8646 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.7561, allocations: 64.8 kB / 0.8646 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.7595, allocations: 1.256 MB / 0.8658 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.7596, allocations: 3.938 kB / 0.8659 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.7598, allocations: 35.98 kB / 0.8659 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/0.76, allocations: 81.27 kB / 0.866 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/0.763, allocations: 1.051 MB / 0.867 GB, free: 12.72 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.01106/0.7742, allocations: 4.873 MB / 0.8717 GB, free: 7.551 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009045/0.7751, allocations: 281.5 kB / 0.872 GB, free: 7.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.7755, allocations: 132.7 kB / 0.8721 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/0.7758, allocations: 143 kB / 0.8723 GB, free: 6.977 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.7758, allocations: 46.56 kB / 0.8723 GB, free: 6.922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=27): time 3.627e-06/0.7758, allocations: 0 / 0.8723 GB, free: 6.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.01052/0.7864, allocations: 1.702 MB / 0.874 GB, free: 5.137 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.7865, allocations: 140.5 kB / 0.8741 GB, free: 4.969 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.7884, allocations: 0.9229 MB / 0.875 GB, free: 4.031 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.7885, allocations: 33.7 kB / 0.8751 GB, free: 3.992 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/0.7892, allocations: 0.5823 MB / 0.8756 GB, free: 3.402 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.7894, allocations: 130.4 kB / 0.8757 GB, free: 3.273 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/0.7895, allocations: 20 kB / 0.8758 GB, free: 3.254 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.7897, allocations: 402.7 kB / 0.8762 GB, free: 2.852 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008346/0.7906, allocations: 290.4 kB / 0.8764 GB, free: 2.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.792, allocations: 0.9184 MB / 0.8773 GB, free: 1.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.7933, allocations: 483.5 kB / 0.8778 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.7933, allocations: 11.94 kB / 0.8778 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003737/0.7971, allocations: 1.311 MB / 0.8791 GB, free: 15.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.7972, allocations: 16 kB / 0.8791 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-05/0.7972, allocations: 20 kB / 0.8791 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/0.7995, allocations: 275.6 kB / 0.8794 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.8009, allocations: 239.5 kB / 0.8796 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.8027, allocations: 0.895 MB / 0.8805 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.8042, allocations: 55.98 kB / 0.8805 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.8044, allocations: 100 kB / 0.8806 GB, free: 13.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (122): * Single equations (assignments): 121 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007924/0.8053, allocations: 349.4 kB / 0.881 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.8055, allocations: 94.92 kB / 0.881 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.807, allocations: 469.2 kB / 0.8815 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.807, allocations: 3.984 kB / 0.8815 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.8071, allocations: 0 / 0.8815 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.8076, allocations: 208 kB / 0.8817 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.8078, allocations: 8 kB / 0.8817 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/0.8086, allocations: 23.98 kB / 0.8817 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.311e-05/0.8087, allocations: 31.89 kB / 0.8818 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002563/0.8113, allocations: 0.519 MB / 0.8823 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001682/0.813, allocations: 0.7049 MB / 0.883 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004043/0.8135, allocations: 148 kB / 0.8831 GB, free: 11.33 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001379/0.8149, allocations: 0.6007 MB / 0.8837 GB, free: 10.71 MB / 474.7 MB Notification: Performance of Backend: time 7.91e-07/0.8149, allocations: 4 kB / 0.8837 GB, free: 10.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006534/0.8215, allocations: 1.305 MB / 0.885 GB, free: 9.418 MB / 474.7 MB Notification: Performance of SimCode: time 0.00679/0.8283, allocations: 2.638 MB / 0.8875 GB, free: 6.727 MB / 474.7 MB Notification: Performance of Templates: time 0.4235/1.252, allocations: 22.81 MB / 0.9098 GB, free: 166.2 MB / 474.7 MB