Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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.01005/0.01005, 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.792/1.792, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001993/0.001993, allocations: 99.41 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.4526/0.4526, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004679, allocations: 8 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.516/2.629, allocations: 0.8079 GB / 1.21 GB, free: 50.33 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/2.63, allocations: 95.06 kB / 1.21 GB, free: 50.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.142/6.771, allocations: 0.7316 GB / 1.942 GB, free: 54.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.936e-06/6.771, allocations: 2.406 kB / 1.942 GB, free: 54.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001263/6.772, allocations: 22.72 kB / 1.942 GB, free: 54.44 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.007433/6.779, allocations: 1.475 MB / 1.943 GB, free: 54.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/6.779, allocations: 8.531 kB / 1.943 GB, free: 54.01 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005627/6.78, allocations: 132.7 kB / 1.943 GB, free: 53.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/6.783, allocations: 279.3 kB / 1.944 GB, free: 53.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/6.786, allocations: 0.6895 MB / 1.944 GB, free: 53.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/6.786, allocations: 115.2 kB / 1.944 GB, free: 53.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/6.787, allocations: 67.11 kB / 1.944 GB, free: 53.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004751/6.791, allocations: 1.232 MB / 1.946 GB, free: 53.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/6.791, allocations: 1.094 kB / 1.946 GB, free: 53.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/6.792, allocations: 36.62 kB / 1.946 GB, free: 53.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/6.792, allocations: 69.61 kB / 1.946 GB, free: 53.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003939/6.796, allocations: 1.028 MB / 1.947 GB, free: 53.39 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.009379/6.805, allocations: 4.475 MB / 1.951 GB, free: 50.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/6.806, allocations: 267 kB / 1.951 GB, free: 50.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-05/6.806, allocations: 12.75 kB / 1.951 GB, free: 50.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/6.806, allocations: 40.86 kB / 1.951 GB, free: 50.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.655e-06/6.806, allocations: 0 / 1.951 GB, free: 50.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.00914/6.815, allocations: 1.674 MB / 1.953 GB, free: 50.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/6.815, allocations: 134.9 kB / 1.953 GB, free: 50.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/6.817, allocations: 0.8133 MB / 1.954 GB, free: 49.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/6.817, allocations: 38.38 kB / 1.954 GB, free: 49.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/6.817, allocations: 0.5794 MB / 1.955 GB, free: 49.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/6.818, allocations: 126.8 kB / 1.955 GB, free: 49.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/6.818, allocations: 26.62 kB / 1.955 GB, free: 49.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/6.818, allocations: 395 kB / 1.955 GB, free: 49.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007049/6.819, allocations: 281.6 kB / 1.955 GB, free: 49.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009686/6.82, allocations: 0.9074 MB / 1.956 GB, free: 48.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/6.821, allocations: 474.6 kB / 1.957 GB, free: 48.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/6.821, allocations: 10.86 kB / 1.957 GB, free: 48.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00293/6.824, allocations: 1.264 MB / 1.958 GB, free: 48.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/6.824, allocations: 17.42 kB / 1.958 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/6.824, allocations: 21.72 kB / 1.958 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/6.826, allocations: 281.1 kB / 1.958 GB, free: 48.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/6.827, allocations: 225.8 kB / 1.958 GB, free: 48.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/6.828, allocations: 0.884 MB / 1.959 GB, free: 47.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/6.83, allocations: 71.34 kB / 1.959 GB, free: 47.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/6.83, allocations: 76.61 kB / 1.959 GB, free: 47.84 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.0007262/6.831, allocations: 348 kB / 1.96 GB, free: 47.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/6.831, allocations: 90.41 kB / 1.96 GB, free: 47.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/6.832, allocations: 462.1 kB / 1.96 GB, free: 47.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/6.833, allocations: 5.719 kB / 1.96 GB, free: 47.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/6.833, allocations: 3.953 kB / 1.96 GB, free: 47.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/6.833, allocations: 5.703 kB / 1.96 GB, free: 47.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/6.835, allocations: 1.096 MB / 1.961 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/6.835, allocations: 3.062 kB / 1.961 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/6.837, allocations: 176.2 kB / 1.962 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/6.837, allocations: 30.33 kB / 1.962 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/6.837, allocations: 6.938 kB / 1.962 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/6.839, allocations: 2.687 MB / 1.964 GB, free: 44.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/6.84, allocations: 0 / 1.964 GB, free: 44.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/6.841, allocations: 0.6772 MB / 1.965 GB, free: 44.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/6.842, allocations: 194.4 kB / 1.965 GB, free: 44.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/6.842, allocations: 8.484 kB / 1.965 GB, free: 44.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/6.843, allocations: 28.59 kB / 1.965 GB, free: 44.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/6.843, allocations: 28.5 kB / 1.965 GB, free: 44.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/6.843, allocations: 18.81 kB / 1.965 GB, free: 44.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001215/6.844, allocations: 0.6016 MB / 1.966 GB, free: 44.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/6.844, allocations: 0 / 1.966 GB, free: 44.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002851/6.847, allocations: 0.5245 MB / 1.966 GB, free: 44.25 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.006095/6.853, allocations: 2.591 MB / 1.969 GB, free: 43.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002131/6.856, allocations: 0.6918 MB / 1.969 GB, free: 43.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/6.856, allocations: 0 / 1.969 GB, free: 43.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/6.857, allocations: 348.1 kB / 1.97 GB, free: 43.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/6.86, allocations: 385.9 kB / 1.97 GB, free: 43.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/6.879, allocations: 20.42 MB / 1.99 GB, free: 26.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004017/6.883, allocations: 1.053 MB / 1.991 GB, free: 41.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002648/6.886, allocations: 320.3 kB / 1.991 GB, free: 41.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008543/6.886, allocations: 313.3 kB / 1.992 GB, free: 41.51 MB / 458.7 MB Notification: Performance of SimCode: time 1.232e-06/6.886, allocations: 0 / 1.992 GB, free: 41.51 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.142/7.028, allocations: 43.39 MB / 2.034 GB, free: 40.29 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/7.029, allocations: 300.1 kB / 2.034 GB, free: 39.94 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.452/11.48, allocations: 0 / 2.034 GB, free: 39.94 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat