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.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.002137/0.002137, allocations: 177.8 kB / 8.36 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.267/2.267, 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.001138/0.001138, allocations: 95.38 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.117e-05, allocations: 4 kB / 314.9 MB, free: 9.039 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3506, allocations: 47.56 MB / 362.4 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.26/10.61, allocations: 3.559 GB / 3.913 GB, free: 25.1 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004645/10.61, allocations: 101.8 kB / 3.913 GB, free: 25.04 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.796/12.41, allocations: 314 MB / 4.22 GB, free: 53.3 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.956e-06/12.41, allocations: 0 / 4.22 GB, free: 53.3 MB / 427.1 MB Notification: Performance of Transformations before backend: time 3.188e-05/12.41, allocations: 11.94 kB / 4.22 GB, free: 53.29 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.006457/12.41, allocations: 1.552 MB / 4.221 GB, free: 51.7 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/12.41, allocations: 8.031 kB / 4.222 GB, free: 51.69 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005195/12.41, allocations: 66.38 kB / 4.222 GB, free: 51.63 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/12.41, allocations: 361.9 kB / 4.222 GB, free: 51.24 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/12.41, allocations: 16 kB / 4.222 GB, free: 51.22 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/12.41, allocations: 28 kB / 4.222 GB, free: 51.2 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0014/12.42, allocations: 0.557 MB / 4.223 GB, free: 50.64 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/12.42, allocations: 431.9 kB / 4.223 GB, free: 50.21 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/12.42, allocations: 11.98 kB / 4.223 GB, free: 50.2 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/12.42, allocations: 0 / 4.223 GB, free: 50.2 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/12.42, allocations: 12 kB / 4.223 GB, free: 50.18 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/12.42, allocations: 2.07 MB / 4.225 GB, free: 47.92 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/12.42, allocations: 0.5154 MB / 4.225 GB, free: 47.4 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/12.42, allocations: 242.4 kB / 4.226 GB, free: 47.16 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006874/12.43, allocations: 0.7031 MB / 4.226 GB, free: 46.31 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/12.43, allocations: 39 kB / 4.226 GB, free: 46.27 MB / 427.1 MB Notification: Performance of pre-optimization done (n=53): time 3.296e-06/12.43, allocations: 0 / 4.226 GB, free: 46.27 MB / 427.1 MB Notification: Performance of matching and sorting (n=65): time 0.01811/12.44, allocations: 2.83 MB / 4.229 GB, free: 43.38 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/12.44, allocations: 55.97 kB / 4.229 GB, free: 43.32 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/12.44, allocations: 206.9 kB / 4.229 GB, free: 43.11 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/12.44, allocations: 33.7 kB / 4.229 GB, free: 43.07 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/12.44, allocations: 251.4 kB / 4.23 GB, free: 42.82 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000208/12.44, allocations: 220.7 kB / 4.23 GB, free: 42.61 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/12.44, allocations: 0 / 4.23 GB, free: 42.61 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 8.602e-05/12.44, allocations: 334.8 kB / 4.23 GB, free: 42.27 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/12.45, allocations: 265.4 kB / 4.23 GB, free: 42.01 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/12.45, allocations: 328.1 kB / 4.231 GB, free: 41.67 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/12.45, allocations: 360.4 kB / 4.231 GB, free: 41.32 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/12.45, allocations: 0 / 4.231 GB, free: 41.32 MB / 427.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002949/12.45, allocations: 0.8967 MB / 4.232 GB, free: 40.41 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/12.45, allocations: 10.5 kB / 4.232 GB, free: 40.4 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/12.45, allocations: 3.938 kB / 4.232 GB, free: 40.39 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/12.45, allocations: 274.3 kB / 4.232 GB, free: 40.12 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/12.45, allocations: 115.9 kB / 4.232 GB, free: 40 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/12.46, allocations: 3.332 MB / 4.236 GB, free: 36.42 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/12.46, allocations: 55.92 kB / 4.236 GB, free: 36.37 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/12.46, allocations: 27.98 kB / 4.236 GB, free: 36.34 MB / 427.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] 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 (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003619/12.46, allocations: 126.3 kB / 4.236 GB, free: 36.21 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007525/12.47, allocations: 1.196 MB / 4.237 GB, free: 35 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/12.47, allocations: 39.53 kB / 4.237 GB, free: 34.96 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006828/12.47, allocations: 1.243 MB / 4.238 GB, free: 33.7 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/12.47, allocations: 8 kB / 4.238 GB, free: 33.69 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/12.47, allocations: 3.953 kB / 4.238 GB, free: 33.69 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006178/12.48, allocations: 1.297 MB / 4.24 GB, free: 32.32 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/12.48, allocations: 1.531 MB / 4.241 GB, free: 30.75 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/12.48, allocations: 0 / 4.241 GB, free: 30.75 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/12.48, allocations: 123.8 kB / 4.241 GB, free: 30.63 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/12.49, allocations: 308.3 kB / 4.241 GB, free: 30.33 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/12.49, allocations: 19.94 kB / 4.241 GB, free: 30.31 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/12.49, allocations: 0.7905 MB / 4.242 GB, free: 29.5 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/12.49, allocations: 0 / 4.242 GB, free: 29.5 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006765/12.5, allocations: 1.518 MB / 4.244 GB, free: 27.95 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/12.5, allocations: 112.8 kB / 4.244 GB, free: 27.82 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/12.5, allocations: 11.95 kB / 4.244 GB, free: 27.8 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/12.5, allocations: 47.86 kB / 4.244 GB, free: 27.76 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/12.5, allocations: 48.44 kB / 4.244 GB, free: 27.71 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/12.5, allocations: 31.97 kB / 4.244 GB, free: 27.68 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.000248/12.5, allocations: 176.5 kB / 4.244 GB, free: 27.51 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.71e-07/12.5, allocations: 0 / 4.244 GB, free: 27.51 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.002463/12.5, allocations: 0.4916 MB / 4.245 GB, free: 27.02 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0103/12.51, allocations: 3.357 MB / 4.248 GB, free: 23.76 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/12.51, allocations: 0.873 MB / 4.249 GB, free: 22.87 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/12.51, allocations: 320 / 4.249 GB, free: 22.87 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/12.51, allocations: 366 kB / 4.249 GB, free: 22.51 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/12.52, allocations: 220.2 kB / 4.249 GB, free: 22.29 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004966/12.52, allocations: 1.277 MB / 4.251 GB, free: 20.96 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/12.52, allocations: 0.8687 MB / 4.251 GB, free: 20.07 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005071/12.52, allocations: 163.4 kB / 4.252 GB, free: 19.91 MB / 427.1 MB Notification: Performance of SimCode: time 1.403e-06/12.52, allocations: 0 / 4.252 GB, free: 19.91 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.698/16.22, allocations: 21.91 MB / 4.273 GB, free: 67.05 MB / 427.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.MoistAir_res.mat does not exist to compare? outputFormat=mat