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.001069/0.001069, allocations: 180.7 kB / 17.02 MB, free: 5.121 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.431/1.431, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.001052/0.001052, allocations: 100.1 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3204, allocations: 47.58 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8317/1.152, allocations: 338.1 MB / 0.6973 GB, free: 127.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.152, allocations: 99.94 kB / 0.6973 GB, free: 127.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1542/1.307, allocations: 86.37 MB / 0.7817 GB, free: 40.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.307, allocations: 0 / 0.7817 GB, free: 40.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/1.307, allocations: 11.98 kB / 0.7817 GB, free: 40.14 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.0007902/1.307, allocations: 0.5582 MB / 0.7823 GB, free: 39.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.308, allocations: 8.031 kB / 0.7823 GB, free: 39.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.385e-05/1.308, allocations: 62.53 kB / 0.7823 GB, free: 39.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/1.308, allocations: 39.62 kB / 0.7824 GB, free: 39.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/1.308, allocations: 294.8 kB / 0.7826 GB, free: 39.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/1.308, allocations: 16.56 kB / 0.7827 GB, free: 39.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/1.308, allocations: 24 kB / 0.7827 GB, free: 39.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/1.309, allocations: 289.4 kB / 0.783 GB, free: 38.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/1.309, allocations: 0 / 0.783 GB, free: 38.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/1.309, allocations: 12 kB / 0.783 GB, free: 38.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.309, allocations: 8 kB / 0.783 GB, free: 38.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/1.309, allocations: 206.1 kB / 0.7832 GB, free: 38.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.31, allocations: 1.282 MB / 0.7844 GB, free: 37.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/1.311, allocations: 187.2 kB / 0.7846 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/1.311, allocations: 170.4 kB / 0.7848 GB, free: 36.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.311, allocations: 38.75 kB / 0.7848 GB, free: 36.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/1.311, allocations: 0 / 0.7848 GB, free: 36.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002137/1.313, allocations: 1.037 MB / 0.7858 GB, free: 35.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/1.313, allocations: 59.41 kB / 0.7859 GB, free: 35.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/1.313, allocations: 229.6 kB / 0.7861 GB, free: 35.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/1.313, allocations: 33.7 kB / 0.7861 GB, free: 35.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/1.313, allocations: 176.2 kB / 0.7863 GB, free: 35.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/1.314, allocations: 94.64 kB / 0.7864 GB, free: 34.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/1.314, allocations: 4 kB / 0.7864 GB, free: 34.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/1.314, allocations: 348.3 kB / 0.7867 GB, free: 34.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/1.314, allocations: 87.83 kB / 0.7868 GB, free: 34.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/1.314, allocations: 175.8 kB / 0.787 GB, free: 34.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/1.314, allocations: 111.9 kB / 0.7871 GB, free: 34.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.314, allocations: 0 / 0.7871 GB, free: 34.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004921/1.315, allocations: 436.7 kB / 0.7875 GB, free: 33.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.315, allocations: 12.06 kB / 0.7875 GB, free: 33.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.315, allocations: 0 / 0.7875 GB, free: 33.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/1.315, allocations: 41.64 kB / 0.7875 GB, free: 33.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/1.315, allocations: 79.89 kB / 0.7876 GB, free: 33.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/1.316, allocations: 2.584 MB / 0.7901 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/1.317, allocations: 27.89 kB / 0.7902 GB, free: 30.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/1.317, allocations: 12 kB / 0.7902 GB, free: 30.69 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 () * Number of clocked 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 0.000154/1.317, allocations: 161.9 kB / 0.7903 GB, free: 30.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/1.317, allocations: 23.72 kB / 0.7904 GB, free: 30.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/1.317, allocations: 350.9 kB / 0.7907 GB, free: 30.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/1.317, allocations: 4 kB / 0.7907 GB, free: 30.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.317, allocations: 0 / 0.7907 GB, free: 30.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003819/1.318, allocations: 0.6227 MB / 0.7913 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/1.319, allocations: 0.7508 MB / 0.792 GB, free: 28.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.319, allocations: 4 kB / 0.792 GB, free: 28.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/1.319, allocations: 55.89 kB / 0.7921 GB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.086e-05/1.319, allocations: 24.88 kB / 0.7921 GB, free: 28.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/1.319, allocations: 8 kB / 0.7921 GB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005791/1.319, allocations: 1.288 MB / 0.7934 GB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.319, allocations: 0 / 0.7934 GB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/1.32, allocations: 0.5242 MB / 0.7939 GB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/1.32, allocations: 100.9 kB / 0.794 GB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/1.32, allocations: 12 kB / 0.794 GB, free: 26.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/1.32, allocations: 19.94 kB / 0.794 GB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/1.32, allocations: 19.97 kB / 0.794 GB, free: 26.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/1.32, allocations: 11.98 kB / 0.794 GB, free: 26.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001439/1.321, allocations: 186 kB / 0.7942 GB, free: 26.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.321, allocations: 0 / 0.7942 GB, free: 26.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004549/1.321, allocations: 124 kB / 0.7943 GB, free: 26 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 () * Number of clocked 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.0009705/1.322, allocations: 1.262 MB / 0.7956 GB, free: 24.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005589/1.323, allocations: 453.4 kB / 0.796 GB, free: 24.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.323, allocations: 0 / 0.796 GB, free: 24.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/1.323, allocations: 218.5 kB / 0.7962 GB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/1.324, allocations: 159.5 kB / 0.7964 GB, free: 23.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/1.326, allocations: 3.865 MB / 0.8001 GB, free: 19.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/1.326, allocations: 0.7686 MB / 0.8009 GB, free: 19.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002867/1.327, allocations: 66.86 kB / 0.801 GB, free: 18.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/1.327, allocations: 91.41 kB / 0.801 GB, free: 18.88 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/1.327, allocations: 0 / 0.801 GB, free: 18.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/1.349, allocations: 10.5 MB / 0.8113 GB, free: 8.387 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.35, allocations: 218.9 kB / 0.8115 GB, free: 8.148 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.661, allocations: 0 / 0.8115 GB, free: 8.148 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