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.002204/0.002204, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.633/1.633, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009345/0.0009345, allocations: 94.31 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002785, allocations: 7.984 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3073, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.475/7.782, allocations: 3.56 GB / 3.927 GB, free: 154.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/7.782, allocations: 103.5 kB / 3.927 GB, free: 154.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9129/8.695, allocations: 317.6 MB / 4.237 GB, free: 12.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.876e-06/8.695, allocations: 8 kB / 4.237 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/8.695, allocations: 8 kB / 4.237 GB, free: 12.6 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.005067/8.701, allocations: 1.593 MB / 4.239 GB, free: 10.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/8.701, allocations: 8.031 kB / 4.239 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.929e-05/8.701, allocations: 86.47 kB / 4.239 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/8.701, allocations: 55.52 kB / 4.239 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/8.701, allocations: 356.5 kB / 4.239 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/8.701, allocations: 37 kB / 4.239 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/8.702, allocations: 43.94 kB / 4.239 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/8.702, allocations: 0.4951 MB / 4.24 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/8.702, allocations: 7.906 kB / 4.24 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.605e-05/8.702, allocations: 19.95 kB / 4.24 GB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/8.702, allocations: 15.98 kB / 4.24 GB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/8.703, allocations: 0.5934 MB / 4.241 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/8.706, allocations: 2.171 MB / 4.243 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/8.707, allocations: 0.5598 MB / 4.243 GB, free: 6.227 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/8.707, allocations: 0.697 MB / 4.244 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/8.707, allocations: 51 kB / 4.244 GB, free: 5.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.364e-06/8.707, allocations: 0 / 4.244 GB, free: 5.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01444/8.722, allocations: 4.108 MB / 4.248 GB, free: 1.098 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/8.722, allocations: 55.97 kB / 4.248 GB, free: 1.031 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/8.722, allocations: 277.6 kB / 4.248 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/8.722, allocations: 37.7 kB / 4.248 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/8.722, allocations: 193.2 kB / 4.249 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/8.722, allocations: 232.7 kB / 4.249 GB, free: 296 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/8.723, allocations: 8 kB / 4.249 GB, free: 288 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.3079/9.03, allocations: 351.4 kB / 4.249 GB, free: 59.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/9.032, allocations: 316 kB / 4.249 GB, free: 59.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/9.032, allocations: 381.6 kB / 4.25 GB, free: 59.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/9.033, allocations: 351.2 kB / 4.25 GB, free: 59.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/9.033, allocations: 0 / 4.25 GB, free: 59.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002336/9.035, allocations: 1.008 MB / 4.251 GB, free: 59.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/9.035, allocations: 8.281 kB / 4.251 GB, free: 59.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/9.035, allocations: 5.625 kB / 4.251 GB, free: 59.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/9.037, allocations: 349.3 kB / 4.251 GB, free: 59.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/9.038, allocations: 123.8 kB / 4.252 GB, free: 59.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/9.041, allocations: 3.534 MB / 4.255 GB, free: 56.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007331/9.041, allocations: 72.09 kB / 4.255 GB, free: 56.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/9.041, allocations: 27.97 kB / 4.255 GB, free: 56.54 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 () * Number of clocked 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.0003424/9.042, allocations: 199.4 kB / 4.255 GB, free: 56.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/9.042, allocations: 40.75 kB / 4.255 GB, free: 56.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/9.046, allocations: 1.38 MB / 4.257 GB, free: 56.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/9.046, allocations: 8.875 kB / 4.257 GB, free: 56.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/9.046, allocations: 0 / 4.257 GB, free: 56.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003825/9.05, allocations: 1.424 MB / 4.258 GB, free: 55.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/9.053, allocations: 1.726 MB / 4.26 GB, free: 55.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/9.053, allocations: 6.562 kB / 4.26 GB, free: 55.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/9.054, allocations: 118.1 kB / 4.26 GB, free: 55.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/9.056, allocations: 390.2 kB / 4.26 GB, free: 55.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/9.056, allocations: 21.94 kB / 4.26 GB, free: 55.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/9.057, allocations: 0.8862 MB / 4.261 GB, free: 55.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/9.057, allocations: 6.594 kB / 4.261 GB, free: 55.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/9.061, allocations: 1.685 MB / 4.263 GB, free: 54.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/9.061, allocations: 126.3 kB / 4.263 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/9.061, allocations: 23.28 kB / 4.263 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006233/9.062, allocations: 55.53 kB / 4.263 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/9.062, allocations: 43.05 kB / 4.263 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/9.062, allocations: 29.56 kB / 4.263 GB, free: 54.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002798/9.063, allocations: 223.4 kB / 4.263 GB, free: 54.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/9.063, allocations: 3.906 kB / 4.263 GB, free: 54.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002264/9.065, allocations: 0.531 MB / 4.264 GB, free: 54.7 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 () * Number of clocked 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.007831/9.073, allocations: 3.407 MB / 4.267 GB, free: 53.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00195/9.075, allocations: 1.006 MB / 4.268 GB, free: 53.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/9.075, allocations: 6.969 kB / 4.268 GB, free: 53.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000783/9.075, allocations: 417.2 kB / 4.268 GB, free: 53.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/9.077, allocations: 284.9 kB / 4.269 GB, free: 53.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/9.084, allocations: 4.632 MB / 4.273 GB, free: 51.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/9.085, allocations: 0.8649 MB / 4.274 GB, free: 51.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00063/9.085, allocations: 133.2 kB / 4.274 GB, free: 51.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/9.086, allocations: 168.5 kB / 4.274 GB, free: 51.24 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/9.086, allocations: 0 / 4.274 GB, free: 51.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06717/9.153, allocations: 36.43 MB / 4.31 GB, free: 49.97 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/9.153, allocations: 231.9 kB / 4.31 GB, free: 49.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/12.45, allocations: 0 / 4.31 GB, free: 49.71 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