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.002222/0.002222, allocations: 178.3 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.37/2.37, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001158, allocations: 85.3 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.733e-05, allocations: 4 kB / 314.9 MB, free: 9.055 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3993, allocations: 47.57 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.078/2.477, allocations: 0.7118 GB / 1.066 GB, free: 81.07 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004973/2.478, allocations: 95.53 kB / 1.066 GB, free: 81.01 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.758/5.235, allocations: 0.5614 GB / 1.627 GB, free: 14.34 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.824e-06/5.235, allocations: 0 / 1.627 GB, free: 14.34 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.949e-05/5.236, allocations: 8 kB / 1.627 GB, free: 14.33 MB / 427.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.002076/5.238, allocations: 0.7911 MB / 1.628 GB, free: 13.49 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/5.238, allocations: 8.031 kB / 1.628 GB, free: 13.48 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/5.239, allocations: 119.4 kB / 1.628 GB, free: 13.37 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007502/5.239, allocations: 373.3 kB / 1.629 GB, free: 12.96 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/5.239, allocations: 12.77 kB / 1.629 GB, free: 12.95 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.074e-05/5.239, allocations: 20 kB / 1.629 GB, free: 12.93 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008984/5.24, allocations: 385.5 kB / 1.629 GB, free: 12.55 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/5.241, allocations: 490.9 kB / 1.629 GB, free: 12.05 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/5.241, allocations: 4 kB / 1.629 GB, free: 12.05 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/5.242, allocations: 0 / 1.629 GB, free: 12.05 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/5.242, allocations: 8 kB / 1.629 GB, free: 12.04 MB / 427.1 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.004181/5.246, allocations: 1.958 MB / 1.631 GB, free: 9.926 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/5.246, allocations: 142.6 kB / 1.631 GB, free: 9.777 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/5.246, allocations: 68.86 kB / 1.632 GB, free: 9.707 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/5.246, allocations: 8.25 kB / 1.632 GB, free: 9.699 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/5.246, allocations: 38.56 kB / 1.632 GB, free: 9.652 MB / 427.1 MB Notification: Performance of pre-optimization done (n=18): time 4.629e-06/5.246, allocations: 0 / 1.632 GB, free: 9.652 MB / 427.1 MB Notification: Performance of matching and sorting (n=23): time 0.007396/5.254, allocations: 1.155 MB / 1.633 GB, free: 8.398 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/5.254, allocations: 55.41 kB / 1.633 GB, free: 8.332 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/5.254, allocations: 388.9 kB / 1.633 GB, free: 7.945 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/5.254, allocations: 29.7 kB / 1.633 GB, free: 7.91 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/5.255, allocations: 380.9 kB / 1.634 GB, free: 7.535 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/5.255, allocations: 82.89 kB / 1.634 GB, free: 7.453 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/5.255, allocations: 0 / 1.634 GB, free: 7.453 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/5.255, allocations: 330.8 kB / 1.634 GB, free: 7.121 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/5.255, allocations: 121.5 kB / 1.634 GB, free: 7.004 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/5.256, allocations: 412.3 kB / 1.634 GB, free: 6.457 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/5.256, allocations: 211 kB / 1.635 GB, free: 6.254 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/5.256, allocations: 4 kB / 1.635 GB, free: 6.25 MB / 427.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001229/5.257, allocations: 0.5304 MB / 1.635 GB, free: 5.707 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/5.257, allocations: 12 kB / 1.635 GB, free: 5.695 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/5.257, allocations: 11.98 kB / 1.635 GB, free: 5.684 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/5.258, allocations: 57.64 kB / 1.635 GB, free: 5.621 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/5.258, allocations: 140.2 kB / 1.635 GB, free: 5.484 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/5.26, allocations: 1.789 MB / 1.637 GB, free: 3.555 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/5.26, allocations: 31.83 kB / 1.637 GB, free: 3.523 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/5.261, allocations: 39.95 kB / 1.637 GB, free: 3.484 MB / 427.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 () * 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.0001558/5.261, allocations: 124.7 kB / 1.637 GB, free: 3.355 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005351/5.261, allocations: 240.2 kB / 1.638 GB, free: 3.109 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-05/5.261, allocations: 39.53 kB / 1.638 GB, free: 3.07 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/5.262, allocations: 279.6 kB / 1.638 GB, free: 2.789 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/5.262, allocations: 3.984 kB / 1.638 GB, free: 2.785 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/5.262, allocations: 4 kB / 1.638 GB, free: 2.781 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004798/5.263, allocations: 0.5049 MB / 1.638 GB, free: 2.188 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/5.264, allocations: 0.6402 MB / 1.639 GB, free: 1.496 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/5.264, allocations: 4 kB / 1.639 GB, free: 1.492 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/5.264, allocations: 55.91 kB / 1.639 GB, free: 1.438 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/5.264, allocations: 20.84 kB / 1.639 GB, free: 1.414 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/5.265, allocations: 4 kB / 1.639 GB, free: 1.41 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007922/5.265, allocations: 1.229 MB / 1.64 GB, free: 64 kB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/5.265, allocations: 3.953 kB / 1.64 GB, free: 60 kB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3162/5.582, allocations: 397 kB / 1.641 GB, free: 71.11 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/5.582, allocations: 112.4 kB / 1.641 GB, free: 71.02 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-05/5.582, allocations: 6.469 kB / 1.641 GB, free: 71.02 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/5.582, allocations: 9.969 kB / 1.641 GB, free: 71.02 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/5.582, allocations: 22 kB / 1.641 GB, free: 71.02 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/5.583, allocations: 13.98 kB / 1.641 GB, free: 71.02 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0004118/5.583, allocations: 283.7 kB / 1.641 GB, free: 70.93 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.51e-07/5.583, allocations: 0 / 1.641 GB, free: 70.93 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001429/5.584, allocations: 255.6 kB / 1.641 GB, free: 70.93 MB / 427.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 () * 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.004117/5.589, allocations: 2.093 MB / 1.643 GB, free: 70.19 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/5.59, allocations: 416.1 kB / 1.644 GB, free: 70.09 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/5.59, allocations: 0 / 1.644 GB, free: 70.09 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/5.59, allocations: 199.9 kB / 1.644 GB, free: 69.99 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/5.592, allocations: 170.3 kB / 1.644 GB, free: 69.99 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/5.595, allocations: 0.7782 MB / 1.645 GB, free: 69.73 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/5.595, allocations: 0.8261 MB / 1.646 GB, free: 69.03 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/5.596, allocations: 155.9 kB / 1.646 GB, free: 69.02 MB / 427.1 MB Notification: Performance of SimCode: time 1.322e-06/5.596, allocations: 1.25 kB / 1.646 GB, free: 69.02 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.207/8.803, allocations: 17.99 MB / 1.663 GB, free: 68.7 MB / 427.1 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