Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0021/0.002105, allocations: 184.4 kB / 16.41 MB, free: 5.703 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.953/1.953, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001201/0.0012, allocations: 97.47 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 15.98 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3315, allocations: 47.56 MB / 374.6 MB, free: 45.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.349, allocations: 338.1 MB / 0.696 GB, free: 108.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.349, allocations: 107.4 kB / 0.6961 GB, free: 108.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2801/1.629, allocations: 86.37 MB / 0.7804 GB, free: 29.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/1.629, allocations: 4 kB / 0.7805 GB, free: 29.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.194e-05/1.629, allocations: 4 kB / 0.7805 GB, free: 29.69 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.0009313/1.63, allocations: 0.5625 MB / 0.781 GB, free: 29.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.63, allocations: 8.031 kB / 0.781 GB, free: 29.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.723e-05/1.631, allocations: 70.47 kB / 0.7811 GB, free: 29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/1.631, allocations: 43.61 kB / 0.7811 GB, free: 28.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/1.631, allocations: 282.5 kB / 0.7814 GB, free: 28.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/1.631, allocations: 16.56 kB / 0.7814 GB, free: 28.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/1.631, allocations: 24 kB / 0.7814 GB, free: 28.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/1.632, allocations: 293.3 kB / 0.7817 GB, free: 28.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.632, allocations: 7.984 kB / 0.7817 GB, free: 28.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/1.632, allocations: 12 kB / 0.7817 GB, free: 28.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.632, allocations: 4 kB / 0.7817 GB, free: 28.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/1.633, allocations: 206 kB / 0.7819 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/1.635, allocations: 1.286 MB / 0.7832 GB, free: 26.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/1.635, allocations: 187.1 kB / 0.7834 GB, free: 26.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/1.636, allocations: 174.4 kB / 0.7835 GB, free: 26.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/1.636, allocations: 30.75 kB / 0.7836 GB, free: 26.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.695e-06/1.636, allocations: 0 / 0.7836 GB, free: 26.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003453/1.639, allocations: 1.037 MB / 0.7846 GB, free: 25.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/1.639, allocations: 55.41 kB / 0.7846 GB, free: 25.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/1.639, allocations: 233.6 kB / 0.7848 GB, free: 24.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/1.639, allocations: 37.7 kB / 0.7849 GB, free: 24.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/1.64, allocations: 238.6 kB / 0.7851 GB, free: 24.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/1.64, allocations: 90.66 kB / 0.7852 GB, free: 24.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/1.64, allocations: 8 kB / 0.7852 GB, free: 24.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/1.64, allocations: 328.3 kB / 0.7855 GB, free: 24.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/1.64, allocations: 75.97 kB / 0.7856 GB, free: 24.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/1.64, allocations: 179.7 kB / 0.7858 GB, free: 23.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/1.64, allocations: 112 kB / 0.7859 GB, free: 23.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.64, allocations: 0 / 0.7859 GB, free: 23.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000797/1.641, allocations: 420.7 kB / 0.7863 GB, free: 23.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.641, allocations: 11.98 kB / 0.7863 GB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.641, allocations: 0 / 0.7863 GB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/1.642, allocations: 49.58 kB / 0.7863 GB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/1.642, allocations: 76.12 kB / 0.7864 GB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/1.644, allocations: 2.587 MB / 0.7889 GB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/1.644, allocations: 24.23 kB / 0.7889 GB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/1.644, allocations: 16 kB / 0.789 GB, free: 20.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 () * 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.0002157/1.645, allocations: 145.8 kB / 0.7891 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/1.645, allocations: 23.72 kB / 0.7891 GB, free: 20.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/1.645, allocations: 370.7 kB / 0.7895 GB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.645, allocations: 4 kB / 0.7895 GB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.645, allocations: 0 / 0.7895 GB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005875/1.646, allocations: 0.6149 MB / 0.7901 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/1.647, allocations: 0.7548 MB / 0.7908 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.647, allocations: 4 kB / 0.7908 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/1.648, allocations: 55.91 kB / 0.7909 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.83e-05/1.648, allocations: 20.84 kB / 0.7909 GB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/1.648, allocations: 8 kB / 0.7909 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008058/1.649, allocations: 1.291 MB / 0.7922 GB, free: 16.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.649, allocations: 0 / 0.7922 GB, free: 16.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/1.65, allocations: 0.5205 MB / 0.7927 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/1.65, allocations: 100.8 kB / 0.7928 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/1.65, allocations: 11.94 kB / 0.7928 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/1.65, allocations: 31.78 kB / 0.7928 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/1.65, allocations: 24.05 kB / 0.7928 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/1.65, allocations: 11.98 kB / 0.7928 GB, free: 15.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002171/1.651, allocations: 186 kB / 0.793 GB, free: 15.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.651, allocations: 0 / 0.793 GB, free: 15.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006877/1.651, allocations: 116 kB / 0.7931 GB, free: 15.5 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.001303/1.653, allocations: 1.258 MB / 0.7944 GB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008125/1.653, allocations: 457 kB / 0.7948 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.653, allocations: 0.8125 kB / 0.7948 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003787/1.654, allocations: 222.7 kB / 0.795 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/1.655, allocations: 154.4 kB / 0.7952 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/1.659, allocations: 3.893 MB / 0.799 GB, free: 9.312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/1.659, allocations: 0.7686 MB / 0.7997 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/1.66, allocations: 99.41 kB / 0.7998 GB, free: 8.418 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.66, allocations: 0 / 0.7998 GB, free: 8.418 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.879/4.539, allocations: 8.355 MB / 0.808 GB, free: 68 kB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat