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.002424/0.002424, allocations: 187.6 kB / 16.41 MB, free: 5.723 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.088/2.088, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001286/0.001285, allocations: 95.22 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5434/0.5434, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.0006477, allocations: 8 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1819, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.944/3.126, allocations: 0.827 GB / 1.306 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/3.126, allocations: 103.5 kB / 1.306 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.153/7.279, allocations: 0.7367 GB / 2.043 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.365e-06/7.279, allocations: 0 / 2.043 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001018/7.279, allocations: 24.31 kB / 2.043 GB, free: 65.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.006556/7.286, allocations: 1.466 MB / 2.044 GB, free: 64.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/7.286, allocations: 9.156 kB / 2.044 GB, free: 64.86 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007333/7.287, allocations: 135.3 kB / 2.044 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/7.289, allocations: 285.7 kB / 2.044 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/7.292, allocations: 0.6664 MB / 2.045 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/7.292, allocations: 114.5 kB / 2.045 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/7.293, allocations: 69.05 kB / 2.045 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/7.296, allocations: 1.247 MB / 2.047 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/7.296, allocations: 4.906 kB / 2.047 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/7.297, allocations: 30.22 kB / 2.047 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/7.297, allocations: 68.47 kB / 2.047 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/7.3, allocations: 1.034 MB / 2.048 GB, free: 64.24 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.01025/7.31, allocations: 4.83 MB / 2.052 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/7.311, allocations: 274.1 kB / 2.053 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003927/7.311, allocations: 243.6 kB / 2.053 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/7.311, allocations: 40.53 kB / 2.053 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.526e-06/7.311, allocations: 3.625 kB / 2.053 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.01056/7.322, allocations: 1.72 MB / 2.055 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/7.322, allocations: 140 kB / 2.055 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/7.324, allocations: 0.8247 MB / 2.056 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/7.324, allocations: 32.7 kB / 2.056 GB, free: 60.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/7.325, allocations: 0.5893 MB / 2.056 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/7.325, allocations: 126 kB / 2.056 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/7.325, allocations: 25.62 kB / 2.056 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001341/7.325, allocations: 356.1 kB / 2.057 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008323/7.326, allocations: 266.3 kB / 2.057 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/7.327, allocations: 0.8583 MB / 2.058 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/7.329, allocations: 452.4 kB / 2.058 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/7.329, allocations: 9.75 kB / 2.058 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003692/7.332, allocations: 1.17 MB / 2.059 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/7.332, allocations: 13.66 kB / 2.059 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.352e-05/7.332, allocations: 22.94 kB / 2.059 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/7.335, allocations: 284.4 kB / 2.06 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/7.336, allocations: 203.5 kB / 2.06 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/7.338, allocations: 0.9084 MB / 2.061 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/7.34, allocations: 61.28 kB / 2.061 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/7.341, allocations: 70.25 kB / 2.061 GB, free: 58.23 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.0009342/7.341, allocations: 345.4 kB / 2.061 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/7.342, allocations: 94.75 kB / 2.061 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/7.344, allocations: 472.5 kB / 2.062 GB, free: 58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/7.344, allocations: 7.125 kB / 2.062 GB, free: 58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/7.344, allocations: 1.219 kB / 2.062 GB, free: 58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/7.344, allocations: 7.797 kB / 2.062 GB, free: 58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/7.347, allocations: 1.117 MB / 2.063 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/7.347, allocations: 1.969 kB / 2.063 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/7.349, allocations: 187.5 kB / 2.063 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/7.349, allocations: 21.86 kB / 2.063 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/7.349, allocations: 16.19 kB / 2.063 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/7.351, allocations: 2.695 MB / 2.066 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/7.351, allocations: 1.156 kB / 2.066 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/7.353, allocations: 0.7 MB / 2.066 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/7.354, allocations: 204.5 kB / 2.066 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/7.354, allocations: 10.69 kB / 2.067 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008971/7.355, allocations: 26.66 kB / 2.067 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/7.355, allocations: 25.31 kB / 2.067 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/7.356, allocations: 20.36 kB / 2.067 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001375/7.357, allocations: 0.6173 MB / 2.067 GB, free: 54.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.61e-07/7.357, allocations: 0 / 2.067 GB, free: 54.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003498/7.36, allocations: 0.5368 MB / 2.068 GB, free: 54.59 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.006706/7.367, allocations: 2.6 MB / 2.07 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002331/7.37, allocations: 0.6748 MB / 2.071 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/7.37, allocations: 2.547 kB / 2.071 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/7.371, allocations: 346.9 kB / 2.071 GB, free: 53.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/7.375, allocations: 414.7 kB / 2.072 GB, free: 53.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/7.393, allocations: 19.12 MB / 2.09 GB, free: 53.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/7.394, allocations: 1.042 MB / 2.091 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008481/7.395, allocations: 323.6 kB / 2.092 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/7.395, allocations: 0 / 2.092 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.698/11.09, allocations: 31.9 MB / 2.123 GB, free: 51.93 MB / 0.5261 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