Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 197.3 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008814/0.0008817, allocations: 87.47 kB / 292.1 MB, free: 5.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.039e-05, allocations: 0 / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 63.24 MB / 0.5115 GB, free: 6.676 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.639/1.753, allocations: 0.7931 GB / 1.305 GB, free: 79.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.754, allocations: 95.56 kB / 1.305 GB, free: 79.75 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.044/3.798, allocations: 0.7078 GB / 2.012 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.342e-06/3.798, allocations: 0 / 2.012 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.432e-05/3.798, allocations: 31.28 kB / 2.013 GB, free: 8.875 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004704/3.803, allocations: 1.576 MB / 2.014 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/3.803, allocations: 12.03 kB / 2.014 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000444/3.803, allocations: 168.9 kB / 2.014 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/3.805, allocations: 310.2 kB / 2.015 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/3.807, allocations: 0.8058 MB / 2.015 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.922e-05/3.807, allocations: 141.4 kB / 2.015 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/3.807, allocations: 111.9 kB / 2.016 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/3.81, allocations: 1.765 MB / 2.017 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/3.81, allocations: 4 kB / 2.017 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/3.81, allocations: 44 kB / 2.017 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.734e-05/3.81, allocations: 81.91 kB / 2.017 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/3.812, allocations: 1.601 MB / 2.019 GB, free: 2.086 MB / 0.5417 GB 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.2873/4.099, allocations: 6.864 MB / 2.026 GB, free: 80.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/4.1, allocations: 0.7829 MB / 2.026 GB, free: 80.91 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/4.101, allocations: 427.6 kB / 2.027 GB, free: 80.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/4.101, allocations: 279.3 kB / 2.027 GB, free: 80.62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/4.101, allocations: 48.27 kB / 2.027 GB, free: 80.58 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 2.504e-06/4.101, allocations: 0 / 2.027 GB, free: 80.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.00906/4.11, allocations: 3.757 MB / 2.031 GB, free: 79.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/4.11, allocations: 114.1 kB / 2.031 GB, free: 79.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/4.111, allocations: 0.9756 MB / 2.032 GB, free: 79.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/4.112, allocations: 48.56 kB / 2.032 GB, free: 79.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/4.112, allocations: 0.5184 MB / 2.032 GB, free: 79.39 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/4.112, allocations: 271.3 kB / 2.033 GB, free: 79.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/4.112, allocations: 17.97 kB / 2.033 GB, free: 79.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/4.112, allocations: 349.2 kB / 2.033 GB, free: 78.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008411/4.113, allocations: 0.5633 MB / 2.034 GB, free: 78.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008747/4.114, allocations: 0.8438 MB / 2.034 GB, free: 78.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/4.115, allocations: 0.6758 MB / 2.035 GB, free: 78.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/4.115, allocations: 3.312 kB / 2.035 GB, free: 78.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003005/4.118, allocations: 1.951 MB / 2.037 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/4.118, allocations: 11.88 kB / 2.037 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/4.118, allocations: 7.875 kB / 2.037 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004594/4.123, allocations: 1.39 MB / 2.038 GB, free: 78.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/4.123, allocations: 144.5 kB / 2.039 GB, free: 78.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/4.126, allocations: 1.9 MB / 2.04 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/4.127, allocations: 117.8 kB / 2.04 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/4.127, allocations: 65.08 kB / 2.041 GB, free: 77.95 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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: 0 * Non-linear torn systems: 1 {9 35} Notification: Performance of prepare postOptimizeDAE: time 0.0002742/4.127, allocations: 168.9 kB / 2.041 GB, free: 77.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/4.128, allocations: 114.6 kB / 2.041 GB, free: 77.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/4.13, allocations: 1.466 MB / 2.042 GB, free: 77.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/4.13, allocations: 11.97 kB / 2.042 GB, free: 77.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/4.131, allocations: 3.469 kB / 2.042 GB, free: 77.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/4.131, allocations: 5.469 kB / 2.042 GB, free: 77.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004831/4.135, allocations: 2.677 MB / 2.045 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/4.135, allocations: 0 / 2.045 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/4.137, allocations: 330.9 kB / 2.045 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/4.137, allocations: 66.06 kB / 2.045 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/4.138, allocations: 41.23 kB / 2.045 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/4.139, allocations: 2.839 MB / 2.048 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/4.139, allocations: 0 / 2.048 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/4.142, allocations: 1.861 MB / 2.05 GB, free: 74.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008066/4.143, allocations: 344.3 kB / 2.05 GB, free: 74.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/4.143, allocations: 36.25 kB / 2.05 GB, free: 74.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/4.144, allocations: 82.2 kB / 2.05 GB, free: 74.37 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/4.144, allocations: 56.69 kB / 2.05 GB, free: 74.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/4.145, allocations: 66.48 kB / 2.05 GB, free: 74.37 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001005/4.146, allocations: 0.7719 MB / 2.051 GB, free: 74.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/4.146, allocations: 0 / 2.051 GB, free: 74.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002106/4.148, allocations: 0.5751 MB / 2.052 GB, free: 74.25 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.005839/4.154, allocations: 3.786 MB / 2.055 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002446/4.156, allocations: 1.433 MB / 2.057 GB, free: 73.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/4.156, allocations: 0.7812 kB / 2.057 GB, free: 73.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/4.157, allocations: 0.8423 MB / 2.058 GB, free: 73.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/4.16, allocations: 0.7185 MB / 2.058 GB, free: 73.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/4.166, allocations: 2.763 MB / 2.061 GB, free: 72.69 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/4.166, allocations: 1.198 MB / 2.062 GB, free: 71.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00158/4.168, allocations: 484.6 kB / 2.063 GB, free: 71.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/4.168, allocations: 453.2 kB / 2.063 GB, free: 71.96 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/4.169, allocations: 3.125 kB / 2.063 GB, free: 71.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08142/4.25, allocations: 63.62 MB / 2.125 GB, free: 70.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/4.25, allocations: 249.4 kB / 2.126 GB, free: 70.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.648/7.898, allocations: 1.781 kB / 2.126 GB, free: 70.12 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat