Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001305, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.2 MB / 245 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 105.4 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.468/0.468, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004043, allocations: 4 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5704, allocations: 63.25 MB / 0.5193 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.999/2.57, allocations: 0.7941 GB / 1.313 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/2.57, allocations: 105.1 kB / 1.313 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.875/5.445, allocations: 0.7306 GB / 2.044 GB, free: 84.08 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.845e-06/5.445, allocations: 0 / 2.044 GB, free: 84.08 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001279/5.445, allocations: 22.06 kB / 2.044 GB, free: 84.08 MB / 0.5417 GB 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.005911/5.451, allocations: 1.506 MB / 2.046 GB, free: 83.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/5.451, allocations: 13.41 kB / 2.046 GB, free: 83.4 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005694/5.452, allocations: 136 kB / 2.046 GB, free: 83.36 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/5.454, allocations: 280.8 kB / 2.046 GB, free: 83.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/5.456, allocations: 0.6621 MB / 2.047 GB, free: 83.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/5.456, allocations: 117 kB / 2.047 GB, free: 83 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/5.456, allocations: 64.69 kB / 2.047 GB, free: 83 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/5.458, allocations: 1.247 MB / 2.048 GB, free: 82.75 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/5.458, allocations: 3.469 kB / 2.048 GB, free: 82.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/5.458, allocations: 37.98 kB / 2.048 GB, free: 82.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.798e-05/5.458, allocations: 65.97 kB / 2.048 GB, free: 82.75 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/5.46, allocations: 1.038 MB / 2.049 GB, free: 82.73 MB / 0.5417 GB 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.005827/5.466, allocations: 4.834 MB / 2.054 GB, free: 79.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/5.466, allocations: 269.8 kB / 2.054 GB, free: 79.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/5.466, allocations: 277 kB / 2.054 GB, free: 79.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/5.466, allocations: 40.73 kB / 2.054 GB, free: 79.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/5.466, allocations: 0 / 2.054 GB, free: 79.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.005806/5.472, allocations: 1.719 MB / 2.056 GB, free: 78.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/5.472, allocations: 132 kB / 2.056 GB, free: 78.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/5.473, allocations: 0.8262 MB / 2.057 GB, free: 78.61 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/5.473, allocations: 34.83 kB / 2.057 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/5.474, allocations: 0.5668 MB / 2.058 GB, free: 78.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/5.474, allocations: 130.3 kB / 2.058 GB, free: 78.19 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/5.474, allocations: 20.88 kB / 2.058 GB, free: 78.19 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001226/5.474, allocations: 399.1 kB / 2.058 GB, free: 77.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/5.474, allocations: 269 kB / 2.058 GB, free: 77.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/5.475, allocations: 0.862 MB / 2.059 GB, free: 77.12 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/5.476, allocations: 451.5 kB / 2.06 GB, free: 77.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/5.476, allocations: 6.062 kB / 2.06 GB, free: 77.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001679/5.477, allocations: 1.226 MB / 2.061 GB, free: 76.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/5.477, allocations: 15.44 kB / 2.061 GB, free: 76.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/5.477, allocations: 24.5 kB / 2.061 GB, free: 76.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/5.479, allocations: 292.8 kB / 2.061 GB, free: 76.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/5.479, allocations: 204.7 kB / 2.061 GB, free: 76.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/5.48, allocations: 0.9097 MB / 2.062 GB, free: 76.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/5.481, allocations: 66.62 kB / 2.062 GB, free: 76.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.737e-05/5.481, allocations: 77.22 kB / 2.062 GB, free: 76.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005105/5.482, allocations: 343.9 kB / 2.063 GB, free: 76.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/5.482, allocations: 89.69 kB / 2.063 GB, free: 76.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009676/5.483, allocations: 0.5115 MB / 2.063 GB, free: 76.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/5.483, allocations: 6.688 kB / 2.063 GB, free: 76.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/5.483, allocations: 0 / 2.063 GB, free: 76.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/5.483, allocations: 0 / 2.063 GB, free: 76.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/5.485, allocations: 1.122 MB / 2.064 GB, free: 75.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/5.485, allocations: 0 / 2.064 GB, free: 75.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009542/5.486, allocations: 188 kB / 2.065 GB, free: 75.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.781e-05/5.486, allocations: 25.52 kB / 2.065 GB, free: 75.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/5.486, allocations: 13.73 kB / 2.065 GB, free: 75.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/5.487, allocations: 2.678 MB / 2.067 GB, free: 73.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/5.488, allocations: 3.938 kB / 2.067 GB, free: 73.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/5.488, allocations: 0.7082 MB / 2.068 GB, free: 72.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/5.489, allocations: 205.8 kB / 2.068 GB, free: 72.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/5.489, allocations: 6.156 kB / 2.068 GB, free: 72.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/5.489, allocations: 33.28 kB / 2.068 GB, free: 72.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/5.49, allocations: 28.72 kB / 2.068 GB, free: 72.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/5.49, allocations: 22.77 kB / 2.068 GB, free: 72.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007083/5.49, allocations: 0.6133 MB / 2.069 GB, free: 72.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/5.49, allocations: 0 / 2.069 GB, free: 72.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002235/5.493, allocations: 483.9 kB / 2.069 GB, free: 72.59 MB / 0.5417 GB 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 (33): * Single equations (assignments): 31 * 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.003988/5.497, allocations: 2.515 MB / 2.072 GB, free: 71.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001232/5.498, allocations: 0.6611 MB / 2.072 GB, free: 71.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/5.498, allocations: 3.156 kB / 2.072 GB, free: 71.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007938/5.499, allocations: 356.7 kB / 2.073 GB, free: 71.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/5.5, allocations: 412.8 kB / 2.073 GB, free: 71.42 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009499/5.51, allocations: 19.04 MB / 2.092 GB, free: 55.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/5.51, allocations: 1.044 MB / 2.093 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001241/5.512, allocations: 380.2 kB / 2.093 GB, free: 55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/5.512, allocations: 320 kB / 2.093 GB, free: 54.99 MB / 0.5417 GB Notification: Performance of SimCode: time 1.603e-06/5.512, allocations: 3.094 kB / 2.093 GB, free: 54.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0607/5.573, allocations: 42.79 MB / 2.135 GB, free: 36.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/5.573, allocations: 306.3 kB / 2.135 GB, free: 35.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.818/9.391, allocations: 1.688 kB / 2.135 GB, free: 35.99 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat