Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001206/0.001206, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008519/0.0008518, allocations: 92.95 kB / 267.1 MB, free: 9.27 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.5043/0.5043, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.931e-05/3.941e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1759, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.247, allocations: 240.7 MB / 0.708 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/1.247, allocations: 92.98 kB / 0.708 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.065/2.312, allocations: 289.4 MB / 0.9906 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/2.312, allocations: 0 / 0.9906 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001098/2.312, allocations: 16 kB / 0.9907 GB, free: 83.57 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.006136/2.318, allocations: 1.563 MB / 0.9922 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/2.319, allocations: 15.97 kB / 0.9922 GB, free: 81.96 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003272/2.319, allocations: 97.72 kB / 0.9923 GB, free: 81.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/2.321, allocations: 143 kB / 0.9924 GB, free: 81.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/2.323, allocations: 0.5499 MB / 0.993 GB, free: 81.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/2.323, allocations: 106.5 kB / 0.9931 GB, free: 81.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/2.323, allocations: 46.81 kB / 0.9931 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/2.326, allocations: 0.8119 MB / 0.9939 GB, free: 80.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/2.326, allocations: 4 kB / 0.9939 GB, free: 80.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/2.326, allocations: 24 kB / 0.9939 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.828e-05/2.326, allocations: 44.97 kB / 0.994 GB, free: 80.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/2.328, allocations: 0.5658 MB / 0.9945 GB, free: 79.46 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006955/2.335, allocations: 4.439 MB / 0.9989 GB, free: 74.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/2.335, allocations: 321.6 kB / 0.9992 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/2.336, allocations: 138.1 kB / 0.9993 GB, free: 74.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/2.336, allocations: 340.4 kB / 0.9996 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/2.336, allocations: 38.56 kB / 0.9997 GB, free: 73.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 4.087e-06/2.336, allocations: 0 / 0.9997 GB, free: 73.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.004486/2.341, allocations: 1.257 MB / 1.001 GB, free: 72.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/2.341, allocations: 137.4 kB / 1.001 GB, free: 72.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/2.342, allocations: 0.5696 MB / 1.002 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/2.342, allocations: 33.7 kB / 1.002 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/2.342, allocations: 388.4 kB / 1.002 GB, free: 71.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/2.343, allocations: 134 kB / 1.002 GB, free: 71.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/2.343, allocations: 16 kB / 1.002 GB, free: 71.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001559/2.343, allocations: 374.8 kB / 1.002 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/2.343, allocations: 197.4 kB / 1.003 GB, free: 70.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/2.344, allocations: 499.6 kB / 1.003 GB, free: 70.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/2.344, allocations: 289.4 kB / 1.003 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/2.344, allocations: 0 / 1.003 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001947/2.346, allocations: 0.8561 MB / 1.004 GB, free: 68.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/2.346, allocations: 8 kB / 1.004 GB, free: 68.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/2.346, allocations: 12 kB / 1.004 GB, free: 68.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/2.348, allocations: 274.8 kB / 1.005 GB, free: 68.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/2.349, allocations: 119.8 kB / 1.005 GB, free: 68.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/2.35, allocations: 1.396 MB / 1.006 GB, free: 67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/2.351, allocations: 32.05 kB / 1.006 GB, free: 66.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/2.351, allocations: 48.03 kB / 1.006 GB, free: 66.93 MB / 0.4948 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 (70): * Single equations (assignments): 68 * 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: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002588/2.352, allocations: 156.7 kB / 1.006 GB, free: 66.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/2.352, allocations: 71.22 kB / 1.006 GB, free: 66.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/2.354, allocations: 0.6947 MB / 1.007 GB, free: 65.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/2.354, allocations: 4 kB / 1.007 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/2.354, allocations: 7.938 kB / 1.007 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/2.354, allocations: 0 / 1.007 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/2.357, allocations: 1.211 MB / 1.008 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/2.357, allocations: 7.984 kB / 1.008 GB, free: 64.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/2.357, allocations: 40.05 kB / 1.008 GB, free: 64.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/2.358, allocations: 199.9 kB / 1.008 GB, free: 64.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/2.358, allocations: 11.98 kB / 1.008 GB, free: 64.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/2.36, allocations: 1.292 MB / 1.01 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.36, allocations: 0 / 1.01 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/2.361, allocations: 0.8145 MB / 1.01 GB, free: 62.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/2.362, allocations: 204.2 kB / 1.011 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/2.362, allocations: 8 kB / 1.011 GB, free: 62.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/2.363, allocations: 27.98 kB / 1.011 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/2.363, allocations: 27.95 kB / 1.011 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/2.363, allocations: 24.08 kB / 1.011 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009794/2.364, allocations: 447.1 kB / 1.011 GB, free: 61.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/2.364, allocations: 0 / 1.011 GB, free: 61.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002403/2.367, allocations: 371.7 kB / 1.012 GB, free: 61.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003964/2.371, allocations: 1.879 MB / 1.013 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001471/2.372, allocations: 0.5111 MB / 1.014 GB, free: 58.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/2.372, allocations: 0 / 1.014 GB, free: 58.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006184/2.373, allocations: 200.8 kB / 1.014 GB, free: 58.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/2.375, allocations: 306.5 kB / 1.014 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/2.38, allocations: 1.137 MB / 1.015 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/2.38, allocations: 0.9539 MB / 1.016 GB, free: 56.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001375/2.381, allocations: 241.9 kB / 1.017 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/2.382, allocations: 235.3 kB / 1.017 GB, free: 55.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.253e-06/2.382, allocations: 0 / 1.017 GB, free: 55.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05713/2.439, allocations: 22.84 MB / 1.039 GB, free: 32.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/2.439, allocations: 247.4 kB / 1.039 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/5.284, allocations: 4 kB / 1.039 GB, free: 32.45 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat