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.00102/0.00102, allocations: 94.55 kB / 16.94 MB, free: 5.98 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.0008542/0.0008542, allocations: 177 kB / 17.82 MB, free: 5.652 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.578/1.578, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005951/0.0005952, allocations: 11.94 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1081, allocations: 47.58 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3738/0.482, allocations: 139 MB / 467.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.4851, allocations: 2.375 MB / 469.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.4853, allocations: 7.938 kB / 469.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.4859, allocations: 167.3 kB / 469.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.4864, allocations: 235.3 kB / 470.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.4877, allocations: 415.9 kB / 470.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006496/0.4883, allocations: 0.5779 MB / 471.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.4885, allocations: 69.19 kB / 471.2 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.49, allocations: 0.7833 MB / 472 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.4903, allocations: 215.3 kB / 472.2 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.4904, allocations: 20 kB / 472.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009733/0.4914, allocations: 435.4 kB / 472.7 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.4916, allocations: 191.6 kB / 472.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.4917, allocations: 133.5 kB / 473 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008214/0.4925, allocations: 0.8212 MB / 473.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.4925, allocations: 0 / 473.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4926, allocations: 0 / 473.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.4926, allocations: 0 / 473.8 MB, free: 7.312 MB / 366.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.00111/0.4937, allocations: 0.7063 MB / 474.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.4937, allocations: 8.031 kB / 474.5 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.317e-05/0.4938, allocations: 78.53 kB / 474.6 MB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/0.4944, allocations: 135.3 kB / 474.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.4949, allocations: 357.4 kB / 475.1 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.495, allocations: 33 kB / 475.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.495, allocations: 43.94 kB / 475.1 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008602/0.4959, allocations: 0.5498 MB / 475.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4959, allocations: 4 kB / 475.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.496, allocations: 20 kB / 475.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.496, allocations: 8 kB / 475.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.4966, allocations: 446.3 kB / 476.2 MB, free: 4.832 MB / 366.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.003143/0.4997, allocations: 2.063 MB / 478.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.5001, allocations: 150.6 kB / 478.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.5001, allocations: 4 kB / 478.4 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.5002, allocations: 38.56 kB / 478.4 MB, free: 2.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.5002, allocations: 0 / 478.4 MB, free: 2.387 MB / 366.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.005734/0.5059, allocations: 1.68 MB / 480.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.506, allocations: 59.36 kB / 480.1 MB, free: 500 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.5066, allocations: 481.6 kB / 480.6 MB, free: 12 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.5066, allocations: 29.7 kB / 480.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.5068, allocations: 314.4 kB / 481 MB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.5069, allocations: 90.73 kB / 481 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.5069, allocations: 16 kB / 481.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.507, allocations: 346.8 kB / 481.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.5072, allocations: 137.2 kB / 481.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.5076, allocations: 444.5 kB / 482 MB, free: 14.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.5079, allocations: 219.8 kB / 482.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5079, allocations: 4 kB / 482.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009649/0.5089, allocations: 0.628 MB / 482.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5089, allocations: 8 kB / 482.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5089, allocations: 16.09 kB / 482.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.5091, allocations: 61.62 kB / 482.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.5095, allocations: 151 kB / 483 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.511, allocations: 1.844 MB / 484.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.5114, allocations: 32.28 kB / 484.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.5114, allocations: 39.98 kB / 485 MB, free: 11.33 MB / 382.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.0001983/0.5116, allocations: 213.5 kB / 485.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.5117, allocations: 47.48 kB / 485.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.5122, allocations: 298.8 kB / 485.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5122, allocations: 0 / 485.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5122, allocations: 0 / 485.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005331/0.5128, allocations: 0.5239 MB / 486 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008756/0.5136, allocations: 0.702 MB / 486.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.5137, allocations: 3.938 kB / 486.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.5139, allocations: 51.97 kB / 486.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.038e-05/0.514, allocations: 20.75 kB / 486.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.514, allocations: 15.94 kB / 486.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000966/0.515, allocations: 1.282 MB / 488.1 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.515, allocations: 0 / 488.1 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.5156, allocations: 428.5 kB / 488.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5157, allocations: 116.5 kB / 488.6 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.5157, allocations: 11.98 kB / 488.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.516, allocations: 15.94 kB / 488.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.5161, allocations: 19.97 kB / 488.7 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.5161, allocations: 16.05 kB / 488.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.5164, allocations: 323.1 kB / 489 MB, free: 6.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5165, allocations: 0 / 489 MB, free: 6.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009293/0.5174, allocations: 211.9 kB / 489.2 MB, free: 6.723 MB / 382.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.001904/0.5193, allocations: 1.255 MB / 490.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.5201, allocations: 455.7 kB / 490.9 MB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5201, allocations: 0 / 490.9 MB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.5203, allocations: 202.6 kB / 491.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5215, allocations: 210.6 kB / 491.3 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/0.5279, allocations: 9.709 MB / 0.4893 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.5284, allocations: 0.8389 MB / 0.4901 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005349/0.529, allocations: 132.6 kB / 0.4902 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.5293, allocations: 151.3 kB / 0.4904 GB, free: 9.445 MB / 398.1 MB Notification: Performance of SimCode: time 2.214e-06/0.5293, allocations: 0 / 0.4904 GB, free: 9.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03323/0.5626, allocations: 16.27 MB / 0.5063 GB, free: 9.125 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.5628, allocations: 259.7 kB / 0.5065 GB, free: 8.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/2.824, allocations: 3.906 kB / 0.5065 GB, free: 8.77 MB / 414.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