Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.881/1.881, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001147/0.001147, allocations: 90.88 kB / 270.2 MB, free: 13.37 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.2658/0.2658, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1598, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.363/2.523, allocations: 0.827 GB / 1.306 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/2.524, allocations: 97.89 kB / 1.306 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.465/4.989, allocations: 0.7367 GB / 2.043 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/4.989, allocations: 3.938 kB / 2.043 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001416/4.989, allocations: 20 kB / 2.043 GB, free: 33 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006857/4.996, allocations: 1.461 MB / 2.044 GB, free: 31.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/4.996, allocations: 8.031 kB / 2.044 GB, free: 31.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008064/4.997, allocations: 134.7 kB / 2.044 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/4.999, allocations: 278.6 kB / 2.045 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/5.002, allocations: 0.6697 MB / 2.045 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/5.002, allocations: 117.4 kB / 2.045 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/5.002, allocations: 71.94 kB / 2.045 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/5.005, allocations: 1.243 MB / 2.047 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/5.005, allocations: 0 / 2.047 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/5.005, allocations: 43.97 kB / 2.047 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-05/5.005, allocations: 69.2 kB / 2.047 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/5.007, allocations: 1.032 MB / 2.048 GB, free: 27.7 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.006912/5.014, allocations: 4.834 MB / 2.052 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/5.014, allocations: 271.4 kB / 2.053 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/5.015, allocations: 243.7 kB / 2.053 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/5.015, allocations: 46.75 kB / 2.053 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.996e-06/5.015, allocations: 0 / 2.053 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.006307/5.021, allocations: 1.72 MB / 2.055 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/5.021, allocations: 136.5 kB / 2.055 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/5.022, allocations: 0.8248 MB / 2.056 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/5.023, allocations: 33.7 kB / 2.056 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/5.023, allocations: 0.5672 MB / 2.056 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/5.023, allocations: 130.3 kB / 2.056 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/5.023, allocations: 20 kB / 2.056 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001426/5.023, allocations: 398.7 kB / 2.057 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/5.024, allocations: 278.4 kB / 2.057 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/5.024, allocations: 0.849 MB / 2.058 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/5.025, allocations: 455.4 kB / 2.058 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/5.025, allocations: 4 kB / 2.058 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001886/5.027, allocations: 1.217 MB / 2.059 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/5.027, allocations: 19.94 kB / 2.059 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/5.027, allocations: 20 kB / 2.059 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/5.028, allocations: 290.5 kB / 2.06 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/5.029, allocations: 195.7 kB / 2.06 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000902/5.03, allocations: 0.9072 MB / 2.061 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/5.031, allocations: 71.97 kB / 2.061 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/5.031, allocations: 71.98 kB / 2.061 GB, free: 13.3 MB / 0.5105 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.0005295/5.032, allocations: 337.2 kB / 2.061 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/5.032, allocations: 98.81 kB / 2.061 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/5.033, allocations: 481.5 kB / 2.062 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/5.033, allocations: 4 kB / 2.062 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/5.033, allocations: 0 / 2.062 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/5.033, allocations: 3.984 kB / 2.062 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/5.035, allocations: 1.117 MB / 2.063 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/5.035, allocations: 48 / 2.063 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/5.035, allocations: 187.8 kB / 2.063 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.291e-05/5.036, allocations: 28.88 kB / 2.063 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/5.036, allocations: 8 kB / 2.063 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/5.037, allocations: 2.684 MB / 2.066 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/5.037, allocations: 7.984 kB / 2.066 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009612/5.038, allocations: 0.6968 MB / 2.066 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/5.039, allocations: 204 kB / 2.067 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/5.039, allocations: 15.95 kB / 2.067 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005884/5.039, allocations: 32.03 kB / 2.067 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/5.04, allocations: 31.91 kB / 2.067 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/5.04, allocations: 15.98 kB / 2.067 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007985/5.04, allocations: 0.6165 MB / 2.067 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/5.04, allocations: 0 / 2.067 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00251/5.043, allocations: 0.527 MB / 2.068 GB, free: 5.82 MB / 0.5105 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.004982/5.048, allocations: 2.612 MB / 2.07 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0014/5.049, allocations: 0.6657 MB / 2.071 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/5.049, allocations: 4 kB / 2.071 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008662/5.05, allocations: 355.1 kB / 2.071 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/5.052, allocations: 407.3 kB / 2.072 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3105/5.363, allocations: 19.05 MB / 2.09 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/5.364, allocations: 1.046 MB / 2.091 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001286/5.365, allocations: 312.9 kB / 2.092 GB, free: 66.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/5.366, allocations: 312 kB / 2.092 GB, free: 66.76 MB / 0.5105 GB Notification: Performance of SimCode: time 1.653e-06/5.366, allocations: 0 / 2.092 GB, free: 66.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09008/5.456, allocations: 44.04 MB / 2.135 GB, free: 65.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/5.456, allocations: 307.2 kB / 2.135 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.66/9.116, allocations: 0 / 2.135 GB, free: 65.61 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat