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_overall_KC.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_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 199.9 kB / 18.73 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.46/1.46, allocations: 227.4 MB / 247 MB, free: 10.44 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.2301/0.2301, allocations: 46.12 MB / 344.3 MB, free: 11.47 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.002231/0.002231, allocations: 79.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3546, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.003797/0.3585, allocations: 2.18 MB / 0.5328 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.3617, allocations: 1.855 MB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.3619, allocations: 2.75 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.3623, allocations: 81.44 kB / 0.5347 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.3628, allocations: 137.5 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009893/0.3638, allocations: 351.3 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005866/0.3644, allocations: 489.1 kB / 0.5356 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3645, allocations: 70.42 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.3648, allocations: 189.8 kB / 0.5358 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.3651, allocations: 220.1 kB / 0.5361 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.3652, allocations: 12.41 kB / 0.5361 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.3662, allocations: 0.6062 MB / 0.5367 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.3664, allocations: 112.8 kB / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.3667, allocations: 195.7 kB / 0.5369 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.3679, allocations: 0.8008 MB / 0.5377 GB, free: 8.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3679, allocations: 0 / 0.5377 GB, free: 8.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3679, allocations: 0 / 0.5377 GB, free: 8.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.3679, allocations: 0 / 0.5377 GB, free: 8.195 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001461/0.3694, allocations: 0.8198 MB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3694, allocations: 12.81 kB / 0.5385 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.3696, allocations: 112 kB / 0.5387 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3697, allocations: 54.05 kB / 0.5387 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.3701, allocations: 308.1 kB / 0.539 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.3702, allocations: 43.39 kB / 0.539 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.3703, allocations: 54.03 kB / 0.5391 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.3715, allocations: 0.7592 MB / 0.5398 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3715, allocations: 1.688 kB / 0.5398 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.3716, allocations: 16.19 kB / 0.5398 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.839e-05/0.3717, allocations: 58.41 kB / 0.5399 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.373, allocations: 0.7973 MB / 0.5407 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.3754, allocations: 1.53 MB / 0.5422 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008136/0.3763, allocations: 460.9 kB / 0.5426 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.3766, allocations: 160 kB / 0.5428 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.3766, allocations: 9.25 kB / 0.5428 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3767, allocations: 40.12 kB / 0.5428 GB, free: 4.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.893e-06/0.3767, allocations: 0 / 0.5428 GB, free: 4.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001279/0.378, allocations: 0.5406 MB / 0.5433 GB, free: 4.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.378, allocations: 63.34 kB / 0.5434 GB, free: 4.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.3787, allocations: 0.5836 MB / 0.544 GB, free: 3.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.3788, allocations: 29.7 kB / 0.544 GB, free: 3.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.379, allocations: 288 kB / 0.5443 GB, free: 3.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3792, allocations: 107 kB / 0.5444 GB, free: 3.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.3794, allocations: 134.2 kB / 0.5445 GB, free: 3.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3796, allocations: 362.8 kB / 0.5449 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.38, allocations: 189 kB / 0.545 GB, free: 2.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.3807, allocations: 440.8 kB / 0.5455 GB, free: 2.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.3818, allocations: 0.66 MB / 0.5461 GB, free: 1.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3818, allocations: 0 / 0.5461 GB, free: 1.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001283/0.3831, allocations: 0.6802 MB / 0.5468 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3831, allocations: 8 kB / 0.5468 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3831, allocations: 8 kB / 0.5468 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.3831, allocations: 12.75 kB / 0.5468 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.3842, allocations: 243.7 kB / 0.547 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004907/0.3891, allocations: 7.321 MB / 0.5542 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.3897, allocations: 87.3 kB / 0.5543 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.3898, allocations: 31.98 kB / 0.5543 GB, free: 8.758 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004461/0.3903, allocations: 273.6 kB / 0.5545 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.3904, allocations: 51.67 kB / 0.5546 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.3916, allocations: 0.5565 MB / 0.5551 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3916, allocations: 8 kB / 0.5551 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3916, allocations: 3.984 kB / 0.5552 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3916, allocations: 0 / 0.5552 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.3922, allocations: 445.1 kB / 0.5556 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3922, allocations: 0 / 0.5556 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.3931, allocations: 211.8 kB / 0.5558 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3931, allocations: 0 / 0.5558 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.3931, allocations: 12 kB / 0.5558 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/0.3979, allocations: 7.298 MB / 0.5629 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3979, allocations: 0 / 0.5629 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/0.3988, allocations: 0.5158 MB / 0.5634 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.399, allocations: 128.7 kB / 0.5635 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.3991, allocations: 11.94 kB / 0.5636 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.3994, allocations: 11.98 kB / 0.5636 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.3995, allocations: 23.97 kB / 0.5636 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.3995, allocations: 19.98 kB / 0.5636 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005085/0.4, allocations: 406.8 kB / 0.564 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4, allocations: 0 / 0.564 GB, free: 14.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007467/0.4008, allocations: 183.6 kB / 0.5642 GB, free: 14.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.4023, allocations: 1.168 MB / 0.5653 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.4041, allocations: 0.6228 MB / 0.5659 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4041, allocations: 0 / 0.5659 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.4052, allocations: 347.7 kB / 0.5663 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.4058, allocations: 125.8 kB / 0.5664 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008641/0.4145, allocations: 5.663 MB / 0.5719 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.4152, allocations: 0.9054 MB / 0.5728 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004746/0.4157, allocations: 168.4 kB / 0.5729 GB, free: 4.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.4159, allocations: 151.4 kB / 0.5731 GB, free: 4.75 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4159, allocations: 0 / 0.5731 GB, free: 4.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/0.4631, allocations: 16.41 MB / 0.5891 GB, free: 4.613 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.91, allocations: 6.016 kB / 0.5891 GB, free: 4.609 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_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_overall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1)