Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_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.002393/0.002393, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.018/2.018, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001168/0.001168, allocations: 96.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004271, allocations: 16 kB / 327.1 MB, free: 88 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3289, allocations: 47.56 MB / 374.6 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.029/2.358, allocations: 0.7125 GB / 1.078 GB, free: 39.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/2.358, allocations: 99.98 kB / 1.078 GB, free: 39.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985/5.343, allocations: 0.5688 GB / 1.647 GB, free: 69.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.317e-06/5.343, allocations: 0 / 1.647 GB, free: 69.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.301e-05/5.343, allocations: 7.156 kB / 1.647 GB, free: 69.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00276/5.346, allocations: 0.8351 MB / 1.648 GB, free: 69.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/5.346, allocations: 14.33 kB / 1.648 GB, free: 69.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002932/5.346, allocations: 77.44 kB / 1.648 GB, free: 69.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/5.347, allocations: 129.4 kB / 1.648 GB, free: 69.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/5.348, allocations: 366 kB / 1.649 GB, free: 68.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/5.348, allocations: 29.12 kB / 1.649 GB, free: 68.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/5.348, allocations: 45.39 kB / 1.649 GB, free: 68.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/5.35, allocations: 0.5377 MB / 1.649 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/5.35, allocations: 3.594 kB / 1.649 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/5.35, allocations: 23.22 kB / 1.649 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/5.35, allocations: 7.531 kB / 1.649 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/5.351, allocations: 424.7 kB / 1.65 GB, free: 68.91 MB / 426.7 MB 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.004562/5.356, allocations: 2.025 MB / 1.652 GB, free: 67.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/5.356, allocations: 158.8 kB / 1.652 GB, free: 67.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/5.356, allocations: 3.781 kB / 1.652 GB, free: 67.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/5.356, allocations: 41.11 kB / 1.652 GB, free: 67.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.717e-06/5.356, allocations: 3.688 kB / 1.652 GB, free: 67.7 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.009417/5.365, allocations: 1.669 MB / 1.653 GB, free: 66.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/5.366, allocations: 54.97 kB / 1.654 GB, free: 66.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/5.366, allocations: 431.5 kB / 1.654 GB, free: 66.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/5.366, allocations: 30.95 kB / 1.654 GB, free: 66.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/5.367, allocations: 370.2 kB / 1.654 GB, free: 66.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/5.367, allocations: 88.53 kB / 1.654 GB, free: 66.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/5.367, allocations: 15.44 kB / 1.654 GB, free: 66.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/5.367, allocations: 335.3 kB / 1.655 GB, free: 66.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/5.367, allocations: 131.9 kB / 1.655 GB, free: 66.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/5.368, allocations: 441.5 kB / 1.655 GB, free: 65.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/5.368, allocations: 227 kB / 1.656 GB, free: 65.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/5.368, allocations: 2.906 kB / 1.656 GB, free: 65.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001412/5.37, allocations: 0.6123 MB / 1.656 GB, free: 65.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/5.37, allocations: 11.75 kB / 1.656 GB, free: 65.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/5.37, allocations: 9.969 kB / 1.656 GB, free: 65.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/5.37, allocations: 56.3 kB / 1.656 GB, free: 65.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/5.371, allocations: 148.1 kB / 1.656 GB, free: 65.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/5.372, allocations: 1.848 MB / 1.658 GB, free: 63.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/5.373, allocations: 32.62 kB / 1.658 GB, free: 63.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.554e-05/5.373, allocations: 40.75 kB / 1.658 GB, free: 63.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000349/5.374, allocations: 211.7 kB / 1.658 GB, free: 63.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/5.374, allocations: 43.69 kB / 1.658 GB, free: 63.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/5.375, allocations: 300.2 kB / 1.659 GB, free: 63.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/5.375, allocations: 3.375 kB / 1.659 GB, free: 63.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/5.375, allocations: 0 / 1.659 GB, free: 63.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005578/5.375, allocations: 0.5262 MB / 1.659 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/5.377, allocations: 0.694 MB / 1.66 GB, free: 62.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/5.377, allocations: 2.297 kB / 1.66 GB, free: 62.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/5.377, allocations: 55.52 kB / 1.66 GB, free: 62.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/5.377, allocations: 27.39 kB / 1.66 GB, free: 62.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/5.377, allocations: 6 kB / 1.66 GB, free: 62.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008904/5.378, allocations: 1.282 MB / 1.661 GB, free: 61.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/5.378, allocations: 3.688 kB / 1.661 GB, free: 61.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/5.379, allocations: 426.7 kB / 1.662 GB, free: 61.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/5.379, allocations: 123 kB / 1.662 GB, free: 61.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/5.38, allocations: 3.25 kB / 1.662 GB, free: 61.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/5.38, allocations: 17.41 kB / 1.662 GB, free: 61.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/5.38, allocations: 23.64 kB / 1.662 GB, free: 61.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/5.38, allocations: 15.03 kB / 1.662 GB, free: 61.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005466/5.381, allocations: 320.5 kB / 1.662 GB, free: 61.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/5.381, allocations: 0 / 1.662 GB, free: 61.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001644/5.382, allocations: 294.4 kB / 1.662 GB, free: 61.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004262/5.387, allocations: 1.955 MB / 1.664 GB, free: 60.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/5.388, allocations: 451 kB / 1.665 GB, free: 60.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/5.388, allocations: 5.25 kB / 1.665 GB, free: 60.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/5.388, allocations: 213.3 kB / 1.665 GB, free: 60.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/5.39, allocations: 216.7 kB / 1.665 GB, free: 60.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/5.397, allocations: 9.761 MB / 1.675 GB, free: 51.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/5.398, allocations: 0.8317 MB / 1.676 GB, free: 51.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/5.398, allocations: 155.3 kB / 1.676 GB, free: 51.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/5.398, allocations: 3.938 kB / 1.676 GB, free: 51.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.084/8.482, allocations: 18.57 MB / 1.694 GB, free: 50.29 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat