Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001303/0.001304, allocations: 180.3 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.487/1.487, allocations: 221.3 MB / 236 MB, free: 2.938 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.001016/0.001016, allocations: 91.61 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.2208/0.2208, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.495e-05, allocations: 4 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.167/8.317, allocations: 3.126 GB / 3.628 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/8.318, allocations: 87.95 kB / 3.628 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.053/12.37, allocations: 1.141 GB / 4.77 GB, free: 86.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.943e-06/12.37, allocations: 0 / 4.77 GB, free: 86.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.803e-05/12.37, allocations: 23.77 kB / 4.77 GB, free: 86.5 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.007208/12.38, allocations: 1.579 MB / 4.771 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/12.38, allocations: 15.28 kB / 4.771 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/12.38, allocations: 95.75 kB / 4.772 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/12.38, allocations: 86.03 kB / 4.772 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/12.38, allocations: 0.5442 MB / 4.772 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/12.38, allocations: 98.72 kB / 4.772 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/12.38, allocations: 45 kB / 4.772 GB, free: 85.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/12.38, allocations: 0.8078 MB / 4.773 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/12.38, allocations: 4.875 kB / 4.773 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/12.38, allocations: 23.69 kB / 4.773 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/12.38, allocations: 39.41 kB / 4.773 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008519/12.38, allocations: 0.6172 MB / 4.774 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004003/12.39, allocations: 3.93 MB / 4.778 GB, free: 81.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/12.39, allocations: 399.9 kB / 4.778 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/12.39, allocations: 198.2 kB / 4.778 GB, free: 81.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/12.39, allocations: 0.4989 MB / 4.779 GB, free: 80.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/12.39, allocations: 38.52 kB / 4.779 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/12.39, allocations: 0 / 4.779 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002671/12.39, allocations: 1.343 MB / 4.78 GB, free: 79.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/12.39, allocations: 135.6 kB / 4.78 GB, free: 79.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/12.39, allocations: 0.4923 MB / 4.781 GB, free: 79.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/12.39, allocations: 36.8 kB / 4.781 GB, free: 79.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/12.39, allocations: 360.2 kB / 4.781 GB, free: 79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/12.39, allocations: 161.7 kB / 4.781 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/12.39, allocations: 15.78 kB / 4.781 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/12.39, allocations: 375.2 kB / 4.781 GB, free: 78.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/12.39, allocations: 210.4 kB / 4.782 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/12.39, allocations: 0.4926 MB / 4.782 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/12.39, allocations: 318.9 kB / 4.782 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/12.39, allocations: 0 / 4.782 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001558/12.39, allocations: 0.9147 MB / 4.783 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/12.39, allocations: 8.719 kB / 4.783 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/12.39, allocations: 10.91 kB / 4.783 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/12.39, allocations: 257.1 kB / 4.784 GB, free: 77.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/12.4, allocations: 131.3 kB / 4.784 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007392/12.4, allocations: 0.8545 MB / 4.785 GB, free: 76.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006623/12.4, allocations: 47.84 kB / 4.785 GB, free: 76.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/12.4, allocations: 34.91 kB / 4.785 GB, free: 76.74 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.0001644/12.4, allocations: 155.4 kB / 4.785 GB, free: 76.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/12.4, allocations: 63.97 kB / 4.785 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/12.4, allocations: 0.6964 MB / 4.786 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/12.4, allocations: 6.188 kB / 4.786 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/12.4, allocations: 0 / 4.786 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/12.4, allocations: 7.469 kB / 4.786 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/12.4, allocations: 1.374 MB / 4.787 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/12.4, allocations: 3.75 kB / 4.787 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/12.4, allocations: 192 kB / 4.787 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/12.4, allocations: 50.12 kB / 4.787 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/12.4, allocations: 17.08 kB / 4.787 GB, free: 75.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/12.4, allocations: 2.79 MB / 4.79 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/12.4, allocations: 3.469 kB / 4.79 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/12.4, allocations: 1.041 MB / 4.791 GB, free: 71.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/12.41, allocations: 212.7 kB / 4.791 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/12.41, allocations: 12 kB / 4.791 GB, free: 71.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/12.41, allocations: 32.94 kB / 4.791 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/12.41, allocations: 37.86 kB / 4.791 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/12.41, allocations: 22.67 kB / 4.791 GB, free: 71.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005342/12.41, allocations: 388 kB / 4.792 GB, free: 71.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/12.41, allocations: 4 kB / 4.792 GB, free: 71.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001233/12.41, allocations: 243.2 kB / 4.792 GB, free: 71.11 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.002479/12.41, allocations: 2.343 MB / 4.794 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001174/12.41, allocations: 0.5802 MB / 4.795 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/12.41, allocations: 2.734 kB / 4.795 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009885/12.41, allocations: 463.7 kB / 4.795 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/12.41, allocations: 332.5 kB / 4.795 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/12.42, allocations: 1.181 MB / 4.797 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/12.42, allocations: 0.9502 MB / 4.798 GB, free: 65.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007938/12.42, allocations: 210.7 kB / 4.798 GB, free: 65.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/12.42, allocations: 230.1 kB / 4.798 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/12.42, allocations: 0 / 4.798 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04614/12.46, allocations: 23.36 MB / 4.821 GB, free: 51.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/12.46, allocations: 259.6 kB / 4.821 GB, free: 51.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/15.24, allocations: 0 / 4.821 GB, free: 51.22 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat