Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001401/0.001401, allocations: 175.3 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 82.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.978e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 47.59 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.498/8.613, allocations: 3.559 GB / 3.914 GB, free: 8.703 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004117/8.613, allocations: 95.94 kB / 3.914 GB, free: 8.609 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.326/9.939, allocations: 314 MB / 4.221 GB, free: 37.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/9.939, allocations: 0 / 4.221 GB, free: 37.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/9.939, allocations: 11.98 kB / 4.221 GB, free: 37.58 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005584/9.945, allocations: 1.551 MB / 4.222 GB, free: 35.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/9.945, allocations: 8.031 kB / 4.222 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/9.945, allocations: 67.42 kB / 4.223 GB, free: 35.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/9.946, allocations: 359.6 kB / 4.223 GB, free: 35.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/9.946, allocations: 12 kB / 4.223 GB, free: 35.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/9.946, allocations: 30.06 kB / 4.223 GB, free: 35.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007867/9.947, allocations: 0.5531 MB / 4.223 GB, free: 34.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/9.947, allocations: 439.8 kB / 4.224 GB, free: 34.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/9.947, allocations: 4 kB / 4.224 GB, free: 34.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/9.947, allocations: 0 / 4.224 GB, free: 34.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/9.947, allocations: 8 kB / 4.224 GB, free: 34.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/9.95, allocations: 2.077 MB / 4.226 GB, free: 32.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009208/9.951, allocations: 0.5296 MB / 4.226 GB, free: 31.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/9.951, allocations: 242.4 kB / 4.227 GB, free: 31.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004489/9.952, allocations: 0.697 MB / 4.227 GB, free: 30.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/9.952, allocations: 39 kB / 4.227 GB, free: 30.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 1.854e-06/9.952, allocations: 0 / 4.227 GB, free: 30.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.009533/9.961, allocations: 2.826 MB / 4.23 GB, free: 27.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/9.961, allocations: 55.97 kB / 4.23 GB, free: 27.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/9.962, allocations: 206.9 kB / 4.23 GB, free: 27.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/9.962, allocations: 29.7 kB / 4.23 GB, free: 27.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/9.962, allocations: 196.9 kB / 4.231 GB, free: 27.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/9.962, allocations: 212.8 kB / 4.231 GB, free: 26.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/9.962, allocations: 0 / 4.231 GB, free: 26.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/9.962, allocations: 350.8 kB / 4.231 GB, free: 26.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/9.962, allocations: 257.5 kB / 4.231 GB, free: 26.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/9.963, allocations: 328.1 kB / 4.232 GB, free: 25.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/9.963, allocations: 360.4 kB / 4.232 GB, free: 25.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/9.963, allocations: 8 kB / 4.232 GB, free: 25.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001586/9.965, allocations: 0.9041 MB / 4.233 GB, free: 24.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/9.965, allocations: 4 kB / 4.233 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/9.965, allocations: 8.156 kB / 4.233 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/9.966, allocations: 262.4 kB / 4.233 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/9.967, allocations: 123.8 kB / 4.233 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/9.969, allocations: 3.332 MB / 4.237 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/9.969, allocations: 52.05 kB / 4.237 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/9.97, allocations: 27.98 kB / 4.237 GB, free: 20.63 MB / 426.7 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.0002466/9.97, allocations: 120.7 kB / 4.237 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003884/9.974, allocations: 1.2 MB / 4.238 GB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/9.974, allocations: 39.58 kB / 4.238 GB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/9.977, allocations: 1.247 MB / 4.239 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/9.978, allocations: 4 kB / 4.239 GB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/9.978, allocations: 11.94 kB / 4.239 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003226/9.981, allocations: 1.301 MB / 4.24 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/9.984, allocations: 1.523 MB / 4.242 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/9.984, allocations: 3.953 kB / 4.242 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/9.984, allocations: 119.8 kB / 4.242 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/9.986, allocations: 300.5 kB / 4.242 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/9.986, allocations: 15.98 kB / 4.242 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009376/9.987, allocations: 0.7983 MB / 4.243 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/9.987, allocations: 7.969 kB / 4.243 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/9.991, allocations: 1.518 MB / 4.245 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/9.991, allocations: 112.7 kB / 4.245 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/9.991, allocations: 8 kB / 4.245 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/9.992, allocations: 47.89 kB / 4.245 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/9.992, allocations: 44.48 kB / 4.245 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/9.992, allocations: 31.98 kB / 4.245 GB, free: 11.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001938/9.992, allocations: 168.5 kB / 4.245 GB, free: 11.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/9.992, allocations: 0 / 4.245 GB, free: 11.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002452/9.995, allocations: 0.5033 MB / 4.246 GB, free: 11.28 MB / 426.7 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.006208/10, allocations: 3.352 MB / 4.249 GB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/10, allocations: 0.8769 MB / 4.25 GB, free: 6.992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/10, allocations: 4 kB / 4.25 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005299/10, allocations: 354 kB / 4.25 GB, free: 6.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/10, allocations: 225 kB / 4.25 GB, free: 6.422 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/10.01, allocations: 1.234 MB / 4.251 GB, free: 5.141 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/10.01, allocations: 0.8609 MB / 4.252 GB, free: 4.254 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005892/10.01, allocations: 116.3 kB / 4.252 GB, free: 4.141 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/10.01, allocations: 167.4 kB / 4.253 GB, free: 3.977 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/10.01, allocations: 0 / 4.253 GB, free: 3.977 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.776/11.78, allocations: 27.61 MB / 4.279 GB, free: 62.19 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/11.78, allocations: 149.1 kB / 4.28 GB, free: 62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.882/15.67, allocations: 3.938 kB / 4.28 GB, free: 62 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat