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.0008615/0.0008616, allocations: 93.7 kB / 16.98 MB, free: 5.934 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.0008693/0.0008693, allocations: 186.2 kB / 17.88 MB, free: 5.594 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.394/1.394, allocations: 223.2 MB / 241.8 MB, free: 376 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.2301/0.2301, allocations: 44.21 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003274, allocations: 12.77 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02/0.1612, allocations: 17.14 MB / 488.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007924/0.1692, allocations: 4.59 MB / 493.3 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1702, allocations: 27.75 kB / 493.3 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008772/0.1711, allocations: 246.7 kB / 493.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.1752, allocations: 1.336 MB / 494.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.1783, allocations: 1.134 MB / 496 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002225/0.1805, allocations: 1.047 MB / 497.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.1813, allocations: 409.2 kB / 497.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005913/0.1872, allocations: 3.116 MB / 0.4888 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.1896, allocations: 1.177 MB / 0.49 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.1898, allocations: 32 kB / 0.49 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.1927, allocations: 1.202 MB / 0.4912 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003712/0.1931, allocations: 219.4 kB / 0.4914 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.1935, allocations: 173.3 kB / 0.4916 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.1956, allocations: 0.9703 MB / 0.4925 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.1956, allocations: 0 / 0.4925 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1956, allocations: 4 kB / 0.4925 GB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.1956, allocations: 0 / 0.4925 GB, free: 12.77 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.002295/0.1979, allocations: 0.9777 MB / 0.4935 GB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.198, allocations: 8.031 kB / 0.4935 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.1981, allocations: 106.4 kB / 0.4936 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009854/0.1991, allocations: 143.1 kB / 0.4937 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/0.2001, allocations: 0.4965 MB / 0.4942 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.2002, allocations: 108.4 kB / 0.4943 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.2003, allocations: 47.98 kB / 0.4944 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.2018, allocations: 0.8277 MB / 0.4952 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.2019, allocations: 0 / 0.4952 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.2019, allocations: 24 kB / 0.4952 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/0.202, allocations: 40.92 kB / 0.4952 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.2032, allocations: 0.6048 MB / 0.4958 GB, free: 9.195 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.005535/0.2087, allocations: 4.711 MB / 0.5004 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/0.2094, allocations: 335.4 kB / 0.5007 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.2098, allocations: 414 kB / 0.5011 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.2099, allocations: 46.5 kB / 0.5012 GB, free: 3.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.816e-06/0.2099, allocations: 0 / 0.5012 GB, free: 3.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004093/0.214, allocations: 1.527 MB / 0.5027 GB, free: 1.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/0.2141, allocations: 136.5 kB / 0.5028 GB, free: 1.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008712/0.215, allocations: 0.6486 MB / 0.5034 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.215, allocations: 33.7 kB / 0.5035 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.2154, allocations: 394.5 kB / 0.5038 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2155, allocations: 130.2 kB / 0.504 GB, free: 240 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.2156, allocations: 16 kB / 0.504 GB, free: 224 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.269/0.4845, allocations: 378.5 kB / 0.5043 GB, free: 50.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.4852, allocations: 195 kB / 0.5045 GB, free: 50.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.4858, allocations: 0.4891 MB / 0.505 GB, free: 49.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.4863, allocations: 292.3 kB / 0.5053 GB, free: 49.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4863, allocations: 2.781 kB / 0.5053 GB, free: 49.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002084/0.4884, allocations: 0.8573 MB / 0.5061 GB, free: 49.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.4884, allocations: 9.234 kB / 0.5061 GB, free: 49.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.4884, allocations: 9.594 kB / 0.5061 GB, free: 49.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.4903, allocations: 280.1 kB / 0.5064 GB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.4909, allocations: 123.2 kB / 0.5065 GB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.4924, allocations: 1.398 MB / 0.5079 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008663/0.4933, allocations: 38.94 kB / 0.5079 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4934, allocations: 42.75 kB / 0.508 GB, free: 48.46 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.0004754/0.4939, allocations: 246.7 kB / 0.5082 GB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.4941, allocations: 68.38 kB / 0.5083 GB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.4963, allocations: 0.7179 MB / 0.509 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4963, allocations: 4.719 kB / 0.509 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4963, allocations: 3.188 kB / 0.509 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4963, allocations: 5.922 kB / 0.509 GB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.499, allocations: 1.205 MB / 0.5102 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4991, allocations: 2.078 kB / 0.5102 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.4993, allocations: 47.23 kB / 0.5102 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.5006, allocations: 197.2 kB / 0.5104 GB, free: 47.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.5006, allocations: 9.047 kB / 0.5104 GB, free: 47.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.5018, allocations: 1.299 MB / 0.5117 GB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5018, allocations: 1.219 kB / 0.5117 GB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.5036, allocations: 0.8385 MB / 0.5125 GB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.504, allocations: 192.8 kB / 0.5127 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.5041, allocations: 8.5 kB / 0.5127 GB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.5047, allocations: 26.42 kB / 0.5127 GB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.5048, allocations: 24.84 kB / 0.5127 GB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.5049, allocations: 25.48 kB / 0.5128 GB, free: 45.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007476/0.5057, allocations: 454.3 kB / 0.5132 GB, free: 45.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5057, allocations: 0 / 0.5132 GB, free: 45.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001392/0.5071, allocations: 255.1 kB / 0.5134 GB, free: 45.56 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.002339/0.5094, allocations: 1.683 MB / 0.5151 GB, free: 44.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.5105, allocations: 0.5007 MB / 0.5156 GB, free: 44.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5105, allocations: 4.688 kB / 0.5156 GB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.5111, allocations: 224.4 kB / 0.5158 GB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.5126, allocations: 308 kB / 0.5161 GB, free: 44.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008941/0.5215, allocations: 10.3 MB / 0.5261 GB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.5221, allocations: 0.9499 MB / 0.5271 GB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009912/0.5231, allocations: 256.2 kB / 0.5273 GB, free: 35.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.5235, allocations: 227.8 kB / 0.5275 GB, free: 34.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5235, allocations: 1.094 kB / 0.5275 GB, free: 34.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.5604, allocations: 20.53 MB / 0.5476 GB, free: 19.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.5606, allocations: 280.2 kB / 0.5478 GB, free: 19.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.815, allocations: 5.891 kB / 0.5479 GB, free: 19.05 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