Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01011/0.01011, allocations: 165.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.879/1.879, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001924/0.001924, allocations: 114.9 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4579/0.4579, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005169, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1155, allocations: 48.7 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.648/2.763, allocations: 0.8071 GB / 1.209 GB, free: 50.74 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/2.764, allocations: 99.44 kB / 1.209 GB, free: 50.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.729/6.493, allocations: 0.7071 GB / 1.916 GB, free: 23.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.866e-06/6.493, allocations: 0 / 1.916 GB, free: 23.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.782e-05/6.493, allocations: 27.98 kB / 1.916 GB, free: 23.27 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006641/6.5, allocations: 1.663 MB / 1.918 GB, free: 21.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/6.5, allocations: 12.03 kB / 1.918 GB, free: 21.55 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006552/6.501, allocations: 176.9 kB / 1.918 GB, free: 21.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/6.503, allocations: 310.1 kB / 1.918 GB, free: 21.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/6.506, allocations: 0.8296 MB / 1.919 GB, free: 20.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/6.506, allocations: 133.4 kB / 1.919 GB, free: 20.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/6.506, allocations: 115.9 kB / 1.919 GB, free: 19.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/6.511, allocations: 1.768 MB / 1.921 GB, free: 18.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.214e-05/6.511, allocations: 0 / 1.921 GB, free: 18.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/6.511, allocations: 51.98 kB / 1.921 GB, free: 18.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/6.511, allocations: 85.89 kB / 1.921 GB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004268/6.516, allocations: 1.628 MB / 1.923 GB, free: 16.33 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.01268/6.528, allocations: 5.886 MB / 1.929 GB, free: 10.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/6.53, allocations: 0.6318 MB / 1.929 GB, free: 9.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/6.53, allocations: 20.42 kB / 1.929 GB, free: 9.473 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/6.53, allocations: 47 kB / 1.929 GB, free: 9.418 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.156e-06/6.53, allocations: 0 / 1.929 GB, free: 9.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01644/6.547, allocations: 3.726 MB / 1.933 GB, free: 5.602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/6.547, allocations: 111.4 kB / 1.933 GB, free: 5.469 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/6.549, allocations: 0.8558 MB / 1.934 GB, free: 4.605 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/6.549, allocations: 41.7 kB / 1.934 GB, free: 4.559 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/6.549, allocations: 0.5566 MB / 1.935 GB, free: 3.992 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/6.549, allocations: 248.5 kB / 1.935 GB, free: 3.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/6.55, allocations: 24 kB / 1.935 GB, free: 3.723 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/6.55, allocations: 349.9 kB / 1.935 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/6.551, allocations: 0.5179 MB / 1.936 GB, free: 2.855 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/6.552, allocations: 0.9012 MB / 1.937 GB, free: 1.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/6.554, allocations: 0.6531 MB / 1.937 GB, free: 1.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/6.554, allocations: 4 kB / 1.937 GB, free: 1.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004983/6.559, allocations: 1.877 MB / 1.939 GB, free: 15.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/6.559, allocations: 12 kB / 1.939 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/6.559, allocations: 15.95 kB / 1.939 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008743/6.568, allocations: 1.284 MB / 1.94 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/6.569, allocations: 175.7 kB / 1.94 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004369/6.574, allocations: 1.72 MB / 1.942 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/6.576, allocations: 115.8 kB / 1.942 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/6.576, allocations: 71.98 kB / 1.942 GB, free: 11.82 MB / 458.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.001108/6.577, allocations: 410.3 kB / 1.943 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/6.577, allocations: 102.9 kB / 1.943 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/6.581, allocations: 1.246 MB / 1.944 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/6.581, allocations: 8 kB / 1.944 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/6.581, allocations: 4 kB / 1.944 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/6.581, allocations: 3.984 kB / 1.944 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007343/6.589, allocations: 2.479 MB / 1.946 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/6.589, allocations: 4.031 kB / 1.946 GB, free: 7.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003558/6.592, allocations: 315.6 kB / 1.947 GB, free: 7.188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003405/6.593, allocations: 72.69 kB / 1.947 GB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/6.593, allocations: 31.98 kB / 1.947 GB, free: 7.082 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/6.596, allocations: 2.856 MB / 1.95 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/6.596, allocations: 0 / 1.95 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004702/6.601, allocations: 1.686 MB / 1.951 GB, free: 2.242 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/6.602, allocations: 303.8 kB / 1.952 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/6.603, allocations: 32.17 kB / 1.952 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/6.604, allocations: 71.88 kB / 1.952 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/6.605, allocations: 52.77 kB / 1.952 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/6.605, allocations: 59.95 kB / 1.952 GB, free: 1.715 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001565/6.606, allocations: 0.6668 MB / 1.952 GB, free: 1.051 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.01e-07/6.607, allocations: 0 / 1.952 GB, free: 1.051 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003233/6.61, allocations: 0.6013 MB / 1.953 GB, free: 460 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (71): * Single equations (assignments): 69 * 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.3472/6.957, allocations: 3.716 MB / 1.957 GB, free: 64.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005713/6.963, allocations: 1.374 MB / 1.958 GB, free: 64.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/6.963, allocations: 3.531 kB / 1.958 GB, free: 64.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003786/6.967, allocations: 0.7863 MB / 1.959 GB, free: 64.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006671/6.973, allocations: 0.5964 MB / 1.959 GB, free: 64.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02937/7.003, allocations: 16.46 MB / 1.975 GB, free: 54.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/7.004, allocations: 1.198 MB / 1.977 GB, free: 53.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00322/7.007, allocations: 391.6 kB / 1.977 GB, free: 53.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/7.009, allocations: 426.8 kB / 1.977 GB, free: 53.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/7.009, allocations: 0 / 1.977 GB, free: 53.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/7.18, allocations: 56.25 MB / 2.032 GB, free: 51.74 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/7.18, allocations: 285.8 kB / 2.033 GB, free: 51.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.881/12.06, allocations: 0 / 2.033 GB, free: 51.38 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat