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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01284/0.01284, allocations: 175.4 kB / 15.12 MB, free: 5.93 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 1.983/1.983, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001983/0.001983, allocations: 116.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2525/0.2525, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000635/0.0006351, allocations: 11.12 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1024, allocations: 54.88 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.352/2.454, allocations: 0.8214 GB / 1.272 GB, free: 2.594 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004197/2.455, allocations: 98.84 kB / 1.272 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.802/6.257, allocations: 0.7106 GB / 1.982 GB, free: 39.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.388e-06/6.257, allocations: 0 / 1.982 GB, free: 39.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001017/6.257, allocations: 32.11 kB / 1.982 GB, free: 39.87 MB / 490.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.006998/6.264, allocations: 1.65 MB / 1.984 GB, free: 38.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/6.264, allocations: 12.03 kB / 1.984 GB, free: 38.16 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007341/6.265, allocations: 176.8 kB / 1.984 GB, free: 37.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/6.268, allocations: 310.3 kB / 1.985 GB, free: 37.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/6.271, allocations: 0.8295 MB / 1.985 GB, free: 36.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/6.271, allocations: 141.3 kB / 1.985 GB, free: 36.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/6.271, allocations: 111.9 kB / 1.986 GB, free: 36.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00451/6.276, allocations: 1.772 MB / 1.987 GB, free: 34.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-05/6.276, allocations: 7.938 kB / 1.987 GB, free: 34.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002672/6.276, allocations: 48 kB / 1.987 GB, free: 34.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/6.276, allocations: 77.97 kB / 1.987 GB, free: 34.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004346/6.281, allocations: 1.624 MB / 1.989 GB, free: 32.94 MB / 490.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.01332/6.294, allocations: 6.686 MB / 1.996 GB, free: 25.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/6.296, allocations: 0.6414 MB / 1.996 GB, free: 25.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003662/6.296, allocations: 245.6 kB / 1.996 GB, free: 24.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/6.296, allocations: 47 kB / 1.996 GB, free: 24.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 3.647e-06/6.296, allocations: 4 kB / 1.996 GB, free: 24.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.01678/6.313, allocations: 3.763 MB / 2 GB, free: 20.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/6.313, allocations: 111.4 kB / 2 GB, free: 20.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/6.315, allocations: 0.8636 MB / 2.001 GB, free: 19.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/6.315, allocations: 41.7 kB / 2.001 GB, free: 19.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/6.315, allocations: 0.5798 MB / 2.002 GB, free: 19.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/6.316, allocations: 240.6 kB / 2.002 GB, free: 19.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/6.316, allocations: 24 kB / 2.002 GB, free: 19.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/6.316, allocations: 357.8 kB / 2.002 GB, free: 18.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/6.317, allocations: 0.5296 MB / 2.003 GB, free: 18.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/6.319, allocations: 0.9051 MB / 2.004 GB, free: 17.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/6.32, allocations: 0.659 MB / 2.004 GB, free: 16.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/6.32, allocations: 4 kB / 2.004 GB, free: 16.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004803/6.325, allocations: 1.895 MB / 2.006 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/6.325, allocations: 19.94 kB / 2.006 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/6.325, allocations: 12 kB / 2.006 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008087/6.333, allocations: 1.284 MB / 2.007 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/6.335, allocations: 187.7 kB / 2.008 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/6.338, allocations: 1.728 MB / 2.009 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/6.34, allocations: 107.8 kB / 2.009 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/6.34, allocations: 99.95 kB / 2.01 GB, free: 11.05 MB / 490.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.0009173/6.341, allocations: 409.3 kB / 2.01 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/6.342, allocations: 102.8 kB / 2.01 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003211/6.345, allocations: 1.249 MB / 2.011 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/6.345, allocations: 8 kB / 2.011 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/6.345, allocations: 4 kB / 2.011 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/6.345, allocations: 3.984 kB / 2.011 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/6.35, allocations: 2.492 MB / 2.014 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/6.35, allocations: 8.016 kB / 2.014 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/6.354, allocations: 299.7 kB / 2.014 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/6.354, allocations: 72.72 kB / 2.014 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/6.354, allocations: 43.97 kB / 2.014 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/6.357, allocations: 2.84 MB / 2.017 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/6.357, allocations: 4.031 kB / 2.017 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003911/6.361, allocations: 1.688 MB / 2.019 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008381/6.361, allocations: 307.7 kB / 2.019 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/6.362, allocations: 32.17 kB / 2.019 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/6.363, allocations: 71.89 kB / 2.019 GB, free: 1.043 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/6.363, allocations: 52.58 kB / 2.019 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/6.364, allocations: 59.95 kB / 2.019 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001229/6.365, allocations: 0.6746 MB / 2.02 GB, free: 268 kB / 490.7 MB Notification: Performance of sort global known variables: time 4.3e-07/6.365, allocations: 192 / 2.02 GB, free: 268 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.002804/6.368, allocations: 0.6013 MB / 2.02 GB, free: 15.66 MB / 0.4948 GB 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.009419/6.377, allocations: 3.691 MB / 2.024 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004272/6.381, allocations: 1.387 MB / 2.025 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/6.381, allocations: 8.688 kB / 2.025 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/6.384, allocations: 0.7761 MB / 2.026 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/6.389, allocations: 0.5903 MB / 2.027 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3894/6.778, allocations: 16.44 MB / 2.043 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/6.78, allocations: 1.195 MB / 2.044 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003193/6.783, allocations: 454.2 kB / 2.044 GB, free: 84.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/6.784, allocations: 446.5 kB / 2.045 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/6.784, allocations: 0 / 2.045 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/6.948, allocations: 56.46 MB / 2.1 GB, free: 83.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/6.948, allocations: 282.5 kB / 2.1 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.037/11.98, allocations: 3.953 kB / 2.1 GB, free: 83.08 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat