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.001555/0.00156, allocations: 184.4 kB / 16.4 MB, free: 5.75 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.992/1.992, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001155/0.001155, allocations: 96.36 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004037, allocations: 8 kB / 327.1 MB, free: 96 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3311, allocations: 47.58 MB / 374.6 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.5284/0.8596, allocations: 137.3 MB / 0.4999 GB, free: 2.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.863, allocations: 1.944 MB / 0.5018 GB, free: 1.992 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.8635, allocations: 3.219 kB / 0.5018 GB, free: 1.992 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.8642, allocations: 144 kB / 0.5019 GB, free: 1.988 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.8652, allocations: 275.4 kB / 0.5022 GB, free: 1.984 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.8664, allocations: 269.9 kB / 0.5025 GB, free: 1.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009601/0.8674, allocations: 490.5 kB / 0.5029 GB, free: 1.984 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.8676, allocations: 72.67 kB / 0.503 GB, free: 1.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.8692, allocations: 436.6 kB / 0.5034 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/0.8696, allocations: 175 kB / 0.5036 GB, free: 1.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.614e-05/0.8696, allocations: 16.94 kB / 0.5036 GB, free: 1.957 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.8701, allocations: 101 kB / 0.5037 GB, free: 1.957 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.8702, allocations: 77.08 kB / 0.5038 GB, free: 1.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.8705, allocations: 89.7 kB / 0.5039 GB, free: 17.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.8711, allocations: 388.5 kB / 0.5042 GB, free: 17.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.8711, allocations: 0 / 0.5042 GB, free: 17.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8712, allocations: 0 / 0.5042 GB, free: 17.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.8712, allocations: 2.812 kB / 0.5042 GB, free: 17.9 MB / 394.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.0009778/0.8722, allocations: 0.5167 MB / 0.5047 GB, free: 17.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.8722, allocations: 7.719 kB / 0.5047 GB, free: 17.47 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.8723, allocations: 65.39 kB / 0.5048 GB, free: 17.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004018/0.8727, allocations: 49.42 kB / 0.5049 GB, free: 17.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.8732, allocations: 272.6 kB / 0.5051 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.8733, allocations: 19.34 kB / 0.5051 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.8734, allocations: 30.34 kB / 0.5052 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.874, allocations: 311 kB / 0.5055 GB, free: 17.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.8741, allocations: 7.188 kB / 0.5055 GB, free: 17.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/0.8741, allocations: 8.969 kB / 0.5055 GB, free: 17.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.8742, allocations: 5.375 kB / 0.5055 GB, free: 17.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.8746, allocations: 206.6 kB / 0.5057 GB, free: 17.09 MB / 394.7 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.00255/0.8772, allocations: 1.577 MB / 0.5072 GB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.8777, allocations: 177.1 kB / 0.5074 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.8777, allocations: 8.812 kB / 0.5074 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.8778, allocations: 38 kB / 0.5074 GB, free: 15.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.495e-06/0.8778, allocations: 0 / 0.5074 GB, free: 15.83 MB / 394.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.009155/0.887, allocations: 1.621 MB / 0.509 GB, free: 15.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.8871, allocations: 58.17 kB / 0.5091 GB, free: 15.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.8874, allocations: 255.9 kB / 0.5093 GB, free: 14.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/0.8875, allocations: 34.52 kB / 0.5093 GB, free: 14.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.8877, allocations: 223.5 kB / 0.5096 GB, free: 14.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.8878, allocations: 105.4 kB / 0.5097 GB, free: 14.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.8878, allocations: 10.94 kB / 0.5097 GB, free: 14.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.888, allocations: 325.4 kB / 0.51 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.8882, allocations: 89.47 kB / 0.5101 GB, free: 14.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.8886, allocations: 190.1 kB / 0.5102 GB, free: 14.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.889, allocations: 114.5 kB / 0.5104 GB, free: 14.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.889, allocations: 1.031 kB / 0.5104 GB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001165/0.8902, allocations: 374.9 kB / 0.5107 GB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.8902, allocations: 11.28 kB / 0.5107 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.8903, allocations: 6.969 kB / 0.5107 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.8906, allocations: 78.97 kB / 0.5108 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.8912, allocations: 77.36 kB / 0.5109 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.8932, allocations: 1.874 MB / 0.5127 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.8938, allocations: 21.39 kB / 0.5127 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.8939, allocations: 39.91 kB / 0.5128 GB, free: 12.33 MB / 394.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 () * Number of clocked 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.0002803/0.8942, allocations: 154.5 kB / 0.5129 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.8943, allocations: 33.59 kB / 0.5129 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.8957, allocations: 443.3 kB / 0.5134 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.8958, allocations: 2.719 kB / 0.5134 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8958, allocations: 0 / 0.5134 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008167/0.8966, allocations: 0.56 MB / 0.5139 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.8982, allocations: 0.7255 MB / 0.5146 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.8982, allocations: 7.156 kB / 0.5146 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.8988, allocations: 69.44 kB / 0.5147 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.899, allocations: 24.06 kB / 0.5147 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.899, allocations: 17.5 kB / 0.5147 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.9002, allocations: 1.28 MB / 0.516 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9003, allocations: 4.766 kB / 0.516 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.9015, allocations: 0.4965 MB / 0.5165 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.9018, allocations: 100.2 kB / 0.5166 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/0.9019, allocations: 6.406 kB / 0.5166 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.9023, allocations: 19.34 kB / 0.5166 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.9024, allocations: 26.14 kB / 0.5166 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/0.9025, allocations: 30.66 kB / 0.5167 GB, free: 9.703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003128/0.9028, allocations: 188 kB / 0.5168 GB, free: 9.621 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9029, allocations: 3.906 kB / 0.5168 GB, free: 9.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008642/0.9037, allocations: 121.2 kB / 0.517 GB, free: 9.617 MB / 394.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 () * Number of clocked 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.002013/0.9058, allocations: 1.227 MB / 0.5182 GB, free: 8.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.9069, allocations: 366.2 kB / 0.5185 GB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.9069, allocations: 7.594 kB / 0.5185 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.9074, allocations: 227.3 kB / 0.5187 GB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.9091, allocations: 157.3 kB / 0.5189 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.9149, allocations: 3.869 MB / 0.5227 GB, free: 5.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.9154, allocations: 0.7726 MB / 0.5234 GB, free: 4.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/0.916, allocations: 135.3 kB / 0.5235 GB, free: 4.93 MB / 394.7 MB Notification: Performance of SimCode: time 2.615e-06/0.9161, allocations: 0 / 0.5235 GB, free: 4.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.976/3.892, allocations: 8.802 MB / 0.5321 GB, free: 2.461 MB / 394.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