Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002382/0.002382, allocations: 183.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.259/2.259, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001176/0.001176, allocations: 92.06 kB / 270.9 MB, free: 8.375 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.5372/0.5372, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006503/0.0006507, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1515, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.4264/0.5779, allocations: 18.2 MB / 0.4966 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.5905, allocations: 5.843 MB / 0.5023 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.5919, allocations: 22.12 kB / 0.5023 GB, free: 33.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.5933, allocations: 248.1 kB / 0.5026 GB, free: 33.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006632/0.6, allocations: 1.489 MB / 0.504 GB, free: 32.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00512/0.6051, allocations: 1.255 MB / 0.5052 GB, free: 32.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002598/0.6077, allocations: 1.058 MB / 0.5063 GB, free: 31.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.6088, allocations: 402.5 kB / 0.5067 GB, free: 31.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008929/0.6178, allocations: 3.115 MB / 0.5097 GB, free: 31.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.621, allocations: 1.178 MB / 0.5109 GB, free: 31.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.6213, allocations: 29.28 kB / 0.5109 GB, free: 31.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.6257, allocations: 1.351 MB / 0.5122 GB, free: 30.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005795/0.6264, allocations: 222.5 kB / 0.5124 GB, free: 30.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.6268, allocations: 164.7 kB / 0.5126 GB, free: 30.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.6296, allocations: 1.045 MB / 0.5136 GB, free: 30.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6296, allocations: 0 / 0.5136 GB, free: 30.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6297, allocations: 0 / 0.5136 GB, free: 30.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.6297, allocations: 0 / 0.5136 GB, free: 30.35 MB / 378.7 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.002845/0.6325, allocations: 0.9948 MB / 0.5146 GB, free: 29.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6326, allocations: 10 kB / 0.5146 GB, free: 29.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.6328, allocations: 101.8 kB / 0.5147 GB, free: 29.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.6343, allocations: 145.4 kB / 0.5148 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6355, allocations: 0.5017 MB / 0.5153 GB, free: 29.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.6357, allocations: 98.06 kB / 0.5154 GB, free: 29.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6358, allocations: 54.22 kB / 0.5154 GB, free: 29.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.6379, allocations: 0.8301 MB / 0.5163 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.638, allocations: 3.469 kB / 0.5163 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.6381, allocations: 27.27 kB / 0.5163 GB, free: 28.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.404e-05/0.6382, allocations: 48.03 kB / 0.5163 GB, free: 28.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.6402, allocations: 0.6008 MB / 0.5169 GB, free: 28.38 MB / 378.7 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.00713/0.6473, allocations: 4.647 MB / 0.5215 GB, free: 24.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.6484, allocations: 330.6 kB / 0.5218 GB, free: 24.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.6487, allocations: 341.5 kB / 0.5221 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.6488, allocations: 41.25 kB / 0.5221 GB, free: 23.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/0.6488, allocations: 0 / 0.5221 GB, free: 23.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.006414/0.6552, allocations: 1.546 MB / 0.5236 GB, free: 23.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.6553, allocations: 135.4 kB / 0.5238 GB, free: 22.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.6564, allocations: 0.6457 MB / 0.5244 GB, free: 22.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.6566, allocations: 32.92 kB / 0.5244 GB, free: 22.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.6569, allocations: 418.2 kB / 0.5248 GB, free: 22.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.657, allocations: 135.9 kB / 0.525 GB, free: 22.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.6571, allocations: 14.88 kB / 0.525 GB, free: 22.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.6572, allocations: 339 kB / 0.5253 GB, free: 21.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.6577, allocations: 202.9 kB / 0.5255 GB, free: 21.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/0.6585, allocations: 0.4927 MB / 0.526 GB, free: 21.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/0.6593, allocations: 293 kB / 0.5263 GB, free: 21.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.6593, allocations: 3.375 kB / 0.5263 GB, free: 21.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002149/0.6614, allocations: 0.8264 MB / 0.5271 GB, free: 20.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.6615, allocations: 12.41 kB / 0.5271 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.6616, allocations: 6.312 kB / 0.5271 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.6639, allocations: 304.3 kB / 0.5274 GB, free: 20.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/0.6647, allocations: 119.6 kB / 0.5275 GB, free: 20.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.6665, allocations: 1.393 MB / 0.5288 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.6675, allocations: 37.38 kB / 0.5289 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.6677, allocations: 47.61 kB / 0.5289 GB, free: 19.46 MB / 378.7 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.0005076/0.6682, allocations: 254 kB / 0.5292 GB, free: 19.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.6684, allocations: 71.69 kB / 0.5292 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.6708, allocations: 0.6546 MB / 0.5299 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.6709, allocations: 7.156 kB / 0.5299 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.6709, allocations: 4 kB / 0.5299 GB, free: 18.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.6709, allocations: 0 / 0.5299 GB, free: 18.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.6739, allocations: 1.223 MB / 0.5311 GB, free: 18.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.674, allocations: 64 / 0.5311 GB, free: 18.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.6743, allocations: 47.36 kB / 0.5311 GB, free: 18.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.6757, allocations: 211.4 kB / 0.5313 GB, free: 18.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.6758, allocations: 9.938 kB / 0.5313 GB, free: 18.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.6771, allocations: 1.301 MB / 0.5326 GB, free: 17.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6772, allocations: 0 / 0.5326 GB, free: 17.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.6794, allocations: 0.8343 MB / 0.5334 GB, free: 16.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.68, allocations: 196.4 kB / 0.5336 GB, free: 16.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.6801, allocations: 11.06 kB / 0.5336 GB, free: 16.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.6809, allocations: 24.59 kB / 0.5336 GB, free: 16.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.681, allocations: 25.16 kB / 0.5337 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.6811, allocations: 30.05 kB / 0.5337 GB, free: 16.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008093/0.6819, allocations: 447.2 kB / 0.5341 GB, free: 16.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6819, allocations: 96 / 0.5341 GB, free: 16.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001515/0.6835, allocations: 296.1 kB / 0.5344 GB, free: 16.14 MB / 378.7 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.00342/0.6869, allocations: 1.762 MB / 0.5361 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.6887, allocations: 0.5086 MB / 0.5366 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6887, allocations: 1.625 kB / 0.5366 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.6895, allocations: 224.6 kB / 0.5368 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/0.6922, allocations: 299.7 kB / 0.5371 GB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.7049, allocations: 10.37 MB / 0.5472 GB, free: 22.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.7057, allocations: 0.9493 MB / 0.5482 GB, free: 21.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.7064, allocations: 237.3 kB / 0.5484 GB, free: 21.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7064, allocations: 4 kB / 0.5484 GB, free: 21.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.502/4.208, allocations: 20.56 MB / 0.5685 GB, free: 9.492 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat