Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",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.00134/0.00134, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.436/1.436, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.001073/0.001073, allocations: 90.66 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.643e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0809/0.08094, allocations: 47.58 MB / 370.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7148/0.7958, allocations: 338 MB / 0.6915 GB, free: 2.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.7961, allocations: 98.23 kB / 0.6916 GB, free: 2.262 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3492/1.145, allocations: 86 MB / 0.7756 GB, free: 94.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.993e-06/1.145, allocations: 384 / 0.7756 GB, free: 94.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/1.145, allocations: 8 kB / 0.7756 GB, free: 94.5 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006238/1.146, allocations: 0.5303 MB / 0.7761 GB, free: 93.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.146, allocations: 8.031 kB / 0.7761 GB, free: 93.92 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/1.146, allocations: 66.53 kB / 0.7762 GB, free: 93.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/1.146, allocations: 35.72 kB / 0.7762 GB, free: 93.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/1.147, allocations: 286.4 kB / 0.7765 GB, free: 93.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/1.147, allocations: 20.55 kB / 0.7765 GB, free: 93.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/1.147, allocations: 24 kB / 0.7765 GB, free: 93.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/1.147, allocations: 285.4 kB / 0.7768 GB, free: 93.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/1.147, allocations: 4 kB / 0.7768 GB, free: 93.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/1.147, allocations: 16 kB / 0.7768 GB, free: 93.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/1.147, allocations: 4 kB / 0.7768 GB, free: 93.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/1.148, allocations: 198.1 kB / 0.777 GB, free: 92.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/1.149, allocations: 1.289 MB / 0.7783 GB, free: 91.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/1.149, allocations: 184.7 kB / 0.7784 GB, free: 91.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/1.149, allocations: 85.23 kB / 0.7785 GB, free: 91.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/1.149, allocations: 174.4 kB / 0.7787 GB, free: 91.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/1.149, allocations: 34.75 kB / 0.7787 GB, free: 90.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/1.149, allocations: 7.938 kB / 0.7787 GB, free: 90.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.0019/1.151, allocations: 0.8984 MB / 0.7796 GB, free: 90.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/1.151, allocations: 63.34 kB / 0.7797 GB, free: 89.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/1.152, allocations: 219 kB / 0.7799 GB, free: 89.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.152, allocations: 37.64 kB / 0.7799 GB, free: 89.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/1.152, allocations: 179.9 kB / 0.7801 GB, free: 89.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/1.152, allocations: 94.64 kB / 0.7802 GB, free: 89.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/1.152, allocations: 12 kB / 0.7802 GB, free: 89.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/1.152, allocations: 330.8 kB / 0.7805 GB, free: 89.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/1.152, allocations: 80 kB / 0.7806 GB, free: 88.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/1.152, allocations: 175.8 kB / 0.7807 GB, free: 88.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/1.152, allocations: 100.4 kB / 0.7808 GB, free: 88.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.152, allocations: 0 / 0.7808 GB, free: 88.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004722/1.153, allocations: 443.9 kB / 0.7813 GB, free: 88.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.153, allocations: 7.953 kB / 0.7813 GB, free: 88.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.153, allocations: 4 kB / 0.7813 GB, free: 88.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/1.153, allocations: 38.05 kB / 0.7813 GB, free: 88.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/1.153, allocations: 83.89 kB / 0.7814 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/1.154, allocations: 2.556 MB / 0.7839 GB, free: 85.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.155, allocations: 28.14 kB / 0.7839 GB, free: 85.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/1.155, allocations: 12 kB / 0.7839 GB, free: 85.2 MB / 426.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 () * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/1.155, allocations: 128.8 kB / 0.784 GB, free: 85.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/1.155, allocations: 31.67 kB / 0.7841 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/1.155, allocations: 362.5 kB / 0.7844 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.155, allocations: 4 kB / 0.7844 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/1.155, allocations: 0 / 0.7844 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003475/1.156, allocations: 0.6075 MB / 0.785 GB, free: 83.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/1.156, allocations: 0.7548 MB / 0.7858 GB, free: 83.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/1.156, allocations: 4 kB / 0.7858 GB, free: 83.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/1.157, allocations: 47.97 kB / 0.7858 GB, free: 83.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-05/1.157, allocations: 28.73 kB / 0.7858 GB, free: 83.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/1.157, allocations: 8 kB / 0.7858 GB, free: 83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005153/1.157, allocations: 1.291 MB / 0.7871 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.157, allocations: 3.938 kB / 0.7871 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/1.158, allocations: 0.5251 MB / 0.7876 GB, free: 81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/1.158, allocations: 104.8 kB / 0.7877 GB, free: 80.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/1.158, allocations: 8 kB / 0.7877 GB, free: 80.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/1.158, allocations: 11.97 kB / 0.7877 GB, free: 80.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/1.158, allocations: 23.97 kB / 0.7878 GB, free: 80.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/1.158, allocations: 15.98 kB / 0.7878 GB, free: 80.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000136/1.158, allocations: 175.1 kB / 0.7879 GB, free: 80.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.158, allocations: 4 kB / 0.7879 GB, free: 80.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004334/1.159, allocations: 119.9 kB / 0.7881 GB, free: 80.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.0009239/1.16, allocations: 1.265 MB / 0.7893 GB, free: 79.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004817/1.16, allocations: 433.1 kB / 0.7897 GB, free: 78.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.16, allocations: 4.812 kB / 0.7897 GB, free: 78.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/1.16, allocations: 222.5 kB / 0.7899 GB, free: 78.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/1.161, allocations: 156.3 kB / 0.7901 GB, free: 78.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/1.162, allocations: 0.5431 MB / 0.7906 GB, free: 77.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/1.162, allocations: 0.7724 MB / 0.7914 GB, free: 77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/1.162, allocations: 66.86 kB / 0.7914 GB, free: 76.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/1.163, allocations: 91.41 kB / 0.7915 GB, free: 76.84 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/1.163, allocations: 0 / 0.7915 GB, free: 76.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/1.186, allocations: 10.73 MB / 0.802 GB, free: 66.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/1.186, allocations: 196.1 kB / 0.8022 GB, free: 65.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/3.242, allocations: 0 / 0.8022 GB, free: 65.87 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat