Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001503/0.001502, allocations: 175.1 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0009825/0.0009823, allocations: 89.7 kB / 281.6 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2617/0.2617, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.763e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1616, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.187, allocations: 236.4 MB / 0.7256 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/1.188, allocations: 90.69 kB / 0.7257 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.88/2.068, allocations: 257.4 MB / 0.977 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.184e-06/2.068, allocations: 0 / 0.977 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.414e-05/2.068, allocations: 28.25 kB / 0.9771 GB, free: 114.2 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00294/2.071, allocations: 1.179 MB / 0.9782 GB, free: 113 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/2.071, allocations: 19.91 kB / 0.9782 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/2.072, allocations: 142.9 kB / 0.9784 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/2.073, allocations: 0.5459 MB / 0.9789 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/2.073, allocations: 84.72 kB / 0.979 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/2.073, allocations: 28 kB / 0.979 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008171/2.074, allocations: 0.5022 MB / 0.9795 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/2.075, allocations: 0.7232 MB / 0.9802 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/2.075, allocations: 7.938 kB / 0.9802 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/2.075, allocations: 4 kB / 0.9802 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/2.075, allocations: 41.3 kB / 0.9803 GB, free: 110.7 MB / 0.5105 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.004632/2.08, allocations: 4.379 MB / 0.9845 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/2.08, allocations: 286.8 kB / 0.9848 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/2.081, allocations: 128.8 kB / 0.9849 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/2.081, allocations: 424.3 kB / 0.9853 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/2.081, allocations: 38.56 kB / 0.9854 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 4.599e-06/2.081, allocations: 0 / 0.9854 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.004013/2.085, allocations: 1.212 MB / 0.9866 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/2.085, allocations: 136.5 kB / 0.9867 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/2.086, allocations: 461.4 kB / 0.9871 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/2.086, allocations: 32.23 kB / 0.9872 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/2.086, allocations: 402.8 kB / 0.9876 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/2.086, allocations: 126.2 kB / 0.9877 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/2.086, allocations: 0 / 0.9877 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001757/2.086, allocations: 374.8 kB / 0.988 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/2.087, allocations: 177.5 kB / 0.9882 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/2.087, allocations: 474.3 kB / 0.9886 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008192/2.088, allocations: 320.4 kB / 0.989 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/2.088, allocations: 4 kB / 0.989 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001497/2.089, allocations: 0.8016 MB / 0.9897 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/2.089, allocations: 13.19 kB / 0.9898 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/2.089, allocations: 8 kB / 0.9898 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007834/2.09, allocations: 226.3 kB / 0.99 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/2.091, allocations: 123.8 kB / 0.9901 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/2.092, allocations: 1.419 MB / 0.9915 GB, free: 98.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/2.092, allocations: 19.98 kB / 0.9915 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/2.092, allocations: 44 kB / 0.9915 GB, free: 98.47 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 () * 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.0001786/2.093, allocations: 136.7 kB / 0.9917 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001024/2.094, allocations: 482.2 kB / 0.9921 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/2.094, allocations: 63.25 kB / 0.9922 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/2.095, allocations: 0.6727 MB / 0.9928 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/2.095, allocations: 7.938 kB / 0.9929 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/2.095, allocations: 3.953 kB / 0.9929 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/2.095, allocations: 0 / 0.9929 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/2.097, allocations: 1.14 MB / 0.994 GB, free: 95.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/2.097, allocations: 4 kB / 0.994 GB, free: 95.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/2.097, allocations: 43.81 kB / 0.994 GB, free: 95.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/2.098, allocations: 153.5 kB / 0.9942 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/2.098, allocations: 8.062 kB / 0.9942 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000933/2.099, allocations: 1.311 MB / 0.9955 GB, free: 94.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/2.099, allocations: 0 / 0.9955 GB, free: 94.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/2.1, allocations: 0.7828 MB / 0.9962 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/2.1, allocations: 184.4 kB / 0.9964 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/2.101, allocations: 11.92 kB / 0.9964 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/2.101, allocations: 16.05 kB / 0.9964 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/2.101, allocations: 27.92 kB / 0.9964 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/2.101, allocations: 23.98 kB / 0.9965 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000378/2.102, allocations: 334.9 kB / 0.9968 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/2.102, allocations: 0 / 0.9968 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001254/2.103, allocations: 271.8 kB / 0.997 GB, free: 92.64 MB / 0.5105 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 (25): * Single equations (assignments): 23 * 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.002119/2.105, allocations: 1.674 MB / 0.9987 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001022/2.106, allocations: 470.8 kB / 0.9991 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/2.106, allocations: 4 kB / 0.9991 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/2.106, allocations: 200.5 kB / 0.9993 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/2.108, allocations: 244.1 kB / 0.9996 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/2.11, allocations: 1.033 MB / 1.001 GB, free: 88.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/2.11, allocations: 0.9455 MB / 1.001 GB, free: 88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007212/2.111, allocations: 245.8 kB / 1.002 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/2.111, allocations: 231.3 kB / 1.002 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/2.111, allocations: 0 / 1.002 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04875/2.16, allocations: 17.99 MB / 1.02 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/2.161, allocations: 206.6 kB / 1.02 GB, free: 69.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/4.86, allocations: 1.719 kB / 1.02 GB, free: 69.43 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat