Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.002413/0.002419, allocations: 180.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.249/2.249, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001137/0.001137, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.707e-05/4.756e-05, allocations: 0 / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.16, allocations: 47.57 MB / 369.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.882/2.042, allocations: 0.5393 GB / 0.8998 GB, free: 117.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/2.043, allocations: 97.83 kB / 0.8999 GB, free: 117.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7853/2.828, allocations: 146.3 MB / 1.043 GB, free: 96.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/2.828, allocations: 0 / 1.043 GB, free: 96.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/2.828, allocations: 5.938 kB / 1.043 GB, free: 96.39 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001254/2.829, allocations: 0.597 MB / 1.043 GB, free: 96.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/2.829, allocations: 9.906 kB / 1.043 GB, free: 96.03 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.488e-05/2.83, allocations: 57.14 kB / 1.043 GB, free: 95.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/2.83, allocations: 39.23 kB / 1.043 GB, free: 95.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/2.83, allocations: 281.2 kB / 1.044 GB, free: 95.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/2.83, allocations: 22.06 kB / 1.044 GB, free: 95.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/2.831, allocations: 23.89 kB / 1.044 GB, free: 95.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/2.831, allocations: 311.6 kB / 1.044 GB, free: 95.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/2.831, allocations: 0 / 1.044 GB, free: 95.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/2.831, allocations: 18.52 kB / 1.044 GB, free: 95.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/2.831, allocations: 10.12 kB / 1.044 GB, free: 95.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006602/2.832, allocations: 198.7 kB / 1.044 GB, free: 95.68 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.003924/2.836, allocations: 1.576 MB / 1.046 GB, free: 94.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/2.837, allocations: 168.4 kB / 1.046 GB, free: 94.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/2.837, allocations: 87.89 kB / 1.046 GB, free: 94.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/2.837, allocations: 3.125 kB / 1.046 GB, free: 94.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/2.837, allocations: 52.58 kB / 1.046 GB, free: 94.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 3.857e-06/2.837, allocations: 0 / 1.046 GB, free: 94.42 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008321/2.845, allocations: 1.247 MB / 1.047 GB, free: 94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/2.845, allocations: 58.61 kB / 1.047 GB, free: 93.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/2.846, allocations: 219.2 kB / 1.048 GB, free: 93.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/2.846, allocations: 32.8 kB / 1.048 GB, free: 93.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/2.846, allocations: 232.6 kB / 1.048 GB, free: 93.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.143e-05/2.846, allocations: 100 kB / 1.048 GB, free: 93.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/2.846, allocations: 7.125 kB / 1.048 GB, free: 93.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/2.846, allocations: 322.5 kB / 1.048 GB, free: 93.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/2.846, allocations: 83.34 kB / 1.048 GB, free: 93.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/2.847, allocations: 186.2 kB / 1.049 GB, free: 93.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/2.847, allocations: 116.8 kB / 1.049 GB, free: 93.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/2.847, allocations: 5.688 kB / 1.049 GB, free: 93.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009676/2.848, allocations: 385.8 kB / 1.049 GB, free: 93.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/2.848, allocations: 3.844 kB / 1.049 GB, free: 93.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/2.848, allocations: 3.844 kB / 1.049 GB, free: 93.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/2.849, allocations: 69.84 kB / 1.049 GB, free: 93.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/2.849, allocations: 86.72 kB / 1.049 GB, free: 93.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/2.851, allocations: 1.85 MB / 1.051 GB, free: 91.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/2.851, allocations: 22.2 kB / 1.051 GB, free: 91.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/2.851, allocations: 36.72 kB / 1.051 GB, free: 91.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0001666/2.851, allocations: 131.2 kB / 1.051 GB, free: 91.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/2.851, allocations: 34.39 kB / 1.051 GB, free: 91.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/2.853, allocations: 442.3 kB / 1.052 GB, free: 91.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/2.853, allocations: 3.469 kB / 1.052 GB, free: 91.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/2.853, allocations: 0 / 1.052 GB, free: 91.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000628/2.854, allocations: 0.5535 MB / 1.052 GB, free: 90.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/2.855, allocations: 0.72 MB / 1.053 GB, free: 90.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/2.855, allocations: 0 / 1.053 GB, free: 90.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/2.856, allocations: 79.06 kB / 1.053 GB, free: 90.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/2.856, allocations: 19.73 kB / 1.053 GB, free: 90.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/2.856, allocations: 15.28 kB / 1.053 GB, free: 90.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008871/2.857, allocations: 1.277 MB / 1.054 GB, free: 89.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.857, allocations: 3.953 kB / 1.054 GB, free: 89.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/2.858, allocations: 495.2 kB / 1.055 GB, free: 88.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/2.858, allocations: 106.2 kB / 1.055 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/2.858, allocations: 6.75 kB / 1.055 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/2.858, allocations: 20.3 kB / 1.055 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/2.858, allocations: 27.41 kB / 1.055 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/2.859, allocations: 28.27 kB / 1.055 GB, free: 88.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002636/2.859, allocations: 186.2 kB / 1.055 GB, free: 88.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.859, allocations: 0 / 1.055 GB, free: 88.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001041/2.86, allocations: 190.2 kB / 1.055 GB, free: 88.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.00258/2.862, allocations: 1.848 MB / 1.057 GB, free: 87.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009677/2.863, allocations: 371.7 kB / 1.057 GB, free: 87.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/2.864, allocations: 3.469 kB / 1.057 GB, free: 87.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/2.864, allocations: 227.6 kB / 1.058 GB, free: 87.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/2.865, allocations: 159.7 kB / 1.058 GB, free: 87.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/2.867, allocations: 0.6093 MB / 1.058 GB, free: 87.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/2.868, allocations: 0.7695 MB / 1.059 GB, free: 86.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/2.868, allocations: 136.1 kB / 1.059 GB, free: 86.53 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/2.868, allocations: 0 / 1.059 GB, free: 86.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.15/6.018, allocations: 12.85 MB / 1.072 GB, free: 85.92 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat