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.HeatExchanger.kc_flatTube.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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001635/0.00164, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001761/0.001761, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247 MB, free: 10.43 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.2222/0.2222, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002263/0.002263, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3156, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003534/0.3192, allocations: 2.139 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3213, allocations: 1.407 MB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.3214, allocations: 0 / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.3217, allocations: 88.19 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.3219, allocations: 68.28 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.3225, allocations: 207.9 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3227, allocations: 153.8 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.3228, allocations: 22.09 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3229, allocations: 61.23 kB / 0.5347 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3231, allocations: 67.73 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3231, allocations: 6.594 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006465/0.3237, allocations: 433.1 kB / 0.5351 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.3238, allocations: 23.92 kB / 0.5352 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.948e-05/0.3239, allocations: 68.25 kB / 0.5352 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.3245, allocations: 442.2 kB / 0.5357 GB, free: 9.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.3245, allocations: 9.359 kB / 0.5357 GB, free: 9.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3246, allocations: 0 / 0.5357 GB, free: 9.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3246, allocations: 0 / 0.5357 GB, free: 9.465 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007104/0.3253, allocations: 0.4999 MB / 0.5362 GB, free: 8.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3253, allocations: 14.27 kB / 0.5362 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.75e-05/0.3254, allocations: 51.73 kB / 0.5362 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3254, allocations: 23.2 kB / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.3257, allocations: 211.2 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3257, allocations: 11.38 kB / 0.5365 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.3258, allocations: 19.12 kB / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.3262, allocations: 213.8 kB / 0.5367 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3262, allocations: 0 / 0.5367 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3262, allocations: 6.156 kB / 0.5367 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3262, allocations: 4.594 kB / 0.5367 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.3265, allocations: 146.9 kB / 0.5368 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.3274, allocations: 0.5771 MB / 0.5374 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.3276, allocations: 62.89 kB / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3277, allocations: 37.16 kB / 0.5375 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.3278, allocations: 1.188 kB / 0.5375 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3278, allocations: 35.62 kB / 0.5375 GB, free: 7.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3278, allocations: 0 / 0.5375 GB, free: 7.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004552/0.3283, allocations: 140.1 kB / 0.5377 GB, free: 7.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3283, allocations: 51.41 kB / 0.5377 GB, free: 7.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.3286, allocations: 255 kB / 0.5379 GB, free: 7.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3286, allocations: 25.7 kB / 0.538 GB, free: 7.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3288, allocations: 168.5 kB / 0.5381 GB, free: 7.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.3288, allocations: 22.56 kB / 0.5382 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.3289, allocations: 37.58 kB / 0.5382 GB, free: 7.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.329, allocations: 344.1 kB / 0.5385 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3292, allocations: 36.84 kB / 0.5386 GB, free: 6.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.3294, allocations: 130.7 kB / 0.5387 GB, free: 6.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.3297, allocations: 179.1 kB / 0.5388 GB, free: 6.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3297, allocations: 4.969 kB / 0.5389 GB, free: 6.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004338/0.3302, allocations: 206.8 kB / 0.539 GB, free: 6.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3302, allocations: 7.281 kB / 0.5391 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.3302, allocations: 11.44 kB / 0.5391 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3303, allocations: 4.75 kB / 0.5391 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3304, allocations: 33.58 kB / 0.5391 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3304, allocations: 4.781 kB / 0.5391 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3305, allocations: 39.8 kB / 0.5391 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3306, allocations: 13.41 kB / 0.5392 GB, free: 6.465 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001223/0.3307, allocations: 135 kB / 0.5393 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.3307, allocations: 19.77 kB / 0.5393 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.3311, allocations: 140.3 kB / 0.5394 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3312, allocations: 5 kB / 0.5394 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3312, allocations: 0 / 0.5394 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3312, allocations: 1.188 kB / 0.5394 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.3315, allocations: 217.2 kB / 0.5397 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/0.3315, allocations: 15.42 kB / 0.5397 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.3316, allocations: 5.344 kB / 0.5397 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3316, allocations: 144 / 0.5397 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3316, allocations: 2.125 kB / 0.5397 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3316, allocations: 1.062 kB / 0.5397 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.3316, allocations: 3.984 kB / 0.5397 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.332, allocations: 215.5 kB / 0.5399 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.3321, allocations: 97.78 kB / 0.54 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3321, allocations: 5.297 kB / 0.54 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.3322, allocations: 7.156 kB / 0.54 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3323, allocations: 11.73 kB / 0.54 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3323, allocations: 3.031 kB / 0.54 GB, free: 5.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.3325, allocations: 179 kB / 0.5402 GB, free: 5.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3325, allocations: 0 / 0.5402 GB, free: 5.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.3329, allocations: 82.39 kB / 0.5403 GB, free: 5.535 MB / 398.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009402/0.3338, allocations: 0.8005 MB / 0.541 GB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.3343, allocations: 169.5 kB / 0.5412 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3343, allocations: 1 kB / 0.5412 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3346, allocations: 99.66 kB / 0.5413 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3349, allocations: 32.59 kB / 0.5413 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.3381, allocations: 2.387 MB / 0.5437 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3385, allocations: 0.7278 MB / 0.5444 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.3385, allocations: 18.17 kB / 0.5444 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.3386, allocations: 63.31 kB / 0.5444 GB, free: 1.871 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3386, allocations: 0 / 0.5444 GB, free: 1.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.3691, allocations: 6.813 MB / 0.5511 GB, free: 12.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.15, allocations: 15.05 kB / 0.5511 GB, free: 12.3 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1)