Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002276/0.002281, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.447/2.447, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001683/0.001683, allocations: 78.77 kB / 267.5 MB, free: 14.05 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.3164/0.3164, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.69e-05/4.731e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1298, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.472/2.602, allocations: 0.8269 GB / 1.3 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/2.602, allocations: 95.53 kB / 1.3 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.054/6.657, allocations: 0.7371 GB / 2.037 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.647e-06/6.657, allocations: 0 / 2.037 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001296/6.657, allocations: 28.12 kB / 2.037 GB, free: 74.69 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.008145/6.665, allocations: 1.366 MB / 2.038 GB, free: 73.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.688e-05/6.665, allocations: 11.91 kB / 2.038 GB, free: 73.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006061/6.666, allocations: 133.9 kB / 2.038 GB, free: 73.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/6.67, allocations: 282.2 kB / 2.039 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/6.673, allocations: 0.653 MB / 2.039 GB, free: 72.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/6.674, allocations: 121.2 kB / 2.04 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000601/6.675, allocations: 64 kB / 2.04 GB, free: 72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/6.68, allocations: 1.234 MB / 2.041 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.477e-05/6.68, allocations: 7.906 kB / 2.041 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/6.681, allocations: 31.53 kB / 2.041 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/6.681, allocations: 69.23 kB / 2.041 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004478/6.685, allocations: 1.019 MB / 2.042 GB, free: 69.59 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01539/6.701, allocations: 4.843 MB / 2.047 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009625/6.702, allocations: 263.3 kB / 2.047 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/6.702, allocations: 149.2 kB / 2.047 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/6.703, allocations: 240 kB / 2.047 GB, free: 63.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/6.703, allocations: 38.8 kB / 2.047 GB, free: 63.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 5.2e-06/6.703, allocations: 0 / 2.047 GB, free: 63.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.01364/6.717, allocations: 1.604 MB / 2.049 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/6.717, allocations: 140.1 kB / 2.049 GB, free: 61.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/6.719, allocations: 0.8133 MB / 2.05 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/6.719, allocations: 37.7 kB / 2.05 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/6.72, allocations: 0.5853 MB / 2.05 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/6.72, allocations: 134.3 kB / 2.05 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/6.72, allocations: 20 kB / 2.051 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001462/6.72, allocations: 350.8 kB / 2.051 GB, free: 59.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009963/6.721, allocations: 258.5 kB / 2.051 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/6.723, allocations: 0.8521 MB / 2.052 GB, free: 58.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/6.725, allocations: 447.3 kB / 2.052 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/6.725, allocations: 12 kB / 2.052 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004322/6.729, allocations: 1.154 MB / 2.053 GB, free: 56.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/6.729, allocations: 15.95 kB / 2.054 GB, free: 56.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/6.729, allocations: 20.88 kB / 2.054 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003059/6.732, allocations: 283.9 kB / 2.054 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/6.734, allocations: 203.6 kB / 2.054 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/6.735, allocations: 0.8999 MB / 2.055 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/6.737, allocations: 67.88 kB / 2.055 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/6.737, allocations: 68 kB / 2.055 GB, free: 55.35 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 () * 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.0002567/6.737, allocations: 188.5 kB / 2.055 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/6.738, allocations: 86.97 kB / 2.055 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/6.739, allocations: 473.8 kB / 2.056 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/6.739, allocations: 7.953 kB / 2.056 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/6.739, allocations: 0 / 2.056 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/6.739, allocations: 0 / 2.056 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/6.741, allocations: 1.121 MB / 2.057 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/6.741, allocations: 0 / 2.057 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/6.743, allocations: 175.8 kB / 2.057 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/6.743, allocations: 24.84 kB / 2.057 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/6.743, allocations: 16.02 kB / 2.057 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/6.745, allocations: 2.668 MB / 2.06 GB, free: 50.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/6.745, allocations: 7.75 kB / 2.06 GB, free: 50.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/6.747, allocations: 0.6931 MB / 2.06 GB, free: 49.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/6.748, allocations: 204 kB / 2.061 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/6.748, allocations: 11.98 kB / 2.061 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/6.749, allocations: 30.3 kB / 2.061 GB, free: 49.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/6.749, allocations: 23.92 kB / 2.061 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/6.749, allocations: 23.98 kB / 2.061 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001186/6.75, allocations: 0.6011 MB / 2.061 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/6.75, allocations: 0 / 2.061 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002821/6.753, allocations: 0.5309 MB / 2.062 GB, free: 48.08 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 () * 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.006145/6.759, allocations: 2.612 MB / 2.064 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002023/6.761, allocations: 0.6509 MB / 2.065 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/6.761, allocations: 4 kB / 2.065 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/6.762, allocations: 342.6 kB / 2.065 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/6.766, allocations: 396.5 kB / 2.066 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/6.771, allocations: 1.533 MB / 2.067 GB, free: 42.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/6.772, allocations: 1.048 MB / 2.068 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007455/6.772, allocations: 323.3 kB / 2.068 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.333e-06/6.772, allocations: 4 kB / 2.068 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.831/10.6, allocations: 31.74 MB / 2.099 GB, free: 9.547 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat