Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 184.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009421/0.0009419, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2552/0.2552, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.153/2.321, allocations: 0.8262 GB / 1.305 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/2.321, allocations: 93.89 kB / 1.305 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.603/4.924, allocations: 0.712 GB / 2.017 GB, free: 85.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/4.924, allocations: 0 / 2.017 GB, free: 85.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.737e-05/4.924, allocations: 28.81 kB / 2.017 GB, free: 85.79 MB / 0.5105 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.006641/4.931, allocations: 1.656 MB / 2.019 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.905e-05/4.931, allocations: 14.08 kB / 2.019 GB, free: 84.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004651/4.932, allocations: 173.8 kB / 2.019 GB, free: 84.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/4.933, allocations: 314.2 kB / 2.019 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/4.935, allocations: 0.8045 MB / 2.02 GB, free: 84.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/4.935, allocations: 140.6 kB / 2.02 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/4.935, allocations: 108.5 kB / 2.02 GB, free: 84.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/4.938, allocations: 1.791 MB / 2.022 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/4.938, allocations: 6.344 kB / 2.022 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/4.938, allocations: 51.5 kB / 2.022 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-05/4.938, allocations: 83.84 kB / 2.022 GB, free: 83.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/4.941, allocations: 1.629 MB / 2.024 GB, free: 83.01 MB / 0.5105 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.01194/4.953, allocations: 6.864 MB / 2.03 GB, free: 78.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/4.954, allocations: 0.8132 MB / 2.031 GB, free: 77.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/4.955, allocations: 254.6 kB / 2.032 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/4.955, allocations: 43.36 kB / 2.032 GB, free: 77.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.347e-06/4.955, allocations: 0 / 2.032 GB, free: 77.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.01431/4.969, allocations: 4.101 MB / 2.036 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/4.969, allocations: 111.5 kB / 2.036 GB, free: 72.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/4.971, allocations: 1.003 MB / 2.037 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/4.972, allocations: 45.7 kB / 2.037 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/4.972, allocations: 0.5179 MB / 2.037 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/4.972, allocations: 263.4 kB / 2.037 GB, free: 71.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/4.973, allocations: 20 kB / 2.037 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001115/4.973, allocations: 353 kB / 2.038 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/4.974, allocations: 0.5719 MB / 2.038 GB, free: 70.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/4.975, allocations: 0.8665 MB / 2.039 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/4.977, allocations: 0.685 MB / 2.04 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/4.977, allocations: 4 kB / 2.04 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004203/4.981, allocations: 1.983 MB / 2.042 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/4.981, allocations: 8 kB / 2.042 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/4.981, allocations: 11.16 kB / 2.042 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005047/4.986, allocations: 1.363 MB / 2.043 GB, free: 65.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/4.987, allocations: 139.8 kB / 2.043 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003706/4.991, allocations: 1.931 MB / 2.045 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/4.993, allocations: 114.4 kB / 2.045 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/4.993, allocations: 63.98 kB / 2.045 GB, free: 62.93 MB / 0.5105 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.001087/4.994, allocations: 397.4 kB / 2.046 GB, free: 62.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/4.995, allocations: 110.8 kB / 2.046 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/4.998, allocations: 1.383 MB / 2.047 GB, free: 61.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/4.998, allocations: 11.95 kB / 2.047 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/4.998, allocations: 0 / 2.047 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/4.998, allocations: 3.984 kB / 2.047 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00629/5.004, allocations: 2.686 MB / 2.05 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/5.004, allocations: 0 / 2.05 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/5.007, allocations: 335.2 kB / 2.05 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/5.007, allocations: 64.8 kB / 2.05 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/5.007, allocations: 42.91 kB / 2.05 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/5.01, allocations: 2.85 MB / 2.053 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/5.01, allocations: 0 / 2.053 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/5.014, allocations: 1.893 MB / 2.055 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/5.015, allocations: 343.7 kB / 2.055 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000498/5.016, allocations: 27.98 kB / 2.055 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/5.017, allocations: 85.8 kB / 2.055 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/5.017, allocations: 52.58 kB / 2.055 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/5.017, allocations: 73.19 kB / 2.055 GB, free: 52.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001251/5.019, allocations: 0.7852 MB / 2.056 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/5.019, allocations: 1.203 kB / 2.056 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003055/5.022, allocations: 0.6311 MB / 2.057 GB, free: 50.84 MB / 0.5105 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.007361/5.029, allocations: 3.919 MB / 2.061 GB, free: 47.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002832/5.032, allocations: 1.46 MB / 2.062 GB, free: 45.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/5.032, allocations: 8.656 kB / 2.062 GB, free: 45.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/5.034, allocations: 0.839 MB / 2.063 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/5.038, allocations: 0.7178 MB / 2.064 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/5.056, allocations: 14.76 MB / 2.078 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008443/5.057, allocations: 1.199 MB / 2.079 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001774/5.059, allocations: 401 kB / 2.08 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007963/5.06, allocations: 443.3 kB / 2.08 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of SimCode: time 3.677e-06/5.06, allocations: 0 / 2.08 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4512/5.511, allocations: 62.16 MB / 2.141 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/5.511, allocations: 288.2 kB / 2.141 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.22/9.731, allocations: 0 / 2.141 GB, free: 102.4 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat