Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001845/0.001845, allocations: 117 kB / 18.49 MB, free: 4.566 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.002119/0.002119, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.455/1.455, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 79.88 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1317, allocations: 66.05 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003514/0.1352, allocations: 1.891 MB / 0.558 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1371, allocations: 0.8529 MB / 0.5589 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1372, allocations: 0 / 0.5589 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.1375, allocations: 55.67 kB / 0.5589 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.138, allocations: 83.56 kB / 0.559 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.1383, allocations: 86.45 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.1388, allocations: 258.7 kB / 0.5593 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.1389, allocations: 28.39 kB / 0.5593 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.1392, allocations: 111.4 kB / 0.5595 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.1395, allocations: 127.4 kB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.1395, allocations: 4 kB / 0.5596 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.1398, allocations: 123.8 kB / 0.5597 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.14, allocations: 55.75 kB / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1401, allocations: 111.2 kB / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.1407, allocations: 310.5 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1407, allocations: 4 kB / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1407, allocations: 0 / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1407, allocations: 0 / 0.5602 GB, free: 1.41 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.001127/0.1418, allocations: 0.5572 MB / 0.5607 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.1419, allocations: 8.031 kB / 0.5607 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.282e-05/0.1419, allocations: 8.75 kB / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.001e-05/0.142, allocations: 66.72 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.1421, allocations: 28.75 kB / 0.5608 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.1424, allocations: 246.8 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.1425, allocations: 24.69 kB / 0.5611 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.1425, allocations: 20 kB / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.1433, allocations: 377.2 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1433, allocations: 0 / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.1433, allocations: 12 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.1433, allocations: 24.64 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.144, allocations: 370.3 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1456, allocations: 0.8428 MB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.1461, allocations: 258.2 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.1463, allocations: 90.66 kB / 0.563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.1463, allocations: 7.984 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1464, allocations: 34.55 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.1464, allocations: 7.938 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008329/0.1472, allocations: 325.4 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.1473, allocations: 63.28 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.1477, allocations: 338.9 kB / 0.5637 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1477, allocations: 29.7 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1478, allocations: 172.2 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.1479, allocations: 63.48 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.148, allocations: 57.88 kB / 0.564 GB, free: 13.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1482, allocations: 342.8 kB / 0.5644 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.1484, allocations: 96.38 kB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.1487, allocations: 191.9 kB / 0.5646 GB, free: 12.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.1492, allocations: 304.8 kB / 0.5649 GB, free: 12.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1492, allocations: 0 / 0.5649 GB, free: 12.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007036/0.1499, allocations: 349.2 kB / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.15, allocations: 8.031 kB / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.15, allocations: 4 kB / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-05/0.15, allocations: 4 kB / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.1506, allocations: 119.9 kB / 0.5654 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.1531, allocations: 3.661 MB / 0.569 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1533, allocations: 39.77 kB / 0.569 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.1533, allocations: 19.97 kB / 0.569 GB, free: 7.871 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.0003002/0.1536, allocations: 181.6 kB / 0.5692 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.1537, allocations: 23.81 kB / 0.5692 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/0.1545, allocations: 334.1 kB / 0.5695 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1545, allocations: 0 / 0.5695 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1545, allocations: 4 kB / 0.5695 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1545, allocations: 0 / 0.5695 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.1549, allocations: 301.4 kB / 0.5698 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1549, allocations: 0 / 0.5698 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.1553, allocations: 107.9 kB / 0.5699 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1553, allocations: 4 kB / 0.5699 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.1554, allocations: 11.98 kB / 0.57 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.1577, allocations: 3.645 MB / 0.5735 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1577, allocations: 0 / 0.5735 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.1582, allocations: 355.1 kB / 0.5739 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.1583, allocations: 100.9 kB / 0.5739 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.1584, allocations: 7.938 kB / 0.574 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1585, allocations: 7.984 kB / 0.574 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.1586, allocations: 27.95 kB / 0.574 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1586, allocations: 7.984 kB / 0.574 GB, free: 2.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002615/0.1589, allocations: 241.9 kB / 0.5742 GB, free: 2.309 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1589, allocations: 0 / 0.5742 GB, free: 2.309 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.1593, allocations: 79.92 kB / 0.5743 GB, free: 2.23 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.001032/0.1603, allocations: 0.9208 MB / 0.5752 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009379/0.1612, allocations: 311.7 kB / 0.5755 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1612, allocations: 0 / 0.5755 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.1619, allocations: 179.8 kB / 0.5757 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.1623, allocations: 73.45 kB / 0.5757 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.1668, allocations: 3.372 MB / 0.579 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.1673, allocations: 0.7951 MB / 0.5798 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.1675, allocations: 78.84 kB / 0.5799 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.1676, allocations: 75.41 kB / 0.58 GB, free: 12.24 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1676, allocations: 0 / 0.58 GB, free: 12.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.196, allocations: 8.734 MB / 0.5885 GB, free: 3.758 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.19, allocations: 14.98 kB / 0.5885 GB, free: 3.746 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.563488298968878] 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.342445687041618 12.565267724 12.421752357999999 Calling exit ...