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.001534/0.001534, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001174/0.001174, allocations: 82.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.575e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.152, allocations: 338 MB / 0.6906 GB, free: 2.121 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003961/1.152, allocations: 106 kB / 0.6907 GB, free: 2.055 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5628/1.715, allocations: 86 MB / 0.7747 GB, free: 94.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.715, allocations: 192 / 0.7747 GB, free: 94.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.587e-05/1.715, allocations: 4 kB / 0.7747 GB, free: 94.33 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.0009005/1.716, allocations: 0.5303 MB / 0.7752 GB, free: 93.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.716, allocations: 12.03 kB / 0.7752 GB, free: 93.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.496e-05/1.716, allocations: 58.53 kB / 0.7753 GB, free: 93.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/1.716, allocations: 39.72 kB / 0.7753 GB, free: 93.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/1.717, allocations: 286.4 kB / 0.7756 GB, free: 93.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/1.717, allocations: 20.5 kB / 0.7756 GB, free: 93.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/1.717, allocations: 27.98 kB / 0.7756 GB, free: 93.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/1.718, allocations: 289.5 kB / 0.7759 GB, free: 92.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/1.718, allocations: 4 kB / 0.7759 GB, free: 92.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/1.718, allocations: 12 kB / 0.7759 GB, free: 92.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.718, allocations: 4 kB / 0.7759 GB, free: 92.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/1.718, allocations: 194.1 kB / 0.7761 GB, free: 92.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/1.721, allocations: 1.289 MB / 0.7774 GB, free: 91.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/1.721, allocations: 179.3 kB / 0.7775 GB, free: 91.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/1.721, allocations: 89.22 kB / 0.7776 GB, free: 91.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/1.721, allocations: 174.4 kB / 0.7778 GB, free: 90.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/1.722, allocations: 38.69 kB / 0.7778 GB, free: 90.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.695e-06/1.722, allocations: 0 / 0.7778 GB, free: 90.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003439/1.725, allocations: 0.9023 MB / 0.7787 GB, free: 89.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/1.725, allocations: 59.36 kB / 0.7787 GB, free: 89.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/1.725, allocations: 234.9 kB / 0.779 GB, free: 89.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/1.725, allocations: 33.7 kB / 0.779 GB, free: 89.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.726, allocations: 234.4 kB / 0.7792 GB, free: 89.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/1.726, allocations: 94.64 kB / 0.7793 GB, free: 89.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/1.726, allocations: 8 kB / 0.7793 GB, free: 89.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.827e-05/1.726, allocations: 322.8 kB / 0.7796 GB, free: 88.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/1.726, allocations: 76 kB / 0.7797 GB, free: 88.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/1.726, allocations: 175.8 kB / 0.7799 GB, free: 88.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/1.727, allocations: 104.4 kB / 0.78 GB, free: 88.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.727, allocations: 0 / 0.78 GB, free: 88.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009112/1.727, allocations: 431.9 kB / 0.7804 GB, free: 87.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.728, allocations: 7.953 kB / 0.7804 GB, free: 87.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.728, allocations: 4 kB / 0.7804 GB, free: 87.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/1.728, allocations: 42.11 kB / 0.7804 GB, free: 87.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/1.728, allocations: 79.84 kB / 0.7805 GB, free: 87.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/1.73, allocations: 2.553 MB / 0.783 GB, free: 85.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/1.731, allocations: 28.2 kB / 0.783 GB, free: 85.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/1.731, allocations: 12 kB / 0.783 GB, free: 85 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 0.0001597/1.731, allocations: 128.8 kB / 0.7832 GB, free: 84.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/1.731, allocations: 35.58 kB / 0.7832 GB, free: 84.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008437/1.732, allocations: 358.6 kB / 0.7835 GB, free: 84.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.732, allocations: 4 kB / 0.7835 GB, free: 84.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.732, allocations: 0 / 0.7835 GB, free: 84.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006074/1.733, allocations: 0.6071 MB / 0.7841 GB, free: 83.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/1.734, allocations: 0.7547 MB / 0.7849 GB, free: 82.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.734, allocations: 7.938 kB / 0.7849 GB, free: 82.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/1.735, allocations: 51.95 kB / 0.7849 GB, free: 82.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/1.735, allocations: 24.8 kB / 0.785 GB, free: 82.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/1.735, allocations: 8 kB / 0.785 GB, free: 82.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008728/1.736, allocations: 1.292 MB / 0.7862 GB, free: 81.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.736, allocations: 0 / 0.7862 GB, free: 81.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/1.737, allocations: 0.5176 MB / 0.7867 GB, free: 80.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/1.737, allocations: 108.7 kB / 0.7868 GB, free: 80.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/1.737, allocations: 11.98 kB / 0.7868 GB, free: 80.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/1.737, allocations: 12.06 kB / 0.7869 GB, free: 80.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/1.737, allocations: 19.97 kB / 0.7869 GB, free: 80.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/1.737, allocations: 15.98 kB / 0.7869 GB, free: 80.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000235/1.738, allocations: 175.1 kB / 0.7871 GB, free: 80.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.738, allocations: 4 kB / 0.7871 GB, free: 80.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006931/1.738, allocations: 119.9 kB / 0.7872 GB, free: 80.34 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.001462/1.74, allocations: 1.265 MB / 0.7884 GB, free: 79.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008589/1.741, allocations: 433.8 kB / 0.7888 GB, free: 78.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.741, allocations: 4 kB / 0.7888 GB, free: 78.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/1.741, allocations: 218.7 kB / 0.789 GB, free: 78.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/1.743, allocations: 156.4 kB / 0.7892 GB, free: 78.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/1.744, allocations: 0.5791 MB / 0.7898 GB, free: 77.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/1.744, allocations: 0.7723 MB / 0.7905 GB, free: 76.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/1.745, allocations: 95.39 kB / 0.7906 GB, free: 76.67 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/1.745, allocations: 0 / 0.7906 GB, free: 76.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.061/4.805, allocations: 8.317 MB / 0.7987 GB, free: 68.34 MB / 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