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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001336, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2257/0.2257, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002301/0.002301, allocations: 81.56 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1317, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003785/0.1355, allocations: 2.277 MB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.1388, allocations: 2.161 MB / 484.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.139, allocations: 0 / 484.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.1393, allocations: 75.52 kB / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1396, allocations: 103.3 kB / 484.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1407, allocations: 438.3 kB / 485.3 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006202/0.1414, allocations: 0.5172 MB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1415, allocations: 65.05 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.1418, allocations: 182.9 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1421, allocations: 218.8 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.1421, allocations: 20 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.1433, allocations: 0.6864 MB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1434, allocations: 95.47 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.1436, allocations: 214.5 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.1447, allocations: 0.8374 MB / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1447, allocations: 4 kB / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1447, allocations: 4 kB / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1447, allocations: 0 / 488.1 MB, free: 13.23 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001354/0.1461, allocations: 0.8407 MB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1462, allocations: 12.03 kB / 489 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.1463, allocations: 106.6 kB / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.1467, allocations: 88.23 kB / 489.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.1471, allocations: 315.4 kB / 489.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.1472, allocations: 49.67 kB / 489.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.1473, allocations: 59.92 kB / 489.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.1485, allocations: 0.7618 MB / 490.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1485, allocations: 0 / 490.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.1485, allocations: 28 kB / 490.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.1486, allocations: 29.3 kB / 490.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.1496, allocations: 0.5515 MB / 490.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.152, allocations: 1.692 MB / 492.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.1526, allocations: 303.6 kB / 492.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.153, allocations: 146.5 kB / 493.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/0.1531, allocations: 11.92 kB / 493.1 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1531, allocations: 38.5 kB / 493.1 MB, free: 7.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.1531, allocations: 0 / 493.1 MB, free: 7.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001311/0.1544, allocations: 0.4968 MB / 493.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.1545, allocations: 111 kB / 493.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.1553, allocations: 0.6393 MB / 494.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.1553, allocations: 33.7 kB / 494.4 MB, free: 6.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.1556, allocations: 295.3 kB / 494.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.1557, allocations: 74.98 kB / 494.8 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.1558, allocations: 118.2 kB / 494.9 MB, free: 6.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.156, allocations: 362.8 kB / 495.2 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.1565, allocations: 200.9 kB / 495.4 MB, free: 5.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.1571, allocations: 453.4 kB / 495.9 MB, free: 5.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.1583, allocations: 0.677 MB / 496.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1583, allocations: 4 kB / 496.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001391/0.1597, allocations: 0.6883 MB / 497.2 MB, free: 3.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.1597, allocations: 11.94 kB / 497.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.019e-05/0.1598, allocations: 51.98 kB / 497.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.1598, allocations: 12 kB / 497.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.1601, allocations: 71.83 kB / 497.4 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.1602, allocations: 19.92 kB / 497.4 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.1606, allocations: 95.2 kB / 497.5 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.1607, allocations: 39.98 kB / 497.5 MB, free: 3.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002951/0.161, allocations: 257.4 kB / 497.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1611, allocations: 55.28 kB / 497.8 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.1621, allocations: 475.7 kB / 498.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.1622, allocations: 4 kB / 498.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1622, allocations: 0 / 498.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1622, allocations: 0 / 498.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.1628, allocations: 409.3 kB / 498.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.737e-05/0.1629, allocations: 39.94 kB / 498.7 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1631, allocations: 35.91 kB / 498.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-06/0.1631, allocations: 11.92 kB / 498.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.1631, allocations: 12 kB / 498.8 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1631, allocations: 0 / 498.8 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.1631, allocations: 4 kB / 498.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.1641, allocations: 0.6149 MB / 499.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1643, allocations: 132.4 kB / 499.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.1643, allocations: 4 kB / 499.5 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.1646, allocations: 19.97 kB / 499.6 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1648, allocations: 23.92 kB / 499.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.1648, allocations: 27.92 kB / 499.6 MB, free: 1.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005798/0.1654, allocations: 446.7 kB / 0.4883 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1654, allocations: 0 / 0.4883 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008601/0.1662, allocations: 191.8 kB / 0.4885 GB, free: 436 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001787/0.168, allocations: 1.296 MB / 0.4898 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.1693, allocations: 0.7673 MB / 0.4905 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1693, allocations: 0 / 0.4905 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.1699, allocations: 484.7 kB / 0.491 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.1707, allocations: 126.2 kB / 0.4911 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008984/0.1797, allocations: 6.113 MB / 0.4971 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.1803, allocations: 0.8933 MB / 0.498 GB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003753/0.1807, allocations: 132.5 kB / 0.4981 GB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.1809, allocations: 139.4 kB / 0.4982 GB, free: 5.949 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1809, allocations: 4 kB / 0.4982 GB, free: 5.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2334/0.4144, allocations: 15.79 MB / 0.5136 GB, free: 40.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.764, allocations: 6.203 kB / 0.5136 GB, free: 40.93 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)