Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001268/0.001268, allocations: 180 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.583/1.583, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0009993/0.0009991, allocations: 104.8 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002677, allocations: 11.98 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3079, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.87/15.17, allocations: 6.597 GB / 6.964 GB, free: 27.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/15.17, allocations: 79.97 kB / 6.965 GB, free: 27.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025/18.2, allocations: 0.8358 GB / 7.8 GB, free: 31.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.224e-06/18.2, allocations: 0 / 7.8 GB, free: 31.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/18.2, allocations: 12 kB / 7.8 GB, free: 31.45 MB / 458.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.01437/18.21, allocations: 2.921 MB / 7.803 GB, free: 28.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/18.21, allocations: 8.031 kB / 7.803 GB, free: 28.65 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/18.21, allocations: 82.48 kB / 7.803 GB, free: 28.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/18.21, allocations: 63.52 kB / 7.803 GB, free: 28.51 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/18.22, allocations: 367 kB / 7.804 GB, free: 28.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/18.22, allocations: 33 kB / 7.804 GB, free: 28.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/18.22, allocations: 51.89 kB / 7.804 GB, free: 28.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/18.22, allocations: 0.5648 MB / 7.804 GB, free: 27.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/18.22, allocations: 3.906 kB / 7.804 GB, free: 27.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/18.22, allocations: 16 kB / 7.804 GB, free: 27.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/18.22, allocations: 19.83 kB / 7.804 GB, free: 27.42 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/18.22, allocations: 0.7183 MB / 7.805 GB, free: 26.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/18.23, allocations: 11.64 MB / 7.816 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/18.23, allocations: 0.5245 MB / 7.817 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02384/18.26, allocations: 20.92 MB / 7.837 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/18.26, allocations: 46.94 kB / 7.837 GB, free: 3.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 2.335e-06/18.26, allocations: 0 / 7.837 GB, free: 3.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.006963/18.26, allocations: 2.16 MB / 7.84 GB, free: 1.082 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/18.26, allocations: 59.97 kB / 7.84 GB, free: 1.012 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/18.26, allocations: 286.2 kB / 7.84 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/18.26, allocations: 41.69 kB / 7.84 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/18.26, allocations: 200.3 kB / 7.84 GB, free: 492 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/18.26, allocations: 193.1 kB / 7.84 GB, free: 296 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/18.26, allocations: 16 kB / 7.84 GB, free: 280 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.3132/18.58, allocations: 347.4 kB / 7.841 GB, free: 56.99 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/18.58, allocations: 229.3 kB / 7.841 GB, free: 56.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006849/18.58, allocations: 330 kB / 7.841 GB, free: 56.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/18.58, allocations: 281.7 kB / 7.841 GB, free: 56.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/18.58, allocations: 2.234 kB / 7.841 GB, free: 56.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001789/18.58, allocations: 0.7316 MB / 7.842 GB, free: 56.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/18.58, allocations: 6.906 kB / 7.842 GB, free: 56.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/18.58, allocations: 3.25 kB / 7.842 GB, free: 56.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/18.58, allocations: 108 kB / 7.842 GB, free: 56.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/18.58, allocations: 131.7 kB / 7.842 GB, free: 56.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/18.58, allocations: 3.282 MB / 7.846 GB, free: 53.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/18.58, allocations: 38.48 kB / 7.846 GB, free: 53.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.191e-05/18.58, allocations: 39.12 kB / 7.846 GB, free: 53.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 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.0003295/18.58, allocations: 198.9 kB / 7.846 GB, free: 53.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/18.58, allocations: 47.56 kB / 7.846 GB, free: 53.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/18.59, allocations: 0.8318 MB / 7.847 GB, free: 53.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/18.59, allocations: 5.594 kB / 7.847 GB, free: 53.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/18.59, allocations: 3.094 kB / 7.847 GB, free: 53.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/18.59, allocations: 0.7724 MB / 7.848 GB, free: 53.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/18.59, allocations: 1.33 MB / 7.849 GB, free: 52.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/18.59, allocations: 4.969 kB / 7.849 GB, free: 52.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/18.59, allocations: 103.6 kB / 7.849 GB, free: 52.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009248/18.59, allocations: 149.9 kB / 7.849 GB, free: 52.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/18.59, allocations: 19.25 kB / 7.849 GB, free: 52.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002729/18.59, allocations: 0.6567 MB / 7.85 GB, free: 52.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/18.59, allocations: 0 / 7.85 GB, free: 52.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/18.59, allocations: 0.9413 MB / 7.851 GB, free: 51.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/18.59, allocations: 130 kB / 7.851 GB, free: 51.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/18.59, allocations: 10.91 kB / 7.851 GB, free: 51.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/18.59, allocations: 33.14 kB / 7.851 GB, free: 51.87 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/18.59, allocations: 35.3 kB / 7.851 GB, free: 51.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/18.59, allocations: 33.88 kB / 7.851 GB, free: 51.87 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002468/18.59, allocations: 251.5 kB / 7.851 GB, free: 51.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/18.59, allocations: 3.438 kB / 7.851 GB, free: 51.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009196/18.6, allocations: 1.983 MB / 7.853 GB, free: 51.79 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01893/18.62, allocations: 4.654 MB / 7.858 GB, free: 50.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002019/18.62, allocations: 0.8161 MB / 7.858 GB, free: 50.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/18.62, allocations: 1.203 kB / 7.858 GB, free: 50.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006272/18.62, allocations: 300.2 kB / 7.859 GB, free: 50.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/18.63, allocations: 257.6 kB / 7.859 GB, free: 50.58 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/18.64, allocations: 5.507 MB / 7.864 GB, free: 48.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/18.64, allocations: 0.8448 MB / 7.865 GB, free: 47.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008766/18.64, allocations: 144.6 kB / 7.865 GB, free: 47.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/18.64, allocations: 156.2 kB / 7.865 GB, free: 47.32 MB / 474.7 MB Notification: Performance of SimCode: time 1.021e-06/18.64, allocations: 0 / 7.865 GB, free: 47.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/18.78, allocations: 72.4 MB / 7.936 GB, free: 43.04 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/18.78, allocations: 242.6 kB / 7.936 GB, free: 42.79 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.706/23.49, allocations: 0 / 7.936 GB, free: 42.79 MB / 474.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat