Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006342/0.006342, allocations: 164.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.48/1.48, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001859/0.001859, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4162/0.4162, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.000398, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.265/2.394, allocations: 0.8079 GB / 1.21 GB, free: 64.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/2.394, allocations: 96.16 kB / 1.21 GB, free: 64.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615/5.01, allocations: 0.7316 GB / 1.942 GB, free: 7.324 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.868e-06/5.01, allocations: 4 kB / 1.942 GB, free: 7.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.472e-05/5.01, allocations: 20.22 kB / 1.942 GB, free: 7.301 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.004763/5.015, allocations: 1.468 MB / 1.943 GB, free: 5.785 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/5.015, allocations: 8.031 kB / 1.943 GB, free: 5.777 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/5.016, allocations: 278.6 kB / 1.943 GB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/5.018, allocations: 0.6815 MB / 1.944 GB, free: 4.781 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/5.018, allocations: 125.3 kB / 1.944 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/5.018, allocations: 64 kB / 1.944 GB, free: 4.586 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/5.02, allocations: 1.23 MB / 1.945 GB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/5.02, allocations: 0 / 1.945 GB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/5.02, allocations: 35.98 kB / 1.945 GB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.921e-05/5.02, allocations: 77.2 kB / 1.945 GB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/5.021, allocations: 1.028 MB / 1.946 GB, free: 2.137 MB / 442.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.3316/5.353, allocations: 4.466 MB / 1.951 GB, free: 48.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/5.354, allocations: 257.2 kB / 1.951 GB, free: 48.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/5.354, allocations: 24.02 kB / 1.951 GB, free: 48.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/5.354, allocations: 37.11 kB / 1.951 GB, free: 48.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 4.869e-06/5.354, allocations: 0 / 1.951 GB, free: 48.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.006819/5.361, allocations: 1.68 MB / 1.953 GB, free: 48.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/5.361, allocations: 134.3 kB / 1.953 GB, free: 48.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/5.363, allocations: 0.8104 MB / 1.954 GB, free: 48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/5.363, allocations: 37.41 kB / 1.954 GB, free: 47.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005949/5.363, allocations: 0.578 MB / 1.954 GB, free: 47.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/5.363, allocations: 136.3 kB / 1.954 GB, free: 47.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/5.364, allocations: 20.78 kB / 1.954 GB, free: 47.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/5.364, allocations: 395.2 kB / 1.955 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/5.364, allocations: 277.4 kB / 1.955 GB, free: 47.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/5.365, allocations: 0.9114 MB / 1.956 GB, free: 46.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/5.366, allocations: 475.3 kB / 1.956 GB, free: 46.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/5.366, allocations: 8.719 kB / 1.956 GB, free: 46.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002414/5.369, allocations: 1.266 MB / 1.958 GB, free: 46.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/5.369, allocations: 14.94 kB / 1.958 GB, free: 46.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.283e-05/5.369, allocations: 24.31 kB / 1.958 GB, free: 46.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/5.37, allocations: 283.7 kB / 1.958 GB, free: 46.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/5.371, allocations: 225.1 kB / 1.958 GB, free: 46.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009072/5.372, allocations: 0.8877 MB / 1.959 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/5.373, allocations: 64.02 kB / 1.959 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/5.373, allocations: 77.62 kB / 1.959 GB, free: 45.88 MB / 442.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.0005759/5.374, allocations: 345.2 kB / 1.96 GB, free: 45.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/5.374, allocations: 91.5 kB / 1.96 GB, free: 45.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008557/5.375, allocations: 462.8 kB / 1.96 GB, free: 45.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/5.375, allocations: 5.688 kB / 1.96 GB, free: 45.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/5.375, allocations: 0 / 1.96 GB, free: 45.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/5.375, allocations: 3.844 kB / 1.96 GB, free: 45.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/5.376, allocations: 1.09 MB / 1.961 GB, free: 45.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/5.377, allocations: 2.812 kB / 1.961 GB, free: 45.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009289/5.377, allocations: 179.8 kB / 1.961 GB, free: 45.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.631e-05/5.378, allocations: 28.06 kB / 1.961 GB, free: 45.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/5.378, allocations: 5.406 kB / 1.961 GB, free: 45.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/5.379, allocations: 2.681 MB / 1.964 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/5.379, allocations: 7.344 kB / 1.964 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009651/5.38, allocations: 0.6836 MB / 1.965 GB, free: 42.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/5.381, allocations: 194.4 kB / 1.965 GB, free: 42.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/5.381, allocations: 20.34 kB / 1.965 GB, free: 42.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/5.381, allocations: 23.3 kB / 1.965 GB, free: 42.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/5.381, allocations: 21.16 kB / 1.965 GB, free: 42.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/5.381, allocations: 17.78 kB / 1.965 GB, free: 42.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009099/5.382, allocations: 0.5989 MB / 1.965 GB, free: 42.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/5.382, allocations: 2.531 kB / 1.965 GB, free: 42.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003651/5.386, allocations: 0.5249 MB / 1.966 GB, free: 42.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003703/5.39, allocations: 1.407 MB / 1.967 GB, free: 42.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001804/5.391, allocations: 0.6815 MB / 1.968 GB, free: 42.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/5.391, allocations: 2.938 kB / 1.968 GB, free: 42.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008389/5.392, allocations: 354.5 kB / 1.968 GB, free: 41.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/5.394, allocations: 382.8 kB / 1.969 GB, free: 41.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/5.397, allocations: 1.935 MB / 1.971 GB, free: 41.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/5.398, allocations: 1.044 MB / 1.972 GB, free: 40.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001118/5.399, allocations: 320.8 kB / 1.972 GB, free: 40.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/5.399, allocations: 81.02 kB / 1.972 GB, free: 40.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/5.399, allocations: 0 / 1.972 GB, free: 40.49 MB / 442.7 MB Notification: Performance of Templates: time 0.06022/5.459, allocations: 31.35 MB / 2.003 GB, free: 39.94 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)