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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2406/0.2406, allocations: 46.94 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002331/0.002331, allocations: 83.86 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3603, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003517/0.3638, allocations: 2.148 MB / 0.5636 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.3659, allocations: 1.427 MB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.366, allocations: 0 / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.3663, allocations: 95.38 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.3665, allocations: 67.41 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.367, allocations: 215.1 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3672, allocations: 147 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.3673, allocations: 12.59 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.3675, allocations: 71.53 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3676, allocations: 63.59 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.3676, allocations: 4 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006622/0.3682, allocations: 439.3 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.3683, allocations: 19.86 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.839e-05/0.3684, allocations: 67.5 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.3689, allocations: 446.2 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.369, allocations: 4 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.369, allocations: 0 / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.369, allocations: 4 kB / 0.5666 GB, free: 15.07 MB / 414.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.0006254/0.3696, allocations: 433 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3696, allocations: 12.03 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.3697, allocations: 50.73 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.3697, allocations: 24.8 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3699, allocations: 162.2 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3699, allocations: 16.38 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.37, allocations: 19.94 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.3703, allocations: 206.7 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3704, allocations: 0 / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3704, allocations: 4 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3704, allocations: 4 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.3707, allocations: 160.2 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.3716, allocations: 0.5485 MB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3717, allocations: 58.48 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3719, allocations: 32.94 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.3719, allocations: 4 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3719, allocations: 34.56 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3719, allocations: 0 / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004595/0.3724, allocations: 133.4 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.3724, allocations: 55.41 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3727, allocations: 257.9 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3727, allocations: 25.7 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3729, allocations: 167.9 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.3729, allocations: 19.89 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.3729, allocations: 41.66 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3731, allocations: 334.8 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3732, allocations: 35.97 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3734, allocations: 143.8 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.3738, allocations: 180.7 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3738, allocations: 0 / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000409/0.3742, allocations: 209.1 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3742, allocations: 6.344 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.3742, allocations: 12 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3742, allocations: 4 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.3744, allocations: 35.92 kB / 0.5699 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.3744, allocations: 8.422 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.3745, allocations: 31.78 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3745, allocations: 12 kB / 0.57 GB, free: 11.37 MB / 414.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.0001297/0.3747, allocations: 133.7 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.3747, allocations: 19.86 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.3751, allocations: 139.2 kB / 0.5702 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3751, allocations: 0 / 0.5702 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3751, allocations: 0 / 0.5702 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3751, allocations: 4 kB / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.3754, allocations: 196.6 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.3754, allocations: 12.08 kB / 0.5704 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.3754, allocations: 4 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.3754, allocations: 7.969 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3754, allocations: 8 kB / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3754, allocations: 0 / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3754, allocations: 0 / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.3758, allocations: 203.3 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.3758, allocations: 27.78 kB / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3758, allocations: 0 / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.98e-05/0.3759, allocations: 8 kB / 0.5707 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.376, allocations: 7.984 kB / 0.5707 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.376, allocations: 4 kB / 0.5707 GB, free: 10.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.3762, allocations: 185.1 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3762, allocations: 0 / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.3766, allocations: 79.75 kB / 0.5709 GB, free: 10.27 MB / 414.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.0008444/0.3774, allocations: 0.8058 MB / 0.5717 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004442/0.3778, allocations: 160.1 kB / 0.5719 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3778, allocations: 7.938 kB / 0.5719 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.3781, allocations: 107.3 kB / 0.572 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3784, allocations: 20.98 kB / 0.572 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.3816, allocations: 2.378 MB / 0.5743 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3819, allocations: 0.7281 MB / 0.5751 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.382, allocations: 21.41 kB / 0.5751 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.3821, allocations: 63.42 kB / 0.5751 GB, free: 5.734 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3821, allocations: 0 / 0.5751 GB, free: 5.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.4144, allocations: 6.922 MB / 0.5819 GB, free: 14.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.1, allocations: 4.062 kB / 0.5819 GB, free: 14.93 MB / 430.1 MB " [Timeout remaining time 648] (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.000201879 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.256612431257963] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'Nu[1]', 'Nu[2]', 'input_Re.y'] 12.196829746011645 12.211579311 11.83968455 Calling exit ...