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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008439/0.0008439, allocations: 92.53 kB / 16.95 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008175/0.0008175, allocations: 182 kB / 17.83 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004786, allocations: 11.98 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 47.58 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3993/0.5005, allocations: 159.6 MB / 488.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004299/0.5048, allocations: 3.567 MB / 491.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.5052, allocations: 7.938 kB / 491.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.5058, allocations: 143.2 kB / 491.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006716/0.5065, allocations: 346.3 kB / 492.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.5077, allocations: 409.8 kB / 492.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.5091, allocations: 1.306 MB / 493.8 MB, free: 4.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.5093, allocations: 81.17 kB / 493.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.5118, allocations: 1.11 MB / 495 MB, free: 3.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.5123, allocations: 358.8 kB / 495.4 MB, free: 3.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.5124, allocations: 20 kB / 495.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.5135, allocations: 0.6085 MB / 496 MB, free: 2.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.5137, allocations: 223.4 kB / 496.2 MB, free: 2.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.5139, allocations: 129.5 kB / 496.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008456/0.5147, allocations: 0.8628 MB / 497.2 MB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5147, allocations: 0 / 497.2 MB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5147, allocations: 0 / 497.2 MB, free: 1.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.5147, allocations: 0 / 497.2 MB, free: 1.289 MB / 382.1 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.00106/0.5158, allocations: 0.6985 MB / 497.9 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5159, allocations: 12.03 kB / 497.9 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.516, allocations: 78.53 kB / 498 MB, free: 452 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005227/0.5165, allocations: 131.3 kB / 498.1 MB, free: 320 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.517, allocations: 369.4 kB / 498.5 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.517, allocations: 29 kB / 498.5 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.5171, allocations: 39.95 kB / 498.6 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/0.5179, allocations: 0.546 MB / 499.1 MB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5179, allocations: 4 kB / 499.1 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.518, allocations: 16 kB / 499.1 MB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.518, allocations: 16 kB / 499.1 MB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.5186, allocations: 442.3 kB / 499.6 MB, free: 14.81 MB / 398.1 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.002706/0.5213, allocations: 2.067 MB / 0.4899 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.5216, allocations: 159.2 kB / 0.49 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.5217, allocations: 77.72 kB / 0.4901 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.5218, allocations: 11.98 kB / 0.4901 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.5218, allocations: 34.56 kB / 0.4901 GB, free: 12.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.5218, allocations: 0 / 0.4901 GB, free: 12.27 MB / 398.1 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.004688/0.5265, allocations: 1.683 MB / 0.4918 GB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.5265, allocations: 51.41 kB / 0.4918 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.527, allocations: 481.6 kB / 0.4923 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.5271, allocations: 29.7 kB / 0.4923 GB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.5273, allocations: 322.4 kB / 0.4926 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.5273, allocations: 82.81 kB / 0.4927 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.5274, allocations: 12 kB / 0.4927 GB, free: 9.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5275, allocations: 354.8 kB / 0.4931 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.5277, allocations: 133.2 kB / 0.4932 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.5281, allocations: 432.5 kB / 0.4936 GB, free: 8.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.5284, allocations: 231.8 kB / 0.4938 GB, free: 8.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5284, allocations: 11.88 kB / 0.4938 GB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008482/0.5293, allocations: 0.6277 MB / 0.4944 GB, free: 7.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5293, allocations: 8 kB / 0.4945 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.5293, allocations: 15.98 kB / 0.4945 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.5295, allocations: 61.59 kB / 0.4945 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.5299, allocations: 142.2 kB / 0.4947 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.5312, allocations: 1.848 MB / 0.4965 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.5315, allocations: 31.92 kB / 0.4965 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.5316, allocations: 36 kB / 0.4965 GB, free: 5.227 MB / 398.1 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.0001912/0.5318, allocations: 213.5 kB / 0.4967 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.5318, allocations: 51.53 kB / 0.4968 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.5323, allocations: 290.9 kB / 0.4971 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5323, allocations: 0 / 0.4971 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5323, allocations: 0 / 0.4971 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004696/0.5328, allocations: 0.5278 MB / 0.4976 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008516/0.5337, allocations: 0.6941 MB / 0.4983 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5337, allocations: 0.875 kB / 0.4983 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.534, allocations: 59.91 kB / 0.4983 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.143e-05/0.534, allocations: 20.8 kB / 0.4983 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.5341, allocations: 11.98 kB / 0.4983 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008403/0.5349, allocations: 1.288 MB / 0.4996 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5349, allocations: 0 / 0.4996 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.5354, allocations: 420.3 kB / 0.5 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5355, allocations: 116.6 kB / 0.5001 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.5356, allocations: 7.984 kB / 0.5001 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.5359, allocations: 16.16 kB / 0.5001 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.5359, allocations: 19.91 kB / 0.5002 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.5359, allocations: 19.98 kB / 0.5002 GB, free: 1.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003306/0.5363, allocations: 319.1 kB / 0.5005 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5363, allocations: 0 / 0.5005 GB, free: 0.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007407/0.537, allocations: 219.9 kB / 0.5007 GB, free: 0.6172 MB / 398.1 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.00184/0.5389, allocations: 1.255 MB / 0.5019 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007351/0.5396, allocations: 453 kB / 0.5023 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5396, allocations: 4 kB / 0.5024 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.5399, allocations: 210.5 kB / 0.5026 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.5409, allocations: 213.4 kB / 0.5028 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.5445, allocations: 2.792 MB / 0.5055 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.5448, allocations: 0.8233 MB / 0.5063 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004655/0.5453, allocations: 136.5 kB / 0.5064 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.5455, allocations: 151.4 kB / 0.5066 GB, free: 10.33 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5455, allocations: 0 / 0.5066 GB, free: 10.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.5779, allocations: 15.85 MB / 0.522 GB, free: 10.45 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.5782, allocations: 265.9 kB / 0.5223 GB, free: 10.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.021, allocations: 0 / 0.5223 GB, free: 10.09 MB / 430.1 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) Environment - environmentSimulation: 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