Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001452, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 103.9 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4628/0.4628, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003495, allocations: 4 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5503, allocations: 63.24 MB / 0.5193 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.994/2.544, allocations: 0.7932 GB / 1.312 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/2.544, allocations: 99.11 kB / 1.313 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.851/5.395, allocations: 0.7074 GB / 2.02 GB, free: 74.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.503e-06/5.395, allocations: 1.312 kB / 2.02 GB, free: 74.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.528e-05/5.395, allocations: 25.69 kB / 2.02 GB, free: 74.73 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005451/5.401, allocations: 1.683 MB / 2.022 GB, free: 74.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/5.401, allocations: 8.5 kB / 2.022 GB, free: 74.09 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003361/5.401, allocations: 182 kB / 2.022 GB, free: 74.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/5.403, allocations: 304.3 kB / 2.022 GB, free: 73.99 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/5.405, allocations: 0.8084 MB / 2.023 GB, free: 73.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/5.405, allocations: 151.5 kB / 2.023 GB, free: 73.69 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/5.405, allocations: 106.9 kB / 2.023 GB, free: 73.69 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/5.409, allocations: 1.789 MB / 2.025 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/5.409, allocations: 3.812 kB / 2.025 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/5.409, allocations: 49.44 kB / 2.025 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/5.409, allocations: 77.88 kB / 2.025 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/5.412, allocations: 1.637 MB / 2.027 GB, free: 73.46 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.009168/5.421, allocations: 6.872 MB / 2.033 GB, free: 70 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/5.422, allocations: 0.8018 MB / 2.034 GB, free: 69.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/5.422, allocations: 277.9 kB / 2.034 GB, free: 69.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/5.422, allocations: 48.64 kB / 2.034 GB, free: 69.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 3.687e-06/5.422, allocations: 0 / 2.034 GB, free: 69.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.01052/5.433, allocations: 4.12 MB / 2.038 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/5.433, allocations: 111.8 kB / 2.039 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/5.434, allocations: 0.9855 MB / 2.04 GB, free: 68.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/5.435, allocations: 45.02 kB / 2.04 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/5.435, allocations: 0.5179 MB / 2.04 GB, free: 68.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/5.435, allocations: 268.7 kB / 2.04 GB, free: 68.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/5.435, allocations: 21.53 kB / 2.04 GB, free: 68.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.583e-05/5.435, allocations: 349.6 kB / 2.041 GB, free: 68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008011/5.436, allocations: 0.5715 MB / 2.041 GB, free: 68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/5.437, allocations: 0.8597 MB / 2.042 GB, free: 67.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/5.438, allocations: 0.6847 MB / 2.043 GB, free: 67.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/5.438, allocations: 0 / 2.043 GB, free: 67.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002816/5.441, allocations: 1.99 MB / 2.045 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/5.441, allocations: 9.594 kB / 2.045 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/5.441, allocations: 6.719 kB / 2.045 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/5.446, allocations: 1.413 MB / 2.046 GB, free: 67.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/5.446, allocations: 137.5 kB / 2.046 GB, free: 67.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/5.449, allocations: 1.925 MB / 2.048 GB, free: 66.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/5.45, allocations: 113.9 kB / 2.048 GB, free: 66.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/5.45, allocations: 66.89 kB / 2.048 GB, free: 66.98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 35} Notification: Performance of prepare postOptimizeDAE: time 0.0007993/5.451, allocations: 404.6 kB / 2.049 GB, free: 66.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/5.451, allocations: 112.6 kB / 2.049 GB, free: 66.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/5.453, allocations: 1.489 MB / 2.05 GB, free: 66.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/5.454, allocations: 6.406 kB / 2.05 GB, free: 66.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/5.454, allocations: 0 / 2.05 GB, free: 66.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/5.454, allocations: 11.67 kB / 2.05 GB, free: 66.72 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/5.458, allocations: 2.691 MB / 2.053 GB, free: 66.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/5.458, allocations: 0 / 2.053 GB, free: 66.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/5.459, allocations: 328.5 kB / 2.053 GB, free: 66.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/5.459, allocations: 69.33 kB / 2.053 GB, free: 66.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/5.46, allocations: 37.55 kB / 2.053 GB, free: 66.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/5.461, allocations: 2.859 MB / 2.056 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/5.461, allocations: 0 / 2.056 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/5.464, allocations: 1.889 MB / 2.058 GB, free: 63.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009061/5.465, allocations: 349.9 kB / 2.058 GB, free: 63.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/5.465, allocations: 27.17 kB / 2.058 GB, free: 63.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009695/5.466, allocations: 83.97 kB / 2.058 GB, free: 63.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/5.466, allocations: 57.25 kB / 2.058 GB, free: 63.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/5.466, allocations: 67.81 kB / 2.058 GB, free: 63.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001045/5.467, allocations: 0.784 MB / 2.059 GB, free: 63.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/5.467, allocations: 0 / 2.059 GB, free: 63.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002242/5.469, allocations: 0.5739 MB / 2.06 GB, free: 63.25 MB / 0.5417 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 (78): * Single equations (assignments): 76 * 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.005844/5.475, allocations: 3.826 MB / 2.064 GB, free: 62.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002573/5.478, allocations: 1.447 MB / 2.065 GB, free: 62.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/5.478, allocations: 7 kB / 2.065 GB, free: 62.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/5.479, allocations: 0.8456 MB / 2.066 GB, free: 62.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/5.483, allocations: 0.7207 MB / 2.066 GB, free: 62.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/5.498, allocations: 14.72 MB / 2.081 GB, free: 54.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/5.499, allocations: 1.197 MB / 2.082 GB, free: 53.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001842/5.501, allocations: 484.9 kB / 2.082 GB, free: 53.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006802/5.502, allocations: 453.7 kB / 2.083 GB, free: 53.58 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/5.502, allocations: 0 / 2.083 GB, free: 53.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09454/5.596, allocations: 60.96 MB / 2.142 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/5.597, allocations: 284.2 kB / 2.143 GB, free: 25.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.464/10.06, allocations: 0 / 2.143 GB, free: 25.56 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat