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.001419/0.001419, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.743/1.743, allocations: 205.4 MB / 223.1 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.001039/0.001039, allocations: 88.2 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 328.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.571/1.866, allocations: 0.7125 GB / 1.08 GB, free: 39.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.866, allocations: 102.5 kB / 1.08 GB, free: 39.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.058/3.924, allocations: 0.5688 GB / 1.649 GB, free: 69.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.268e-06/3.924, allocations: 0 / 1.649 GB, free: 69.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.277e-05/3.924, allocations: 10.41 kB / 1.649 GB, free: 69.01 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.002995/3.927, allocations: 0.8321 MB / 1.649 GB, free: 68.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/3.927, allocations: 10.56 kB / 1.649 GB, free: 68.57 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003056/3.928, allocations: 79.7 kB / 1.649 GB, free: 68.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007635/3.928, allocations: 122.5 kB / 1.65 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008256/3.929, allocations: 373.6 kB / 1.65 GB, free: 68.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/3.929, allocations: 28.69 kB / 1.65 GB, free: 68.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/3.929, allocations: 40.28 kB / 1.65 GB, free: 68.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/3.93, allocations: 0.5397 MB / 1.65 GB, free: 68.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/3.93, allocations: 3.812 kB / 1.65 GB, free: 68.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/3.931, allocations: 17.53 kB / 1.651 GB, free: 68.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/3.931, allocations: 17.89 kB / 1.651 GB, free: 68.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/3.931, allocations: 412.8 kB / 1.651 GB, free: 68.21 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.003291/3.934, allocations: 2.028 MB / 1.653 GB, free: 67.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/3.935, allocations: 152.8 kB / 1.653 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/3.935, allocations: 10.38 kB / 1.653 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/3.935, allocations: 39.61 kB / 1.653 GB, free: 67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.617e-06/3.935, allocations: 0 / 1.653 GB, free: 67 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.005755/3.941, allocations: 1.671 MB / 1.655 GB, free: 66.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/3.941, allocations: 58.69 kB / 1.655 GB, free: 66.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/3.941, allocations: 432.1 kB / 1.655 GB, free: 65.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/3.941, allocations: 28.89 kB / 1.655 GB, free: 65.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/3.941, allocations: 321.8 kB / 1.656 GB, free: 65.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/3.942, allocations: 90.41 kB / 1.656 GB, free: 65.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/3.942, allocations: 11.5 kB / 1.656 GB, free: 65.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/3.942, allocations: 352.3 kB / 1.656 GB, free: 65.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/3.942, allocations: 130 kB / 1.656 GB, free: 65.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/3.942, allocations: 439.3 kB / 1.657 GB, free: 65.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/3.943, allocations: 227.1 kB / 1.657 GB, free: 65.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/3.943, allocations: 3.562 kB / 1.657 GB, free: 65.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009715/3.944, allocations: 0.6348 MB / 1.657 GB, free: 64.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/3.944, allocations: 7.938 kB / 1.657 GB, free: 64.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/3.944, allocations: 15.47 kB / 1.657 GB, free: 64.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/3.944, allocations: 63.23 kB / 1.657 GB, free: 64.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/3.944, allocations: 137.4 kB / 1.658 GB, free: 64.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/3.946, allocations: 1.852 MB / 1.659 GB, free: 63.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/3.946, allocations: 44.02 kB / 1.659 GB, free: 63.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/3.946, allocations: 35.09 kB / 1.659 GB, free: 63.12 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.0002632/3.946, allocations: 210.6 kB / 1.66 GB, free: 62.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/3.947, allocations: 48.09 kB / 1.66 GB, free: 62.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/3.947, allocations: 281.9 kB / 1.66 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/3.947, allocations: 11.02 kB / 1.66 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/3.947, allocations: 0 / 1.66 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004392/3.948, allocations: 0.5236 MB / 1.66 GB, free: 62.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/3.949, allocations: 0.7017 MB / 1.661 GB, free: 62.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/3.949, allocations: 0 / 1.661 GB, free: 62.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/3.949, allocations: 52.56 kB / 1.661 GB, free: 62.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.969e-05/3.949, allocations: 21.64 kB / 1.661 GB, free: 62.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/3.949, allocations: 9.188 kB / 1.661 GB, free: 62.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006892/3.95, allocations: 1.276 MB / 1.662 GB, free: 60.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/3.95, allocations: 2.906 kB / 1.662 GB, free: 60.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/3.95, allocations: 430.4 kB / 1.663 GB, free: 60.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/3.95, allocations: 120.1 kB / 1.663 GB, free: 60.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/3.95, allocations: 7.875 kB / 1.663 GB, free: 60.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/3.951, allocations: 15.95 kB / 1.663 GB, free: 60.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/3.951, allocations: 19.62 kB / 1.663 GB, free: 60.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/3.951, allocations: 22 kB / 1.663 GB, free: 60.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003388/3.951, allocations: 324.5 kB / 1.663 GB, free: 60.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/3.951, allocations: 3.812 kB / 1.663 GB, free: 60.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001325/3.953, allocations: 292.2 kB / 1.664 GB, free: 60.47 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.003616/3.956, allocations: 1.955 MB / 1.666 GB, free: 59.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009733/3.957, allocations: 466.5 kB / 1.666 GB, free: 59.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/3.957, allocations: 0 / 1.666 GB, free: 59.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/3.957, allocations: 211.5 kB / 1.666 GB, free: 59.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/3.959, allocations: 209.1 kB / 1.666 GB, free: 59.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006401/3.965, allocations: 9.723 MB / 1.676 GB, free: 51.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/3.965, allocations: 0.8334 MB / 1.677 GB, free: 50.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006108/3.966, allocations: 136 kB / 1.677 GB, free: 50.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/3.966, allocations: 143.8 kB / 1.677 GB, free: 50.58 MB / 426.7 MB Notification: Performance of SimCode: time 2.384e-06/3.966, allocations: 3.188 kB / 1.677 GB, free: 50.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0541/4.02, allocations: 29.19 MB / 1.706 GB, free: 45.45 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/4.021, allocations: 257.2 kB / 1.706 GB, free: 45.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/7.024, allocations: 0 / 1.706 GB, free: 45.11 MB / 426.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