Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",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.001594/0.001594, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008464/0.0008464, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.792e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08782, allocations: 47.57 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.58/1.668, allocations: 0.7116 GB / 1.073 GB, free: 134 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.668, allocations: 103.8 kB / 1.073 GB, free: 133.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669/3.337, allocations: 0.551 GB / 1.624 GB, free: 55.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/3.337, allocations: 0 / 1.624 GB, free: 55.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/3.337, allocations: 12 kB / 1.624 GB, free: 55.97 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001765/3.339, allocations: 0.9635 MB / 1.625 GB, free: 54.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/3.339, allocations: 14.44 kB / 1.625 GB, free: 54.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/3.339, allocations: 122.5 kB / 1.625 GB, free: 54.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/3.34, allocations: 143.1 kB / 1.625 GB, free: 54.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/3.34, allocations: 480.9 kB / 1.626 GB, free: 54.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/3.34, allocations: 57.95 kB / 1.626 GB, free: 54.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/3.34, allocations: 75.98 kB / 1.626 GB, free: 54.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/3.342, allocations: 0.9016 MB / 1.627 GB, free: 53.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/3.342, allocations: 8 kB / 1.627 GB, free: 53.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/3.342, allocations: 32 kB / 1.627 GB, free: 53.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/3.342, allocations: 19.94 kB / 1.627 GB, free: 53.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/3.343, allocations: 0.8278 MB / 1.628 GB, free: 52.25 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.004083/3.347, allocations: 3.425 MB / 1.631 GB, free: 48.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/3.347, allocations: 0.6275 MB / 1.632 GB, free: 47.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/3.348, allocations: 354.3 kB / 1.632 GB, free: 47.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/3.348, allocations: 20.53 kB / 1.632 GB, free: 47.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/3.348, allocations: 43.12 kB / 1.632 GB, free: 47.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 3.357e-06/3.348, allocations: 0 / 1.632 GB, free: 47.49 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.011/3.359, allocations: 4.352 MB / 1.636 GB, free: 43.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/3.359, allocations: 60.19 kB / 1.636 GB, free: 42.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/3.36, allocations: 499.1 kB / 1.637 GB, free: 42.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/3.36, allocations: 41.7 kB / 1.637 GB, free: 42.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/3.36, allocations: 284.5 kB / 1.637 GB, free: 42.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/3.36, allocations: 256.3 kB / 1.637 GB, free: 41.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/3.36, allocations: 19.94 kB / 1.637 GB, free: 41.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/3.36, allocations: 370.8 kB / 1.638 GB, free: 41.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/3.36, allocations: 429.4 kB / 1.638 GB, free: 41.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/3.361, allocations: 0.4937 MB / 1.639 GB, free: 40.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/3.362, allocations: 0.4901 MB / 1.639 GB, free: 40.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/3.362, allocations: 3.938 kB / 1.639 GB, free: 40.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001661/3.363, allocations: 1.353 MB / 1.64 GB, free: 38.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/3.363, allocations: 4 kB / 1.64 GB, free: 38.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/3.363, allocations: 4 kB / 1.64 GB, free: 38.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/3.364, allocations: 338.6 kB / 1.641 GB, free: 38.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/3.365, allocations: 179.8 kB / 1.641 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/3.37, allocations: 10.2 MB / 1.651 GB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/3.371, allocations: 83.84 kB / 1.651 GB, free: 26.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-05/3.371, allocations: 43.98 kB / 1.651 GB, free: 26.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002231/3.371, allocations: 148.8 kB / 1.651 GB, free: 26.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/3.371, allocations: 59.34 kB / 1.651 GB, free: 26.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/3.373, allocations: 1.298 MB / 1.652 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/3.373, allocations: 8 kB / 1.652 GB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/3.373, allocations: 7.891 kB / 1.653 GB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001299/3.374, allocations: 1.59 MB / 1.654 GB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/3.377, allocations: 2.252 MB / 1.656 GB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/3.377, allocations: 3.953 kB / 1.656 GB, free: 21.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/3.378, allocations: 223.8 kB / 1.656 GB, free: 21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/3.379, allocations: 72.69 kB / 1.657 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/3.379, allocations: 43.91 kB / 1.657 GB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009035/3.38, allocations: 1.44 MB / 1.658 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/3.38, allocations: 4.031 kB / 1.658 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/3.381, allocations: 1.606 MB / 1.66 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/3.382, allocations: 144.4 kB / 1.66 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/3.382, allocations: 31.98 kB / 1.66 GB, free: 17.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/3.383, allocations: 75.8 kB / 1.66 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/3.383, allocations: 56.64 kB / 1.66 GB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/3.383, allocations: 63.94 kB / 1.66 GB, free: 17.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003936/3.383, allocations: 401.1 kB / 1.66 GB, free: 16.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/3.383, allocations: 0 / 1.66 GB, free: 16.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001482/3.385, allocations: 419.8 kB / 1.661 GB, free: 16.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * 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): 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.004167/3.389, allocations: 3.469 MB / 1.664 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00206/3.391, allocations: 1.838 MB / 1.666 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/3.391, allocations: 4 kB / 1.666 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008275/3.392, allocations: 0.6752 MB / 1.667 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/3.394, allocations: 498 kB / 1.667 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/3.399, allocations: 2.12 MB / 1.669 GB, free: 7.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/3.399, allocations: 0.9906 MB / 1.67 GB, free: 6.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001134/3.4, allocations: 277.3 kB / 1.67 GB, free: 6.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/3.401, allocations: 275.3 kB / 1.671 GB, free: 6.199 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/3.401, allocations: 0 / 1.671 GB, free: 6.199 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.339/3.74, allocations: 47.09 MB / 1.717 GB, free: 73.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/3.74, allocations: 214.2 kB / 1.717 GB, free: 73.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/6.979, allocations: 3.812 kB / 1.717 GB, free: 73.02 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat