Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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.001517/0.001517, allocations: 185.7 kB / 16.41 MB, free: 5.723 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.239/2.239, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001199/0.001198, allocations: 97.72 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5756/0.5756, allocations: 43.55 MB / 362.7 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.000503, allocations: 16 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.89/10.03, allocations: 3.12 GB / 3.599 GB, free: 61.64 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/10.03, allocations: 99.84 kB / 3.599 GB, free: 61.58 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.258/15.29, allocations: 1.138 GB / 4.737 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/15.29, allocations: 1.531 kB / 4.737 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.505e-05/15.29, allocations: 27.06 kB / 4.737 GB, free: 70.78 MB / 0.5105 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.008456/15.3, allocations: 1.65 MB / 4.739 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/15.3, allocations: 11.83 kB / 4.739 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000497/15.3, allocations: 110.6 kB / 4.739 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007932/15.3, allocations: 85.64 kB / 4.739 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/15.3, allocations: 0.5413 MB / 4.739 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/15.3, allocations: 95.86 kB / 4.739 GB, free: 69.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/15.3, allocations: 53.98 kB / 4.739 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/15.31, allocations: 0.8188 MB / 4.74 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/15.31, allocations: 0 / 4.74 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/15.31, allocations: 27.89 kB / 4.74 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-05/15.31, allocations: 39.23 kB / 4.74 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/15.31, allocations: 0.6328 MB / 4.741 GB, free: 68.49 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006262/15.31, allocations: 3.927 MB / 4.745 GB, free: 65.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/15.31, allocations: 393.3 kB / 4.745 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005576/15.32, allocations: 0.5114 MB / 4.746 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/15.32, allocations: 38.58 kB / 4.746 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.416e-06/15.32, allocations: 0 / 4.746 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004881/15.32, allocations: 1.507 MB / 4.747 GB, free: 63.87 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/15.32, allocations: 132.4 kB / 4.747 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/15.32, allocations: 0.4957 MB / 4.748 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/15.32, allocations: 37.58 kB / 4.748 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/15.32, allocations: 387.7 kB / 4.748 GB, free: 63.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/15.32, allocations: 166.6 kB / 4.748 GB, free: 62.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/15.32, allocations: 8 kB / 4.748 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/15.32, allocations: 341.8 kB / 4.749 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/15.32, allocations: 226.2 kB / 4.749 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/15.32, allocations: 0.5074 MB / 4.749 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007387/15.32, allocations: 309.8 kB / 4.75 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/15.32, allocations: 3.906 kB / 4.75 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00269/15.33, allocations: 0.8949 MB / 4.751 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/15.33, allocations: 8.125 kB / 4.751 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/15.33, allocations: 11.53 kB / 4.751 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/15.33, allocations: 265.9 kB / 4.751 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/15.33, allocations: 132.1 kB / 4.751 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/15.33, allocations: 0.8557 MB / 4.752 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/15.33, allocations: 46.8 kB / 4.752 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/15.33, allocations: 38.55 kB / 4.752 GB, free: 60.84 MB / 0.5105 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 () * Number of clocked 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.0004965/15.33, allocations: 245.2 kB / 4.752 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/15.33, allocations: 65.69 kB / 4.752 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/15.33, allocations: 0.7112 MB / 4.753 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/15.33, allocations: 7.438 kB / 4.753 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/15.33, allocations: 0 / 4.753 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/15.33, allocations: 7.766 kB / 4.753 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/15.34, allocations: 1.373 MB / 4.754 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/15.34, allocations: 3.969 kB / 4.754 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/15.34, allocations: 195.7 kB / 4.754 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/15.34, allocations: 62.62 kB / 4.754 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/15.34, allocations: 19.81 kB / 4.755 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/15.34, allocations: 2.81 MB / 4.757 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/15.34, allocations: 7.25 kB / 4.757 GB, free: 56.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/15.35, allocations: 1.055 MB / 4.758 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/15.35, allocations: 200.5 kB / 4.758 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/15.35, allocations: 18.72 kB / 4.758 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/15.35, allocations: 26.8 kB / 4.759 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/15.35, allocations: 42.42 kB / 4.759 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/15.35, allocations: 19.34 kB / 4.759 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006921/15.35, allocations: 394.9 kB / 4.759 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/15.35, allocations: 0 / 4.759 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001303/15.35, allocations: 243.9 kB / 4.759 GB, free: 55.66 MB / 0.5105 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 () * Number of clocked 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.003405/15.35, allocations: 2.375 MB / 4.762 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001693/15.35, allocations: 0.5898 MB / 4.762 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/15.35, allocations: 10.5 kB / 4.762 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/15.36, allocations: 452 kB / 4.763 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/15.36, allocations: 330.1 kB / 4.763 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/15.37, allocations: 10.52 MB / 4.773 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/15.37, allocations: 0.9448 MB / 4.774 GB, free: 44.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/15.37, allocations: 245.9 kB / 4.774 GB, free: 43.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/15.37, allocations: 0 / 4.774 GB, free: 43.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.128/18.5, allocations: 18.76 MB / 4.793 GB, free: 34.71 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat