Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.001364/0.001364, 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.447/1.447, allocations: 221.3 MB / 236 MB, free: 2.953 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.0008764/0.0008764, allocations: 97.81 kB / 287 MB, free: 240 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.2318/0.2318, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.628e-05, allocations: 224 / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1577, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.253, allocations: 422.8 MB / 0.9147 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/1.253, allocations: 89.95 kB / 0.9147 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6242/1.877, allocations: 121.8 MB / 1.034 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.334e-06/1.878, allocations: 0 / 1.034 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.781e-05/1.878, allocations: 12 kB / 1.034 GB, free: 105.6 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.002191/1.88, allocations: 0.9756 MB / 1.035 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.88, allocations: 19.95 kB / 1.035 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/1.88, allocations: 94.52 kB / 1.035 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/1.88, allocations: 87.06 kB / 1.035 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009579/1.881, allocations: 0.5404 MB / 1.035 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.881, allocations: 104.4 kB / 1.035 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/1.881, allocations: 47.98 kB / 1.035 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/1.883, allocations: 0.8035 MB / 1.036 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.883, allocations: 7.938 kB / 1.036 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/1.883, allocations: 27.98 kB / 1.036 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/1.883, allocations: 36.98 kB / 1.036 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/1.884, allocations: 0.6205 MB / 1.037 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00367/1.887, allocations: 3.929 MB / 1.041 GB, free: 97.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007185/1.888, allocations: 391.1 kB / 1.041 GB, free: 97.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/1.888, allocations: 193.5 kB / 1.041 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/1.889, allocations: 0.5029 MB / 1.042 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/1.889, allocations: 38.89 kB / 1.042 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/1.889, allocations: 3.938 kB / 1.042 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002505/1.891, allocations: 1.337 MB / 1.043 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.891, allocations: 136.5 kB / 1.043 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/1.892, allocations: 0.493 MB / 1.044 GB, free: 94.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/1.892, allocations: 29.7 kB / 1.044 GB, free: 94.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/1.892, allocations: 355 kB / 1.044 GB, free: 94.19 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.926e-05/1.892, allocations: 165.6 kB / 1.044 GB, free: 94.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/1.892, allocations: 16 kB / 1.044 GB, free: 94.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.892, allocations: 374.8 kB / 1.045 GB, free: 93.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/1.893, allocations: 205.5 kB / 1.045 GB, free: 93.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/1.893, allocations: 0.5103 MB / 1.045 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/1.893, allocations: 316.5 kB / 1.046 GB, free: 92.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/1.893, allocations: 4 kB / 1.046 GB, free: 92.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001397/1.895, allocations: 0.9103 MB / 1.047 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.895, allocations: 12.03 kB / 1.047 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.895, allocations: 8 kB / 1.047 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009774/1.896, allocations: 268.5 kB / 1.047 GB, free: 91.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/1.896, allocations: 123.8 kB / 1.047 GB, free: 91.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007256/1.897, allocations: 0.8484 MB / 1.048 GB, free: 90.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/1.898, allocations: 51.89 kB / 1.048 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/1.898, allocations: 35.98 kB / 1.048 GB, free: 90.19 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 (73): * Single equations (assignments): 72 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001547/1.898, allocations: 152.7 kB / 1.048 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/1.898, allocations: 71.2 kB / 1.048 GB, free: 89.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/1.899, allocations: 0.688 MB / 1.049 GB, free: 89.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/1.899, allocations: 12 kB / 1.049 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.899, allocations: 0 / 1.049 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.899, allocations: 3.984 kB / 1.049 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/1.901, allocations: 1.375 MB / 1.05 GB, free: 87.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.901, allocations: 0 / 1.05 GB, free: 87.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/1.902, allocations: 195.8 kB / 1.05 GB, free: 87.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/1.902, allocations: 60.92 kB / 1.05 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/1.902, allocations: 19.92 kB / 1.05 GB, free: 87.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.904, allocations: 2.778 MB / 1.053 GB, free: 84.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.904, allocations: 7.984 kB / 1.053 GB, free: 84.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/1.905, allocations: 1.039 MB / 1.054 GB, free: 83.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/1.906, allocations: 204.2 kB / 1.054 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/1.906, allocations: 12 kB / 1.054 GB, free: 83.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/1.906, allocations: 31.84 kB / 1.054 GB, free: 83.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/1.906, allocations: 43.95 kB / 1.054 GB, free: 83.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/1.906, allocations: 23.98 kB / 1.054 GB, free: 83.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005108/1.907, allocations: 385.5 kB / 1.055 GB, free: 82.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/1.907, allocations: 0 / 1.055 GB, free: 82.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009638/1.908, allocations: 219.9 kB / 1.055 GB, free: 82.42 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002181/1.91, allocations: 2.224 MB / 1.057 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00107/1.911, allocations: 0.5836 MB / 1.058 GB, free: 79.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.911, allocations: 1.5 kB / 1.058 GB, free: 79.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009519/1.912, allocations: 462.7 kB / 1.058 GB, free: 79.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.914, allocations: 331.2 kB / 1.059 GB, free: 78.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/1.916, allocations: 1.188 MB / 1.06 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/1.916, allocations: 0.9544 MB / 1.061 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006985/1.917, allocations: 209.7 kB / 1.061 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/1.917, allocations: 235.4 kB / 1.061 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/1.917, allocations: 0 / 1.061 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/1.954, allocations: 20.26 MB / 1.081 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.954, allocations: 256.8 kB / 1.081 GB, free: 55.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.772/4.726, allocations: 7.875 kB / 1.081 GB, free: 55.76 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat