Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.41 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.2348/0.2348, allocations: 46.11 MB / 344.3 MB, free: 11.45 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.003179/0.003179, allocations: 75.86 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3863, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003769/0.3901, allocations: 2.013 MB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.3924, allocations: 1.169 MB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3925, allocations: 2.875 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.3929, allocations: 52.05 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.3931, allocations: 82.56 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.3937, allocations: 178.4 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.3941, allocations: 317.6 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.3942, allocations: 41.33 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.3944, allocations: 122.4 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.3946, allocations: 137 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.3947, allocations: 11 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.3951, allocations: 210.6 kB / 0.5348 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3952, allocations: 74.23 kB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3954, allocations: 120.9 kB / 0.535 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.396, allocations: 414.3 kB / 0.5354 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.396, allocations: 1.156 kB / 0.5354 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.396, allocations: 0 / 0.5354 GB, free: 9.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3961, allocations: 0 / 0.5354 GB, free: 9.801 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001211/0.3973, allocations: 0.6327 MB / 0.536 GB, free: 9.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3973, allocations: 9.062 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.59e-05/0.3974, allocations: 66.48 kB / 0.5361 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.3978, allocations: 74.09 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.3981, allocations: 262.7 kB / 0.5364 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3982, allocations: 19.34 kB / 0.5365 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.3982, allocations: 24.31 kB / 0.5365 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.399, allocations: 428.5 kB / 0.5369 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.399, allocations: 0 / 0.5369 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.3991, allocations: 10.78 kB / 0.5369 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/0.3991, allocations: 30.11 kB / 0.5369 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.3998, allocations: 322.1 kB / 0.5372 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.4014, allocations: 1.101 MB / 0.5383 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.4019, allocations: 247.5 kB / 0.5385 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.4022, allocations: 106.8 kB / 0.5386 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.4023, allocations: 6.172 kB / 0.5387 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.4023, allocations: 44.52 kB / 0.5387 GB, free: 7.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.4023, allocations: 0 / 0.5387 GB, free: 7.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001057/0.4034, allocations: 351 kB / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.4035, allocations: 113.3 kB / 0.5391 GB, free: 7.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.4039, allocations: 409 kB / 0.5395 GB, free: 6.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.404, allocations: 26.92 kB / 0.5396 GB, free: 6.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.4041, allocations: 198 kB / 0.5397 GB, free: 6.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.4042, allocations: 50.11 kB / 0.5398 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.4043, allocations: 66.12 kB / 0.5399 GB, free: 6.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4045, allocations: 347.4 kB / 0.5402 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.4048, allocations: 114.5 kB / 0.5403 GB, free: 6.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.4052, allocations: 240 kB / 0.5405 GB, free: 5.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.4059, allocations: 366.8 kB / 0.5409 GB, free: 5.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.4059, allocations: 1.938 kB / 0.5409 GB, free: 5.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008896/0.4068, allocations: 401.6 kB / 0.5413 GB, free: 5.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.4069, allocations: 7.625 kB / 0.5413 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-05/0.4069, allocations: 28.95 kB / 0.5413 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.407, allocations: 5.938 kB / 0.5413 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.4072, allocations: 44.72 kB / 0.5413 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.4072, allocations: 13.08 kB / 0.5414 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.4076, allocations: 61.86 kB / 0.5414 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.4076, allocations: 17.53 kB / 0.5414 GB, free: 5.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.4078, allocations: 184.9 kB / 0.5416 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4079, allocations: 29.16 kB / 0.5416 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.4086, allocations: 287.8 kB / 0.5419 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.4086, allocations: 6.656 kB / 0.5419 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4086, allocations: 1.25 kB / 0.5419 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.4086, allocations: 9.469 kB / 0.5419 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.4092, allocations: 297.8 kB / 0.5422 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/0.4092, allocations: 23.17 kB / 0.5422 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.4094, allocations: 23.34 kB / 0.5423 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4094, allocations: 1.125 kB / 0.5423 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.4094, allocations: 13.56 kB / 0.5423 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4094, allocations: 5 kB / 0.5423 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4094, allocations: 1.25 kB / 0.5423 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.4102, allocations: 0.5006 MB / 0.5428 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.4104, allocations: 122.1 kB / 0.5429 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.4104, allocations: 1.062 kB / 0.5429 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.4107, allocations: 21.66 kB / 0.5429 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.4108, allocations: 20.73 kB / 0.5429 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.4108, allocations: 13.41 kB / 0.5429 GB, free: 4.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003605/0.4112, allocations: 289 kB / 0.5432 GB, free: 3.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4112, allocations: 4 kB / 0.5432 GB, free: 3.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006824/0.4119, allocations: 95.28 kB / 0.5433 GB, free: 3.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.4132, allocations: 1.089 MB / 0.5444 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008392/0.4141, allocations: 436.9 kB / 0.5448 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4141, allocations: 0 / 0.5448 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.4145, allocations: 274.1 kB / 0.545 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.4151, allocations: 69.7 kB / 0.5451 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/0.4207, allocations: 3.846 MB / 0.5489 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.4212, allocations: 0.8026 MB / 0.5497 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.4214, allocations: 62.91 kB / 0.5497 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.4215, allocations: 87.41 kB / 0.5498 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4215, allocations: 3.938 kB / 0.5498 GB, free: 13.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.4554, allocations: 9.141 MB / 0.5587 GB, free: 4.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.701, allocations: 10.94 kB / 0.5587 GB, free: 4.316 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)