Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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 trunk/package.mo): time 0.001309/0.001315, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2281/0.2281, allocations: 46.11 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003617/0.003617, allocations: 84.22 kB / 417.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1543, allocations: 62.45 MB / 480.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.0325/0.1869, allocations: 25.05 MB / 0.4934 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006973/0.1939, allocations: 4.37 MB / 0.4977 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006315/0.1945, allocations: 19.88 kB / 0.4977 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008493/0.1954, allocations: 302.1 kB / 0.498 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.1995, allocations: 1.633 MB / 0.4996 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.2032, allocations: 1.371 MB / 0.5009 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.2058, allocations: 1.852 MB / 0.5027 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008429/0.2066, allocations: 493.3 kB / 0.5032 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2259/0.4326, allocations: 3.358 MB / 0.5065 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.435, allocations: 1.416 MB / 0.5079 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.4354, allocations: 61.19 kB / 0.5079 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.4382, allocations: 1.276 MB / 0.5092 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004272/0.4386, allocations: 269.3 kB / 0.5094 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006328/0.4393, allocations: 403.8 kB / 0.5098 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.4417, allocations: 1.357 MB / 0.5112 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4417, allocations: 1.219 kB / 0.5112 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4417, allocations: 4 kB / 0.5112 GB, free: 13.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.4417, allocations: 0.75 kB / 0.5112 GB, free: 13.31 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.002439/0.4442, allocations: 1.131 MB / 0.5123 GB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4442, allocations: 9.188 kB / 0.5123 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.4444, allocations: 99.19 kB / 0.5124 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.4454, allocations: 144.6 kB / 0.5125 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007702/0.4462, allocations: 0.5093 MB / 0.513 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/0.4463, allocations: 101.3 kB / 0.5131 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/0.4464, allocations: 56.81 kB / 0.5132 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.4477, allocations: 0.8293 MB / 0.514 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.4478, allocations: 4.844 kB / 0.514 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.4478, allocations: 27.41 kB / 0.514 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/0.4479, allocations: 42.45 kB / 0.514 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.4491, allocations: 0.6056 MB / 0.5146 GB, free: 12.09 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.004542/0.4537, allocations: 4.69 MB / 0.5192 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.4543, allocations: 340.2 kB / 0.5195 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.4545, allocations: 139.9 kB / 0.5197 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.4547, allocations: 413.8 kB / 0.5201 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.4548, allocations: 39.81 kB / 0.5201 GB, free: 8.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.4548, allocations: 0 / 0.5201 GB, free: 8.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003964/0.4588, allocations: 1.54 MB / 0.5216 GB, free: 7.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4588, allocations: 136.7 kB / 0.5217 GB, free: 7.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/0.4596, allocations: 0.656 MB / 0.5224 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.4597, allocations: 36.95 kB / 0.5224 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.4599, allocations: 389.2 kB / 0.5228 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.563e-05/0.46, allocations: 129.4 kB / 0.5229 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.4602, allocations: 150 kB / 0.523 GB, free: 6.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.4603, allocations: 377.3 kB / 0.5234 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.4607, allocations: 202.8 kB / 0.5236 GB, free: 6.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.4611, allocations: 0.4954 MB / 0.5241 GB, free: 6.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009198/0.4621, allocations: 0.712 MB / 0.5248 GB, free: 5.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.4621, allocations: 2.5 kB / 0.5248 GB, free: 5.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001783/0.4639, allocations: 0.8959 MB / 0.5257 GB, free: 5.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.4639, allocations: 10.06 kB / 0.5257 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.4639, allocations: 8.906 kB / 0.5257 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.4653, allocations: 282.9 kB / 0.5259 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.4657, allocations: 121.5 kB / 0.5261 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.4668, allocations: 1.405 MB / 0.5274 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.4673, allocations: 28.8 kB / 0.5275 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.4674, allocations: 39.53 kB / 0.5275 GB, free: 4.734 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.4678, allocations: 245.4 kB / 0.5277 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.4679, allocations: 70.44 kB / 0.5278 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.4695, allocations: 0.7282 MB / 0.5285 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4696, allocations: 7.438 kB / 0.5285 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4696, allocations: 0 / 0.5285 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4696, allocations: 1.812 kB / 0.5285 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.4717, allocations: 1.21 MB / 0.5297 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4717, allocations: 2.531 kB / 0.5297 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.4718, allocations: 42.61 kB / 0.5297 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007933/0.4726, allocations: 190.9 kB / 0.5299 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.4727, allocations: 16.62 kB / 0.5299 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007664/0.4735, allocations: 1.299 MB / 0.5312 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4735, allocations: 0 / 0.5312 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.4747, allocations: 0.8091 MB / 0.532 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.475, allocations: 186.9 kB / 0.5322 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4751, allocations: 5.938 kB / 0.5322 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.4755, allocations: 16.91 kB / 0.5322 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.4756, allocations: 31.89 kB / 0.5322 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.4756, allocations: 23.08 kB / 0.5322 GB, free: 2.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005169/0.4762, allocations: 453.4 kB / 0.5327 GB, free: 2.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4762, allocations: 0 / 0.5327 GB, free: 2.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001087/0.4773, allocations: 250.3 kB / 0.5329 GB, free: 2.602 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002136/0.4794, allocations: 1.527 MB / 0.5344 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.4807, allocations: 0.5543 MB / 0.535 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4807, allocations: 5.172 kB / 0.535 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.4812, allocations: 228.6 kB / 0.5352 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.4828, allocations: 347 kB / 0.5355 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/0.4912, allocations: 6.355 MB / 0.5417 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/0.4917, allocations: 0.936 MB / 0.5426 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008896/0.4926, allocations: 262 kB / 0.5429 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/0.493, allocations: 228.5 kB / 0.5431 GB, free: 12.51 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.493, allocations: 0 / 0.5431 GB, free: 12.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/0.5493, allocations: 21.85 MB / 0.5644 GB, free: 8.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.62, allocations: 11.89 kB / 0.5644 GB, free: 8.871 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)