Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001052/0.001052, allocations: 174.9 kB / 14.1 MB, free: 1.211 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.359/1.359, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0008347/0.0008346, allocations: 82.67 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.62e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07988/0.07992, allocations: 47.57 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.743/1.823, allocations: 0.7124 GB / 1.074 GB, free: 107.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/1.823, allocations: 99.23 kB / 1.074 GB, free: 107.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.818/3.642, allocations: 0.5692 GB / 1.643 GB, free: 17.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.784e-06/3.642, allocations: 0 / 1.643 GB, free: 17.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.105e-05/3.642, allocations: 8 kB / 1.643 GB, free: 17.87 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.001907/3.644, allocations: 0.7873 MB / 1.644 GB, free: 17.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/3.644, allocations: 8.031 kB / 1.644 GB, free: 17.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/3.644, allocations: 74.53 kB / 1.644 GB, free: 16.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/3.645, allocations: 119.3 kB / 1.644 GB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/3.645, allocations: 373.3 kB / 1.644 GB, free: 16.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/3.645, allocations: 32.78 kB / 1.644 GB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/3.646, allocations: 36 kB / 1.645 GB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009262/3.646, allocations: 0.5201 MB / 1.645 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/3.646, allocations: 3.906 kB / 1.645 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/3.647, allocations: 30.45 kB / 1.645 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/3.647, allocations: 8 kB / 1.645 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/3.647, allocations: 418.9 kB / 1.645 GB, free: 15.36 MB / 426.7 MB 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.002866/3.65, allocations: 2.024 MB / 1.647 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/3.65, allocations: 150.6 kB / 1.648 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/3.65, allocations: 76.86 kB / 1.648 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/3.65, allocations: 12.2 kB / 1.648 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/3.651, allocations: 34.56 kB / 1.648 GB, free: 12.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.837e-06/3.651, allocations: 0 / 1.648 GB, free: 12.88 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.004979/3.656, allocations: 1.326 MB / 1.649 GB, free: 11.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/3.656, allocations: 55.41 kB / 1.649 GB, free: 11.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/3.656, allocations: 430.8 kB / 1.649 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/3.656, allocations: 33.7 kB / 1.65 GB, free: 10.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/3.656, allocations: 322.2 kB / 1.65 GB, free: 10.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/3.656, allocations: 90.73 kB / 1.65 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/3.656, allocations: 12 kB / 1.65 GB, free: 10.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/3.656, allocations: 354.8 kB / 1.65 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/3.657, allocations: 129.5 kB / 1.65 GB, free: 10.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/3.657, allocations: 433.1 kB / 1.651 GB, free: 9.457 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/3.657, allocations: 224.3 kB / 1.651 GB, free: 9.238 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/3.657, allocations: 3.938 kB / 1.651 GB, free: 9.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008305/3.658, allocations: 0.6236 MB / 1.652 GB, free: 8.598 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/3.658, allocations: 8 kB / 1.652 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/3.658, allocations: 12 kB / 1.652 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/3.658, allocations: 61.69 kB / 1.652 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/3.659, allocations: 140.3 kB / 1.652 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009358/3.66, allocations: 1.84 MB / 1.654 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/3.66, allocations: 35.98 kB / 1.654 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/3.66, allocations: 36 kB / 1.654 GB, free: 6.305 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 () * 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.0001123/3.66, allocations: 144.7 kB / 1.654 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/3.66, allocations: 47.62 kB / 1.654 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/3.661, allocations: 290.5 kB / 1.654 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/3.661, allocations: 7.984 kB / 1.654 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/3.661, allocations: 0 / 1.654 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003566/3.661, allocations: 0.5242 MB / 1.655 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/3.662, allocations: 0.6866 MB / 1.655 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/3.662, allocations: 0 / 1.655 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/3.662, allocations: 55.91 kB / 1.655 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.767e-05/3.663, allocations: 24.75 kB / 1.655 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/3.663, allocations: 15.94 kB / 1.655 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005757/3.663, allocations: 1.28 MB / 1.657 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/3.663, allocations: 0 / 1.657 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/3.664, allocations: 419.7 kB / 1.657 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/3.664, allocations: 116.6 kB / 1.657 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/3.664, allocations: 7.953 kB / 1.657 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/3.664, allocations: 16.16 kB / 1.657 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/3.664, allocations: 19.97 kB / 1.657 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/3.664, allocations: 15.98 kB / 1.657 GB, free: 2.305 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003254/3.665, allocations: 313.2 kB / 1.658 GB, free: 2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/3.665, allocations: 0 / 1.658 GB, free: 2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001076/3.666, allocations: 303.8 kB / 1.658 GB, free: 1.703 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 () * 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.003017/3.669, allocations: 1.966 MB / 1.66 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000919/3.67, allocations: 448.8 kB / 1.66 GB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/3.67, allocations: 4 kB / 1.66 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/3.67, allocations: 198.8 kB / 1.66 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/3.671, allocations: 213.2 kB / 1.661 GB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/3.673, allocations: 0.7719 MB / 1.661 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/3.673, allocations: 0.8354 MB / 1.662 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005405/3.674, allocations: 132.6 kB / 1.662 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/3.674, allocations: 147.4 kB / 1.662 GB, free: 12.89 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/3.674, allocations: 0 / 1.662 GB, free: 12.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2861/3.96, allocations: 31.95 MB / 1.694 GB, free: 77.43 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/3.96, allocations: 239.1 kB / 1.694 GB, free: 77.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/6.856, allocations: 0 / 1.694 GB, free: 77.2 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat