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.001613/0.001613, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 210.4 kB / 18.58 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2427/0.2427, allocations: 46.11 MB / 344.2 MB, free: 11.6 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.002255/0.002256, allocations: 75 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1172, allocations: 62.46 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.003523/0.1208, allocations: 2.185 MB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.1237, allocations: 1.841 MB / 484.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1238, allocations: 3.938 kB / 484.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1241, allocations: 79.58 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.1245, allocations: 159.2 kB / 484.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.1254, allocations: 338.6 kB / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.1259, allocations: 481.6 kB / 485.3 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.126, allocations: 69.05 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.1263, allocations: 191 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.1266, allocations: 222.9 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.1267, allocations: 8 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009357/0.1276, allocations: 0.6084 MB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1278, allocations: 115.4 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.128, allocations: 198.6 kB / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009415/0.1289, allocations: 0.7789 MB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1289, allocations: 0 / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1289, allocations: 0 / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1289, allocations: 0 / 487.5 MB, free: 13.87 MB / 366.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.001253/0.1302, allocations: 0.8036 MB / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1303, allocations: 12.03 kB / 488.3 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.1304, allocations: 106.7 kB / 488.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.55e-05/0.1305, allocations: 56.22 kB / 488.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.1309, allocations: 315.4 kB / 488.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.1309, allocations: 41.69 kB / 488.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.131, allocations: 55.92 kB / 488.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1321, allocations: 0.7598 MB / 489.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1321, allocations: 0 / 489.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.1322, allocations: 19.98 kB / 489.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-05/0.1323, allocations: 61.27 kB / 489.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.1335, allocations: 0.7975 MB / 490.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.1358, allocations: 1.524 MB / 492 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.1366, allocations: 452.4 kB / 492.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.1369, allocations: 169.1 kB / 492.6 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.1369, allocations: 8.219 kB / 492.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.137, allocations: 38.78 kB / 492.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.137, allocations: 0 / 492.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001127/0.1381, allocations: 0.5404 MB / 493.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.1382, allocations: 63.34 kB / 493.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.1388, allocations: 0.5758 MB / 493.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.1389, allocations: 29.7 kB / 493.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1391, allocations: 283.4 kB / 494.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/0.1392, allocations: 98.55 kB / 494.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.1394, allocations: 134.1 kB / 494.4 MB, free: 6.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1396, allocations: 354.8 kB / 494.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.14, allocations: 200.8 kB / 494.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.1406, allocations: 429.1 kB / 495.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009868/0.1415, allocations: 0.6523 MB / 496 MB, free: 4.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.1416, allocations: 4 kB / 496 MB, free: 4.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001258/0.1428, allocations: 0.68 MB / 496.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1429, allocations: 8 kB / 496.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.1429, allocations: 15.98 kB / 496.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.1429, allocations: 8.109 kB / 496.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.144, allocations: 256.4 kB / 497 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/0.1485, allocations: 7.309 MB / 0.4924 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.149, allocations: 94.89 kB / 0.4925 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.1491, allocations: 35.98 kB / 0.4926 GB, free: 12.19 MB / 382.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.0003692/0.1495, allocations: 265.7 kB / 0.4928 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.1496, allocations: 47.34 kB / 0.4929 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.1508, allocations: 0.5565 MB / 0.4934 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1508, allocations: 0 / 0.4934 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1508, allocations: 4 kB / 0.4934 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1508, allocations: 3.984 kB / 0.4934 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.1514, allocations: 433.1 kB / 0.4938 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.1514, allocations: 4 kB / 0.4938 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/0.1522, allocations: 203.8 kB / 0.494 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.1523, allocations: 4 kB / 0.494 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.1523, allocations: 15.98 kB / 0.4941 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/0.1568, allocations: 7.298 MB / 0.5012 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1569, allocations: 0 / 0.5012 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.1577, allocations: 0.5194 MB / 0.5017 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.1579, allocations: 128.5 kB / 0.5018 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.158, allocations: 7.938 kB / 0.5018 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.1582, allocations: 12 kB / 0.5018 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.1583, allocations: 27.95 kB / 0.5019 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.1584, allocations: 12 kB / 0.5019 GB, free: 2.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005009/0.1589, allocations: 410.8 kB / 0.5023 GB, free: 1.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1589, allocations: 0 / 0.5023 GB, free: 1.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006957/0.1596, allocations: 187.8 kB / 0.5024 GB, free: 1.711 MB / 382.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.001611/0.1612, allocations: 1.153 MB / 0.5036 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1845/0.3458, allocations: 0.6783 MB / 0.5042 GB, free: 43.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.3458, allocations: 0 / 0.5042 GB, free: 43.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.3471, allocations: 349.1 kB / 0.5046 GB, free: 43.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.3479, allocations: 115.6 kB / 0.5047 GB, free: 43.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/0.3566, allocations: 5.836 MB / 0.5104 GB, free: 40.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.3572, allocations: 0.9049 MB / 0.5113 GB, free: 39.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006258/0.3578, allocations: 179.8 kB / 0.5114 GB, free: 39.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.358, allocations: 148.4 kB / 0.5116 GB, free: 39.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3581, allocations: 0 / 0.5116 GB, free: 39.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04507/0.4031, allocations: 16.14 MB / 0.5273 GB, free: 33.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.74, allocations: 1.625 kB / 0.5273 GB, free: 33.71 MB / 382.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)