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.002275/0.002275, allocations: 182.4 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.173/2.173, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001119/0.001119, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.348e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.36/2.46, allocations: 0.7124 GB / 1.073 GB, free: 106.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/2.461, allocations: 99.8 kB / 1.073 GB, free: 106.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.851/5.312, allocations: 0.5692 GB / 1.642 GB, free: 17.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/5.312, allocations: 3.938 kB / 1.642 GB, free: 17.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.228e-05/5.312, allocations: 12 kB / 1.642 GB, free: 17.86 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.002227/5.314, allocations: 0.7834 MB / 1.643 GB, free: 17.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/5.314, allocations: 8.031 kB / 1.643 GB, free: 17.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/5.314, allocations: 82.52 kB / 1.643 GB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008757/5.315, allocations: 115.4 kB / 1.643 GB, free: 16.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007735/5.316, allocations: 369.3 kB / 1.644 GB, free: 16.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/5.316, allocations: 28.78 kB / 1.644 GB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/5.316, allocations: 42.62 kB / 1.644 GB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/5.317, allocations: 0.5318 MB / 1.644 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/5.318, allocations: 3.906 kB / 1.644 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/5.318, allocations: 20 kB / 1.644 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/5.318, allocations: 12 kB / 1.644 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009472/5.319, allocations: 410.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.004416/5.323, allocations: 2.021 MB / 1.647 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/5.323, allocations: 146.7 kB / 1.647 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/5.324, allocations: 80.8 kB / 1.647 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/5.324, allocations: 7.984 kB / 1.647 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/5.324, allocations: 38.5 kB / 1.647 GB, free: 12.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.035e-06/5.324, allocations: 4 kB / 1.647 GB, free: 12.87 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.008623/5.332, allocations: 1.325 MB / 1.648 GB, free: 11.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/5.332, allocations: 51.41 kB / 1.648 GB, free: 11.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/5.333, allocations: 430.8 kB / 1.649 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/5.333, allocations: 37.7 kB / 1.649 GB, free: 10.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/5.333, allocations: 368.7 kB / 1.649 GB, free: 10.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/5.334, allocations: 90.73 kB / 1.649 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/5.334, allocations: 16 kB / 1.649 GB, free: 10.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.269e-05/5.334, allocations: 326.8 kB / 1.649 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/5.334, allocations: 129.5 kB / 1.649 GB, free: 10 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/5.335, allocations: 441 kB / 1.65 GB, free: 9.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/5.335, allocations: 220.3 kB / 1.65 GB, free: 9.215 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/5.335, allocations: 4 kB / 1.65 GB, free: 9.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001376/5.336, allocations: 0.6085 MB / 1.651 GB, free: 8.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/5.336, allocations: 15.98 kB / 1.651 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/5.336, allocations: 8 kB / 1.651 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/5.337, allocations: 57.7 kB / 1.651 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008454/5.338, allocations: 143.7 kB / 1.651 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/5.339, allocations: 1.84 MB / 1.653 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008057/5.34, allocations: 36.14 kB / 1.653 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/5.34, allocations: 36 kB / 1.653 GB, free: 6.293 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.0001728/5.34, allocations: 148.7 kB / 1.653 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/5.34, allocations: 39.53 kB / 1.653 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008198/5.341, allocations: 290.6 kB / 1.653 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/5.341, allocations: 0 / 1.653 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/5.341, allocations: 8 kB / 1.653 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005466/5.342, allocations: 0.5241 MB / 1.654 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/5.343, allocations: 0.6943 MB / 1.654 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/5.343, allocations: 0 / 1.654 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/5.344, allocations: 55.91 kB / 1.654 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/5.344, allocations: 28.78 kB / 1.655 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/5.344, allocations: 11.92 kB / 1.655 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008567/5.345, allocations: 1.276 MB / 1.656 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/5.345, allocations: 0 / 1.656 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008123/5.346, allocations: 427.6 kB / 1.656 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/5.346, allocations: 116.7 kB / 1.656 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-05/5.346, allocations: 11.95 kB / 1.656 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/5.346, allocations: 20.05 kB / 1.656 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/5.347, allocations: 15.98 kB / 1.656 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/5.347, allocations: 11.98 kB / 1.656 GB, free: 2.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005215/5.347, allocations: 325.2 kB / 1.657 GB, free: 1.969 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/5.347, allocations: 0 / 1.657 GB, free: 1.969 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001566/5.349, allocations: 287.9 kB / 1.657 GB, free: 1.688 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.004177/5.353, allocations: 1.962 MB / 1.659 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/5.354, allocations: 451.3 kB / 1.659 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/5.354, allocations: 0 / 1.659 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003996/5.355, allocations: 204.1 kB / 1.659 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/5.357, allocations: 207.9 kB / 1.66 GB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/5.36, allocations: 0.8126 MB / 1.66 GB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/5.36, allocations: 0.8315 MB / 1.661 GB, free: 13.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/5.361, allocations: 151.4 kB / 1.661 GB, free: 12.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/5.361, allocations: 0 / 1.661 GB, free: 12.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.585/8.946, allocations: 18.48 MB / 1.679 GB, free: 76.43 MB / 442.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