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_roundTube_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.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.0014/0.0014, 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.001606/0.001606, 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.415/1.415, 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.2302/0.2302, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002989/0.002989, allocations: 71.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3774, allocations: 62.46 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004038/0.3814, allocations: 2.686 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.3839, allocations: 1.472 MB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.3841, allocations: 5.156 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.3846, allocations: 119.2 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.3851, allocations: 127.7 kB / 0.535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.3859, allocations: 266.4 kB / 0.5352 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.3863, allocations: 279.7 kB / 0.5355 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.777e-05/0.3864, allocations: 24.64 kB / 0.5355 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3866, allocations: 93.81 kB / 0.5356 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.3868, allocations: 133.1 kB / 0.5357 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.3868, allocations: 7.844 kB / 0.5357 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.388, allocations: 0.606 MB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.3881, allocations: 43.2 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.3882, allocations: 138.7 kB / 0.5365 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008639/0.3891, allocations: 0.5569 MB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3891, allocations: 4 kB / 0.537 GB, free: 8.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.3891, allocations: 0 / 0.537 GB, free: 8.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3892, allocations: 3.938 kB / 0.537 GB, free: 8.461 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009204/0.3901, allocations: 0.6362 MB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3901, allocations: 13.88 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.233e-05/0.3902, allocations: 74.69 kB / 0.5377 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.3903, allocations: 40.08 kB / 0.5378 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3906, allocations: 252.5 kB / 0.538 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3906, allocations: 23.97 kB / 0.538 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.3907, allocations: 38.97 kB / 0.5381 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/0.3915, allocations: 0.5815 MB / 0.5387 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.3915, allocations: 6.812 kB / 0.5387 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.3916, allocations: 13.94 kB / 0.5387 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.3916, allocations: 12 kB / 0.5387 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.3922, allocations: 338.8 kB / 0.539 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/0.3952, allocations: 4.055 MB / 0.543 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.3955, allocations: 87.22 kB / 0.543 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3956, allocations: 44.8 kB / 0.5431 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3957, allocations: 1.188 kB / 0.5431 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3957, allocations: 31.69 kB / 0.5431 GB, free: 2.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.3957, allocations: 0 / 0.5431 GB, free: 2.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000582/0.3963, allocations: 166.8 kB / 0.5433 GB, free: 2.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.3964, allocations: 52.62 kB / 0.5433 GB, free: 2.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.3969, allocations: 416.5 kB / 0.5437 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3969, allocations: 27.05 kB / 0.5438 GB, free: 2.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.3971, allocations: 258.8 kB / 0.544 GB, free: 1.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.3972, allocations: 28.16 kB / 0.544 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3973, allocations: 74.19 kB / 0.5441 GB, free: 1.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3975, allocations: 350.8 kB / 0.5444 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.3977, allocations: 58.67 kB / 0.5445 GB, free: 1.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.3981, allocations: 267 kB / 0.5447 GB, free: 1.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.3986, allocations: 348.3 kB / 0.5451 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3987, allocations: 6.25 kB / 0.5451 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006518/0.3993, allocations: 355.9 kB / 0.5454 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3994, allocations: 7.812 kB / 0.5454 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.3994, allocations: 7.781 kB / 0.5454 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.3994, allocations: 10.41 kB / 0.5454 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.3999, allocations: 110.7 kB / 0.5456 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009805/0.4009, allocations: 1.221 MB / 0.5467 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.4012, allocations: 72.33 kB / 0.5468 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.4013, allocations: 18.53 kB / 0.5468 GB, free: 15.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.4015, allocations: 155.1 kB / 0.547 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.4015, allocations: 39.33 kB / 0.547 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.402, allocations: 175 kB / 0.5472 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.402, allocations: 1.094 kB / 0.5472 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.402, allocations: 1.094 kB / 0.5472 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.402, allocations: 0 / 0.5472 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.4024, allocations: 279 kB / 0.5475 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4024, allocations: 3.938 kB / 0.5475 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.4027, allocations: 53.28 kB / 0.5475 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4027, allocations: 1.094 kB / 0.5475 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4027, allocations: 6.156 kB / 0.5475 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008636/0.4036, allocations: 1.211 MB / 0.5487 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4036, allocations: 0 / 0.5487 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.4041, allocations: 235.7 kB / 0.5489 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4042, allocations: 118 kB / 0.549 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.4042, allocations: 5.125 kB / 0.549 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.4044, allocations: 11.98 kB / 0.549 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.4045, allocations: 4.156 kB / 0.5491 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4045, allocations: 6.469 kB / 0.5491 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003083/0.4048, allocations: 276.4 kB / 0.5493 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4048, allocations: 4 kB / 0.5493 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007125/0.4055, allocations: 117 kB / 0.5494 GB, free: 13.04 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/0.4068, allocations: 0.8443 MB / 0.5503 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006282/0.4075, allocations: 213 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4075, allocations: 0 / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.4078, allocations: 74.39 kB / 0.5505 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.4083, allocations: 42.02 kB / 0.5506 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.4129, allocations: 3.409 MB / 0.5539 GB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.4133, allocations: 0.7678 MB / 0.5547 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.4135, allocations: 38.89 kB / 0.5547 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.4136, allocations: 99.41 kB / 0.5548 GB, free: 7.723 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4136, allocations: 7.938 kB / 0.5548 GB, free: 7.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.4529, allocations: 10.12 MB / 0.5647 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.66, allocations: 14.38 kB / 0.5647 GB, free: 13.82 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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_roundTube_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1)