Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.716/1.716, allocations: 221.3 MB / 236 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.0009504, allocations: 91.67 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2626/0.2626, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.546e-05, allocations: 4.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1738, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.757/1.931, allocations: 430.5 MB / 0.9222 GB, free: 193.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/1.932, allocations: 90.05 kB / 0.9223 GB, free: 193.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.315/2.247, allocations: 135.9 MB / 1.055 GB, free: 82.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.539e-06/2.247, allocations: 0 / 1.055 GB, free: 82.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001065/2.247, allocations: 27.92 kB / 1.055 GB, free: 82.13 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002728/2.249, allocations: 0.9022 MB / 1.056 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/2.25, allocations: 12.03 kB / 1.056 GB, free: 81.17 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003204/2.25, allocations: 94.52 kB / 1.056 GB, free: 81.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005866/2.25, allocations: 87.06 kB / 1.056 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/2.252, allocations: 0.552 MB / 1.057 GB, free: 80.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/2.252, allocations: 96.41 kB / 1.057 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/2.252, allocations: 47.98 kB / 1.057 GB, free: 80.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/2.254, allocations: 0.8019 MB / 1.058 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/2.254, allocations: 7.938 kB / 1.058 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/2.254, allocations: 27.98 kB / 1.058 GB, free: 79.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-05/2.254, allocations: 36.98 kB / 1.058 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/2.255, allocations: 0.6245 MB / 1.058 GB, free: 78.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/2.26, allocations: 3.667 MB / 1.062 GB, free: 74.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/2.261, allocations: 392.2 kB / 1.062 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/2.261, allocations: 193.5 kB / 1.062 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/2.262, allocations: 0.7327 MB / 1.063 GB, free: 73.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/2.262, allocations: 38.89 kB / 1.063 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/2.262, allocations: 0 / 1.063 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.0031/2.265, allocations: 1.37 MB / 1.064 GB, free: 71.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/2.265, allocations: 132.5 kB / 1.065 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/2.265, allocations: 0.4969 MB / 1.065 GB, free: 71.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/2.265, allocations: 33.7 kB / 1.065 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/2.266, allocations: 347.1 kB / 1.065 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/2.266, allocations: 173.6 kB / 1.066 GB, free: 70.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/2.266, allocations: 12 kB / 1.066 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001206/2.266, allocations: 374.8 kB / 1.066 GB, free: 70.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/2.266, allocations: 205.5 kB / 1.066 GB, free: 70.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/2.267, allocations: 0.4985 MB / 1.067 GB, free: 69.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/2.267, allocations: 296.2 kB / 1.067 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/2.267, allocations: 8 kB / 1.067 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001516/2.269, allocations: 0.8713 MB / 1.068 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/2.269, allocations: 16.03 kB / 1.068 GB, free: 68.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/2.269, allocations: 8 kB / 1.068 GB, free: 68.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/2.27, allocations: 285.7 kB / 1.068 GB, free: 67.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/2.271, allocations: 119.8 kB / 1.068 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008866/2.272, allocations: 0.8811 MB / 1.069 GB, free: 66.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/2.272, allocations: 43.97 kB / 1.069 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/2.272, allocations: 39.98 kB / 1.069 GB, free: 66.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001942/2.272, allocations: 152.8 kB / 1.069 GB, free: 66.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/2.273, allocations: 75.05 kB / 1.069 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/2.274, allocations: 0.7565 MB / 1.07 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/2.274, allocations: 4 kB / 1.07 GB, free: 65.76 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/2.274, allocations: 4 kB / 1.07 GB, free: 65.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/2.274, allocations: 3.984 kB / 1.07 GB, free: 65.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/2.276, allocations: 1.387 MB / 1.071 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/2.276, allocations: 4 kB / 1.071 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/2.277, allocations: 203.9 kB / 1.072 GB, free: 64.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.095e-05/2.277, allocations: 20.86 kB / 1.072 GB, free: 64.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/2.277, allocations: 15.98 kB / 1.072 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/2.279, allocations: 2.692 MB / 1.074 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.279, allocations: 4.031 kB / 1.074 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/2.28, allocations: 1.041 MB / 1.075 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/2.28, allocations: 212.3 kB / 1.076 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/2.28, allocations: 8 kB / 1.076 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/2.281, allocations: 27.98 kB / 1.076 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/2.281, allocations: 31.95 kB / 1.076 GB, free: 59.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/2.281, allocations: 31.97 kB / 1.076 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004733/2.282, allocations: 399.2 kB / 1.076 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.282, allocations: 0 / 1.076 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001107/2.283, allocations: 247.9 kB / 1.076 GB, free: 58.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002334/2.285, allocations: 2.267 MB / 1.078 GB, free: 56.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001252/2.286, allocations: 0.5757 MB / 1.079 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/2.286, allocations: 0 / 1.079 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009183/2.287, allocations: 442.8 kB / 1.079 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/2.289, allocations: 317.7 kB / 1.08 GB, free: 55.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/2.291, allocations: 1.18 MB / 1.081 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/2.292, allocations: 0.9505 MB / 1.082 GB, free: 53.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008151/2.293, allocations: 213.7 kB / 1.082 GB, free: 52.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/2.293, allocations: 239.3 kB / 1.082 GB, free: 52.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/2.293, allocations: 0 / 1.082 GB, free: 52.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05192/2.345, allocations: 22.26 MB / 1.104 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/2.345, allocations: 240.8 kB / 1.104 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/5.285, allocations: 0 / 1.104 GB, free: 30.25 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat