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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007327/0.0007328, allocations: 99.03 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009163/0.0009165, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1991/0.1991, allocations: 44.21 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003134, allocations: 11.22 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02549/0.1537, allocations: 23.45 MB / 495.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006682/0.1604, allocations: 4.207 MB / 499.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.1615, allocations: 31.69 kB / 499.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009398/0.1624, allocations: 242.5 kB / 499.6 MB, free: 1.605 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004362/0.1668, allocations: 1.455 MB / 0.4893 GB, free: 152 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.1699, allocations: 1.13 MB / 0.4904 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002905/0.1729, allocations: 2.246 MB / 0.4926 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008895/0.1738, allocations: 393.2 kB / 0.493 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005908/0.1797, allocations: 3.408 MB / 0.4963 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.1823, allocations: 1.427 MB / 0.4977 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.1825, allocations: 32 kB / 0.4977 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.1856, allocations: 1.221 MB / 0.4989 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004519/0.1861, allocations: 235.2 kB / 0.4991 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.1865, allocations: 165.4 kB / 0.4993 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.1884, allocations: 0.9781 MB / 0.5003 GB, free: 4.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.1885, allocations: 4 kB / 0.5003 GB, free: 4.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1885, allocations: 4 kB / 0.5003 GB, free: 4.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.089e-05/0.1885, allocations: 4 kB / 0.5003 GB, free: 4.898 MB / 382.1 MB 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.002535/0.1911, allocations: 0.9776 MB / 0.5012 GB, free: 3.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1911, allocations: 12.03 kB / 0.5012 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/0.1914, allocations: 102.4 kB / 0.5013 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.1925, allocations: 143.1 kB / 0.5015 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1936, allocations: 0.5004 MB / 0.502 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.1938, allocations: 100.4 kB / 0.502 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.1939, allocations: 52 kB / 0.5021 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.1954, allocations: 0.8278 MB / 0.5029 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.1954, allocations: 7.938 kB / 0.5029 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.1955, allocations: 20 kB / 0.5029 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.1956, allocations: 36.98 kB / 0.503 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.1969, allocations: 0.6009 MB / 0.5036 GB, free: 1.332 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.3054/0.5024, allocations: 4.688 MB / 0.5081 GB, free: 47.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.5032, allocations: 323.9 kB / 0.5084 GB, free: 47.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.5035, allocations: 149.1 kB / 0.5086 GB, free: 47.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.5037, allocations: 413.2 kB / 0.509 GB, free: 47.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.5037, allocations: 37.59 kB / 0.509 GB, free: 47.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.5038, allocations: 0 / 0.509 GB, free: 47.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003944/0.5077, allocations: 1.521 MB / 0.5105 GB, free: 46.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.5078, allocations: 137.2 kB / 0.5106 GB, free: 46.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.5086, allocations: 0.6524 MB / 0.5113 GB, free: 46.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.5086, allocations: 34.89 kB / 0.5113 GB, free: 46.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.5089, allocations: 390.6 kB / 0.5117 GB, free: 46.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.509, allocations: 133.8 kB / 0.5118 GB, free: 45.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.509, allocations: 15.59 kB / 0.5118 GB, free: 45.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5091, allocations: 376.7 kB / 0.5122 GB, free: 45.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.5095, allocations: 199 kB / 0.5124 GB, free: 45.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.51, allocations: 0.4989 MB / 0.5129 GB, free: 45.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.5104, allocations: 291.2 kB / 0.5131 GB, free: 44.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5104, allocations: 2.547 kB / 0.5131 GB, free: 44.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001378/0.5118, allocations: 0.8546 MB / 0.514 GB, free: 44.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.5118, allocations: 8.875 kB / 0.514 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5119, allocations: 12.44 kB / 0.514 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.5131, allocations: 281.3 kB / 0.5143 GB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.5135, allocations: 126.4 kB / 0.5144 GB, free: 44.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.5146, allocations: 1.405 MB / 0.5157 GB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.5151, allocations: 37.66 kB / 0.5158 GB, free: 43.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/0.5152, allocations: 39.98 kB / 0.5158 GB, free: 43.35 MB / 382.1 MB 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 (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.0003625/0.5156, allocations: 250.6 kB / 0.5161 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5157, allocations: 70 kB / 0.5161 GB, free: 43.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.5172, allocations: 0.7127 MB / 0.5168 GB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5172, allocations: 5.438 kB / 0.5168 GB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5172, allocations: 1.844 kB / 0.5168 GB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5172, allocations: 2.719 kB / 0.5168 GB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.5191, allocations: 1.204 MB / 0.518 GB, free: 42.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.5191, allocations: 3.938 kB / 0.518 GB, free: 42.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.5193, allocations: 38.14 kB / 0.518 GB, free: 42.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00083/0.5202, allocations: 211.8 kB / 0.5183 GB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.5202, allocations: 9.531 kB / 0.5183 GB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008323/0.521, allocations: 1.295 MB / 0.5195 GB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.521, allocations: 5.047 kB / 0.5195 GB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.5223, allocations: 0.8084 MB / 0.5203 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.5226, allocations: 193.3 kB / 0.5205 GB, free: 40.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/0.5227, allocations: 7.25 kB / 0.5205 GB, free: 40.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.523, allocations: 26.83 kB / 0.5205 GB, free: 40.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.5231, allocations: 28.11 kB / 0.5206 GB, free: 40.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.5232, allocations: 23.84 kB / 0.5206 GB, free: 40.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006686/0.5239, allocations: 447.6 kB / 0.521 GB, free: 40.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5239, allocations: 2.875 kB / 0.521 GB, free: 40.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.5249, allocations: 250.8 kB / 0.5213 GB, free: 40.15 MB / 382.1 MB 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 () * Number of clocked 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.001893/0.5268, allocations: 1.524 MB / 0.5227 GB, free: 39.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.5279, allocations: 0.5047 MB / 0.5232 GB, free: 39.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.528, allocations: 1.125 kB / 0.5232 GB, free: 39.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.5285, allocations: 224.9 kB / 0.5235 GB, free: 38.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.5299, allocations: 320.9 kB / 0.5238 GB, free: 38.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007115/0.5371, allocations: 4.141 MB / 0.5278 GB, free: 36.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.5375, allocations: 0.9288 MB / 0.5287 GB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009442/0.5385, allocations: 260.6 kB / 0.529 GB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.5388, allocations: 227.8 kB / 0.5292 GB, free: 35.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5388, allocations: 0 / 0.5292 GB, free: 35.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.5783, allocations: 20.54 MB / 0.5492 GB, free: 18.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.5785, allocations: 290.2 kB / 0.5495 GB, free: 17.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.862, allocations: 4.469 kB / 0.5495 GB, free: 17.77 MB / 382.1 MB (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