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_turbulent_KC.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.001707/0.001707, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002063/0.002063, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.506/1.506, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.2351/0.2351, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",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.003356/0.003356, allocations: 79.86 kB / 0.4917 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1573, allocations: 66.04 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003755/0.1611, allocations: 1.899 MB / 0.558 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1628, allocations: 0.8412 MB / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.1628, allocations: 4 kB / 0.5589 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1631, allocations: 55.67 kB / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1634, allocations: 91.55 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1637, allocations: 78.98 kB / 0.5591 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.164, allocations: 266.7 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.1641, allocations: 28.41 kB / 0.5594 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1643, allocations: 107.4 kB / 0.5595 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1645, allocations: 123.4 kB / 0.5596 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1645, allocations: 8 kB / 0.5596 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.1648, allocations: 123.8 kB / 0.5597 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1649, allocations: 55.75 kB / 0.5598 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.165, allocations: 107.2 kB / 0.5599 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.1654, allocations: 314.5 kB / 0.5602 GB, free: 1.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1655, allocations: 0 / 0.5602 GB, free: 1.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1655, allocations: 0 / 0.5602 GB, free: 1.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1655, allocations: 0 / 0.5602 GB, free: 1.449 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009474/0.1664, allocations: 0.5611 MB / 0.5607 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.1665, allocations: 8.031 kB / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.77e-05/0.1665, allocations: 70.72 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.1666, allocations: 36.69 kB / 0.5608 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1669, allocations: 238.2 kB / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.1669, allocations: 24.92 kB / 0.5611 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.1669, allocations: 31.92 kB / 0.5611 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.1676, allocations: 369.2 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1676, allocations: 0 / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.1676, allocations: 12 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/0.1677, allocations: 28.69 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.1683, allocations: 374.3 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.1696, allocations: 0.8349 MB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.1701, allocations: 259.7 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.1704, allocations: 92.78 kB / 0.563 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1704, allocations: 7.984 kB / 0.563 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1704, allocations: 38.55 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1704, allocations: 0 / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007921/0.1712, allocations: 334.7 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1713, allocations: 59.34 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.1716, allocations: 338.9 kB / 0.5637 GB, free: 13.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1717, allocations: 25.7 kB / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1718, allocations: 172.2 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.1719, allocations: 59.48 kB / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.172, allocations: 61.92 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1721, allocations: 334.8 kB / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.1724, allocations: 100.3 kB / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.1727, allocations: 191.9 kB / 0.5646 GB, free: 12.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.1732, allocations: 300.5 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1732, allocations: 3.938 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006803/0.1739, allocations: 352.9 kB / 0.5653 GB, free: 11.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1739, allocations: 4 kB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1739, allocations: 4 kB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1739, allocations: 4 kB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.1745, allocations: 123.9 kB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.1768, allocations: 3.657 MB / 0.569 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1771, allocations: 39.77 kB / 0.569 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.1771, allocations: 20.27 kB / 0.569 GB, free: 7.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.1774, allocations: 181.6 kB / 0.5692 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.1774, allocations: 27.81 kB / 0.5692 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.1781, allocations: 325.4 kB / 0.5695 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1782, allocations: 0 / 0.5695 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1782, allocations: 4 kB / 0.5695 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1782, allocations: 0 / 0.5695 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.1785, allocations: 301.4 kB / 0.5698 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1785, allocations: 4 kB / 0.5698 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.179, allocations: 103.9 kB / 0.5699 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.179, allocations: 0 / 0.5699 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.1791, allocations: 15.98 kB / 0.57 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.1813, allocations: 3.649 MB / 0.5735 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1813, allocations: 0 / 0.5735 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.1818, allocations: 355.3 kB / 0.5739 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.301e-05/0.1819, allocations: 104.9 kB / 0.574 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.182, allocations: 7.938 kB / 0.574 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.1821, allocations: 7.984 kB / 0.574 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.1822, allocations: 19.92 kB / 0.574 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1822, allocations: 7.984 kB / 0.574 GB, free: 2.586 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.1825, allocations: 245.9 kB / 0.5742 GB, free: 2.348 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1825, allocations: 0 / 0.5742 GB, free: 2.348 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.1829, allocations: 75.92 kB / 0.5743 GB, free: 2.273 MB / 430.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/0.184, allocations: 0.9218 MB / 0.5752 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009598/0.1849, allocations: 312.3 kB / 0.5755 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1849, allocations: 0 / 0.5755 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000588/0.1855, allocations: 183.8 kB / 0.5757 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.1859, allocations: 68.77 kB / 0.5757 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.1905, allocations: 3.382 MB / 0.579 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.1911, allocations: 0.7951 MB / 0.5798 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.1913, allocations: 78.89 kB / 0.5799 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1915, allocations: 75.41 kB / 0.58 GB, free: 12.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/0.1915, allocations: 0 / 0.58 GB, free: 12.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.2263, allocations: 8.698 MB / 0.5885 GB, free: 3.809 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.17, allocations: 7.875 kB / 0.5885 GB, free: 3.805 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.518974951002747] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'Nu[1]', 'Nu[2]', 'Nu[3]', 'm_flow_1[1]', 'm_flow_1[2]', 'm_flow_1[3]', 'm_flow_2[1]', 'm_flow_2[2]', 'm_flow_2[3]', 'kc[1]', 'kc[2]', 'kc[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Re_2[1]', 'Re_2[2]', 'Re_2[3]', 'input_Nu.y'] 12.264049666002393 12.498703398 12.329013729 Calling exit ...